Test name | Executions per second |
---|---|
floor | 1505432.8 Ops/sec |
~~ | 2610316.2 Ops/sec |
>> 0 | 2597673.2 Ops/sec |
| 0 | 2596442.5 Ops/sec |
<< 0 | 2635265.5 Ops/sec |
& 0xFFFFFFFFFFFF | 2616644.2 Ops/sec |
^ 0x000000000000 | 2655446.5 Ops/sec |
Math.trunc() | 1510836.1 Ops/sec |
x - (x % 1) | 1856706.5 Ops/sec |
parseInt() | 1497098.5 Ops/sec |