Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Math.pow vs Exponentiation vs Multiplication 2
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/134.0.0.0 Safari/537.36
Browser:
Chrome 134
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Multiplication
93.2M/s
Math.pow
93.0M/s
Exponentiation
89.4M/s
View exact numbers
Test name
Executions per second
✓
Multiplication
93,220,856 Ops/sec
Math.pow
93,030,704 Ops/sec
Exponentiation
89,446,424 Ops/sec
Script Preparation code:
var n = 20;
Tests:
Math.pow
var x = Math.pow(n, n);
Exponentiation
var y = n ** n;
Multiplication
var y = n * n * n * n * n * n * n * n * n * n * n * n * n * n * n * n * n * n * n * n;