Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
floor vs bitwise
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/136.0.0.0 Safari/537.36
Browser:
Chrome 136
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Bitwise
16.1M/s
Floor
7.8M/s
View exact numbers
Test name
Executions per second
✓
Bitwise
16,116,976 Ops/sec
Floor
7,801,073 Ops/sec
Script Preparation code:
date = Date.now( ) / 1000
Tests:
Bitwise
y = date >> 8 & 255
Floor
y = date % 256; date = Math.floor( date / 256 )