Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Math.pow vs ** vs *
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
Browser:
Firefox 136
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
*
1044.5M/s
**
1028.8M/s
pow
976.4M/s
View exact numbers
Test name
Executions per second
✓
*
1,044,455,616 Ops/sec
**
1,028,762,560 Ops/sec
pow
976,372,416 Ops/sec
Tests:
pow
var tmp = Math.pow(6, 21);
**
var tmp = 6 ** 21;
*
var tmp = 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6;