Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Right bit shift vs divide by 2
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
Browser:
Safari 13
Operating system:
Mac OS X 10.15.4
Device Platform:
Desktop
Date tested:
one year ago
Divide by 2
23.1M/s
Right bit shift
22.4M/s
View exact numbers
Test name
Executions per second
✓
Divide by 2
23,065,496 Ops/sec
Right bit shift
22,376,174 Ops/sec
Tests:
Right bit shift
const x = 64 x >> 1
Divide by 2
const x = 64 x/2