Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
confronto bit
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Browser:
Chrome 126
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
2 years ago
binary
86.1M/s
decimal
85.9M/s
View exact numbers
Test name
Executions per second
✓
binary
86,099,912 Ops/sec
decimal
85,936,672 Ops/sec
Script Preparation code:
const bit1 = 0b00000001; const bit2 = 0b00000010; const bit3 = 0b00000100; const bit4 = 1; const bit5 = 2; const bit6 = 4; const result = 3;
Tests:
binary
const result = 3; const bit1 = 0b00000001; result & bit1 ? 1 : 0;
decimal
const result = 3; const bit4 = 1; result & bit4 ? 1 : 0;