Test case name | Result |
---|---|
Using the pow7() function | |
Using the ** operator | |
Using Math.pow() | |
Multiplying seven times | |
Using the pow27() function | |
Using the pow37() function | |
Using the powMult7() function |
Test name | Executions per second |
---|---|
Using the pow7() function | 2514669.2 Ops/sec |
Using the ** operator | 3747434.0 Ops/sec |
Using Math.pow() | 2012362.9 Ops/sec |
Multiplying seven times | 1079200.8 Ops/sec |
Using the pow27() function | 2612873.0 Ops/sec |
Using the pow37() function | 2591672.2 Ops/sec |
Using the powMult7() function | 2625747.2 Ops/sec |