Flash vs JavaScript, V8 Benchmark Suite
iq 12 (which is noteworthy, this is a studio that is professionally engaged in development using Flash) ported to the Flash V8 Benchmark Suite - a set of tests designed to determine the speed of JavaScript execution in different environments. The main purpose of this was to compare the execution speed of Flash vs JavaScript (computing, but not rendering). And, in the end, they got very interesting results - over the past two years, all popular JavaScript engines outperformed Flash in terms of computational speed:
The authors of the comparison note the following points:
In the source you can see different tests, details of porting Google V8 Benchmark to ActionScript3, used Flash compilers and other interesting information:
IMHO, JavaScript optimizations are moving leaps and bounds. What is now very easy to do on JS just three years ago seemed an unattainable dream. Such an outcome is the result of intense competition and, I am sure, vendors will not stop there. Soon it will be possible to see very powerful applications and games. And not only on the desktop, because JavaScript optimization for mobile phones is just around the corner.
The authors of the comparison note the following points:
- AS3 did not show much improvement in performance compared to when it appeared. The authors are sure that there is much to optimize and Alchemy proves it
- Regulars in Flash Player are as terrible as in IE6
- Overall AS3 performance doubled when comparing FP9 and FP10.3
- Even though there is no strict typing in JavaScript, all browsers are already significantly ahead of Flash in terms of execution speed:
- Chrome 1.0+ (01/2008)
- Safari 3.1+ (03/2008)
- Opera 10.5+ (03/2010)
- Firefox 4.0+ (03/2011)
- IE 9.0+ (03/2011)
- Some browsers are so good that they leave Flash far behind:
- Chrome 10.0+ (03/2011).
- Opera 11.50 (Swordfish) Beta
- Firefox 5.0 beta
In the source you can see different tests, details of porting Google V8 Benchmark to ActionScript3, used Flash compilers and other interesting information:
Read more ⇒
IMHO, JavaScript optimizations are moving leaps and bounds. What is now very easy to do on JS just three years ago seemed an unattainable dream. Such an outcome is the result of intense competition and, I am sure, vendors will not stop there. Soon it will be possible to see very powerful applications and games. And not only on the desktop, because JavaScript optimization for mobile phones is just around the corner.