Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
bitshift vs division
(version: 0)
x >> 1 vs x / 2
Comparing performance of:
bitshift vs division
Created:
one year ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script>let x = Math.random() * 1000000;</script>
Tests:
bitshift
x = x >> 1; console.log(x);
division
x = x / 2; console.log(x);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
bitshift
division
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Comments
Confirm delete:
Do you really want to delete benchmark?