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 (X11; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0
Browser:
Firefox 145
Operating system:
Linux
Device Platform:
Desktop
Date tested:
9 months ago
Divide by 2
2683.2M/s
Right bit shift
2634.5M/s
View exact numbers
Test name
Executions per second
✓
Divide by 2
2,683,151,360 Ops/sec
Right bit shift
2,634,488,576 Ops/sec
Tests:
Right bit shift
const x = 64 x >> 1
Divide by 2
const x = 64 x/2