AS3 vs. JavaScript Performance Test Followup
Today’s article is a followup to an article I wrote in August comparing the performance of AS3 (Flash Player) and JavaScript (various browsers). Since then, two browsers have been updated to new versions and both have claimed speedups in their JavaScript implementations. Today’s article tests those new browser versions to see their speedups in the context of our benchmark: AS3.
Let’s look at an updated version of the performance chart:
We can see from this that both Opera 10 and Chrome 3 have achieved better JavaScript performance. Both improvements are merely incremental though, despite the claims that the Opera camp were making. In fact, the speed order remains the same for the most recent versions: Safari, Firefox, Flash, Chrome, IE, Opera. Still, a trend toward faster JavaScript is a good one and it’s nice to be gone of IE7. For now though, we have three clear performance standouts: Safari, Firefox, and Flash. The others are all at least twice as slow as they are.
Raw data as Open Document Format (ODS) or Excel (XLS) format spreadsheet.
#1 by Kevin Newman on December 17th, 2009 ·
It looks like Safari 4 is on par with AS3, and Chrome 4 isn’t even listed (is that a typo in your wrap up?).
Also, is this comparing typed AS3, to untyped/dynamic JavaScript? What happens if it’s untyped/dynamic Actionscript 3.0 vs. dynamic JavaScript?
#2 by jackson on December 17th, 2009 ·
Looks like I only added Opera 10 to the chart. It was in the spreadsheets, but I hadn’t added Chrome 3 (Chrome 4 was a typo).
I hadn’t considered using untyped AS3. Does anyone code this way? If so, are they interested in performance? I haven’t seen this…
Thanks for pointing out the errors!
#3 by Aaron on January 29th, 2010 ·
No one with one hundredth of a brain codes AS3 untyped except in extremely specific use cases. That comparison would be completely invalid.
#4 by fox on September 12th, 2011 ·
Have a look at this fact here :
http://www.jamesward.com/census2/
#5 by fox on September 12th, 2011 ·
or this:
http://lab.simurai.com/html5/ads/
#6 by fox on September 12th, 2011 ·
and this:
http://www.taterboy.com/blog/2011/02/movethis-another-as3-tweening-animation-engine/
#7 by fox on September 12th, 2011 ·
another:
http://www.taterboy.com/blog/2010/05/flash-vs-html5/
#8 by fox on September 12th, 2011 ·
http://www.youtube.com/watch?v=KHHr3rE19Wg&feature=related
#9 by jackson on September 12th, 2011 ·
OK, that’s enough “Flash vs. HTML5” links. :)