Test name | Executions per second |
---|---|
floor | 3604173.8 Ops/sec |
~~ | 6698388.5 Ops/sec |
>> 0 | 6523613.0 Ops/sec |
| 0 | 6315536.0 Ops/sec |
<< 0 | 6735773.0 Ops/sec |
& 0xFFFFFFFFFFFF | 6730378.5 Ops/sec |
^ 0x000000000000 | 6728061.5 Ops/sec |
Math.trunc() | 3592433.0 Ops/sec |
x - (x % 1) | 4568535.0 Ops/sec |
parseInt() | 3607880.8 Ops/sec |