Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
pow vs exponentiation
Math.pow vs **
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Browser:
Firefox 113
Operating system:
Ubuntu
Device Platform:
Desktop
Date tested:
one year ago
exponentiation
515.5M/s
Explicit multiply
503.7M/s
Math.pow
489.0M/s
View exact numbers
Test name
Executions per second
✓
exponentiation
515,511,424 Ops/sec
Explicit multiply
503,705,472 Ops/sec
Math.pow
489,035,808 Ops/sec
Tests:
Math.pow
x = Math.pow(71,3)
exponentiation
y = 71 ** 3
Explicit multiply
z = 71 * 71 * 71