Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Math.pow vs ** vs sqrt
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/118.0.5993.731 YaBrowser/23.11.1.731 Yowser/2.5 Safari/537.36
Browser:
Yandex Browser 23
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
pow
2320650.8 Ops/sec
**
4433489.5 Ops/sec
sqrt
2323594.5 Ops/sec
Tests:
pow
var tmp = Math.pow(Math.random(), 0.5);
**
var tmp = Math.random() ** 0.5;
sqrt
var tmp = Math.sqrt(Math.random());