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
Test name
Executions per second
floor
293627904.0 Ops/sec
trunc
397522752.0 Ops/sec
bitwiseOr
939546688.0 Ops/sec
doubleNot
893266496.0 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)