Test name | Executions per second |
---|---|
floor | 2926461.5 Ops/sec |
~~ | 5283406.5 Ops/sec |
>> 0 | 5276746.5 Ops/sec |
| 0 | 5292582.5 Ops/sec |
<< 0 | 5267779.0 Ops/sec |
& 0xFFFFFFFFFFFF | 5257884.5 Ops/sec |
^ 0x000000000000 | 5276438.0 Ops/sec |
Math.trunc() | 2950997.2 Ops/sec |
x - (x % 1) | 3392598.8 Ops/sec |
parseInt() | 2967682.2 Ops/sec |