Java Factorial Benchmark - Timings (in seconds)
| N! where N = |
1000000 |
2000000 |
4000000 |
8000000 |
16000000 |
32000000 |
| ParallelSwing |
5,1 |
8,9 |
19,8 |
40,4 |
81,5 |
158,8 |
| PrimeSwing |
2,0 |
4,3 |
9,6 |
19,2 |
39,0 |
80,2 |
Java Factorial Benchmark - Ranking (relative to 'PrimeSwing')
| N! where N = |
1000000 |
2000000 |
4000000 |
8000000 |
16000000 |
32000000 |
| ParallelSwing |
2,6 |
2,1 |
2,1 |
2,1 |
2,1 |
2,0 |
| PrimeSwing |
1,0 |
1,0 |
1,0 |
1,0 |
1,0 |
1,0 |
Timing: Red = first, blue = second.
Ranking: The smaller the value the better.
Values p <= 1 (red) indicate excellent performance,
values p <= 2 (blue) indicate good performance.