Java Factorial Benchmark - Timings (in seconds)
| N! where N = |
1000000 |
2000000 |
4000000 |
| ParallelPrimeSwing |
2,5 |
3,2 |
6,8 |
| ParallelPrimeSplit |
1,8 |
3,3 |
7,0 |
| ParallelSwing |
4,1 |
9,1 |
19,0 |
| ParallelSplit |
4,0 |
7,8 |
17,7 |
| PrimeSwing |
1,9 |
4,4 |
9,4 |
Java Factorial Benchmark - Ranking (relative to 'PrimeSwing')
| N! where N = |
1000000 |
2000000 |
4000000 |
| ParallelPrimeSwing |
1,3 |
0,7 |
0,7 |
| ParallelPrimeSplit |
0,9 |
0,7 |
0,7 |
| ParallelSwing |
2,2 |
2,1 |
2,0 |
| ParallelSplit |
2,1 |
1,8 |
1,9 |
| PrimeSwing |
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.