Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Integer division test
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Browser:
Firefox 133
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
bitwiseOr
939.5M/s
doubleNot
893.3M/s
trunc
397.5M/s
floor
293.6M/s
View exact numbers
Test name
Executions per second
✓
bitwiseOr
939,546,688 Ops/sec
doubleNot
893,266,496 Ops/sec
trunc
397,522,752 Ops/sec
floor
293,627,904 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
function floor(a,b) { return Math.floor(a/b); } function trunc(a,b) { return Math.trunc(a/b); } function bitwiseOr(a,b){ return (a/b) | 0; } function doubleNot(a,b){ return ~~(a/b); }
Tests:
floor
floor(10,3)
trunc
trunc(10,3)
bitwiseOr
bitwiseOr(10,3)
doubleNot
doubleNot(10,3)