Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
power of two vs shift left then unsigned shift right
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Goanna/6.7 Firefox/128.0 PaleMoon/33.8.1.2
Browser:
Pale Moon (Firefox Variant) 33
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
shift left then unsigned shift right
2407.3M/s
power of two
2233.8M/s
View exact numbers
Test name
Executions per second
✓
shift left then unsigned shift right
2,407,296,768 Ops/sec
power of two
2,233,788,160 Ops/sec
Tests:
power of two
return 2**31
shift left then unsigned shift right
return 1<<31>>>0