Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Math.floor vs |0
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0
Browser:
Opera 116
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Math.floor
160.5M/s
|0
155.7M/s
View exact numbers
Test name
Executions per second
✓
Math.floor
160,544,000 Ops/sec
|0
155,732,432 Ops/sec
Tests:
Math.floor
var a = Math.floor(2+5.5);
|0
var a = (2+5.5)|0;