Sample Flash Player Microbenchmark Tests
| Test |
Description |
Windows |
Mac OS |
| Flash Player 7
| Flash Player 8
| % Change in Performance
| Flash Player 7
| Flash Player 8
| % Change in Performance
|
| ActionScript
|
| Boids |
Run Boids ActionScript only, running 25 fish |
8501 ms |
5611 ms |
51.5% |
12,935 ms |
6789 ms |
90.1% |
| Fibonacci |
Execute Fibonacci equation |
1166 ms |
778 ms |
49.9% |
2987 ms |
1004 ms |
197.5% |
| For Loop 250K |
Loop 250,000 times |
265 ms |
221 ms |
19.9% |
418 ms |
267 ms |
56.6% |
| GCBench |
Create, manipulate, and destroy object trees |
31,988 ms |
25,270 ms |
26.6% |
54,558 ms |
28,933 ms |
88.6% |
| Sieve of Erathostenes |
Make a list of all the integers less than or equal to n (and greater than one); strike out multiples of all primes less than or equal to the square root of n, leaving primes as a result |
761 ms |
514 ms |
48.1% |
1129 ms |
657 ms |
71.8% |
| Animation and Rendering
|
| Gradient Tween |
Motion tween gradients |
17,046 ms |
16,696 ms |
2.1% |
17,345 ms |
17,689 ms |
–1.98% |
| Particle Demo |
Move 20 shapes, with gravity |
13,426 ms |
10,761 ms |
24.8% |
19,242 ms |
16,669 ms |
15.4% |
| Text and Strings
|
| MoveTextField |
Move a large text field across the Stage |
3367 ms |
1189 ms |
183.2% |
2528 ms |
2460 ms |
2.76% |
| Regular Expressions Library |
Run regular expressions |
38,983 ms |
1656 ms |
2254.05% |
31,859 ms |
1587 ms |
1907.5% |
| StringAdd |
Use the += operator to append to a string 10,000 times |
3770 ms |
34 ms |
10988.2% |
3204 ms |
44 ms |
7181.8% |
| StringSplit |
|
243 ms |
114 ms |
113.2% |
646 ms |
167 ms |
286.8% |
‹ Back