All tests were on the same system (2Ghz AMD Athlon XP2400+ Windows XP 1.5Gb RAM)
All times are in milliseconds
All tests were repeated multiple times on different days (after reboots) and on different systems to ensure that the results were consistent, but variation is inevitable. Try the tests on your own system.. and please report problems..
Flash tests (FP7,8,and 8.5) were loaded in IE6
Flash Players used: 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206
* indicates first run / second run of the same function
Run the Java version (prepared by Bill Riemers) of the test here (note.. it takes roughly 70 seconds for the applet to load the first time on my system. Results shown above are from reloading the page) The detailed result from running his benchmark on my system is here (yep.. I rounded some numbers.. we’re comparing 4649ms vs 6ms here)
Note that I did not run these test in the “stand alone” Flash Player. They’re run in the browser because that’s where almost all of my Flash code is executed. However, I’ve found in the past that code generally executes faster in the stand alone player.
2. Flash implementation other JS tests were based (sometimes loosely) on some of these
FLAs/SWFs (ActionScript 2)
MXML (original) * note that my MXML is quite crappy because I hadn’t even started learning ActionScript3 when I put this together..
MXML by Brian Deitte (strict typing made huge improvements over my original code)
MXML by Ted Patrick (note that all tests are run sequentially without unloading the SWF.. results vary greatly when I test multiple times)
Java by Bill Riemers