Test name | Executions per second |
---|---|
floor | 2336646.8 Ops/sec |
~~ | 4011567.5 Ops/sec |
>> 0 | 3883890.8 Ops/sec |
| 0 | 3585350.8 Ops/sec |
<< 0 | 3716263.5 Ops/sec |
& 0xFFFFFFFFFFFF | 3736386.8 Ops/sec |
^ 0x000000000000 | 3633576.0 Ops/sec |
Math.trunc() | 2538345.8 Ops/sec |
x - (x % 1) | 2634762.0 Ops/sec |
parseInt() | 2371149.0 Ops/sec |