Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Add vs Multiply vs Set vs POW decimal
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Browser:
Firefox 133
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Multiply
1044.7M/s
Set decimal
1020.0M/s
Add
1007.0M/s
Pow
1004.6M/s
View exact numbers
Test name
Executions per second
✓
Multiply
1,044,725,824 Ops/sec
Set decimal
1,020,001,984 Ops/sec
Add
1,007,012,864 Ops/sec
Pow
1,004,638,272 Ops/sec
Tests:
Add
var test1 = 20.1 + 20.1;
Multiply
var test2 = 20.1*20.1;
Set decimal
var test3 = 20.1;
Pow
var test4 = Math.pow(20.1,2);