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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Whale/3.24.223.18 Safari/537.36
Browser:
Chrome 120
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
*
992.6M/s
**
989.3M/s
pow
6.3M/s
View exact numbers
Test name
Executions per second
✓
*
992,565,504 Ops/sec
**
989,309,504 Ops/sec
pow
6,255,432 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;