Test name | Executions per second |
---|---|
floor | 1698063.5 Ops/sec |
~~ | 2931706.0 Ops/sec |
>> 0 | 2886108.0 Ops/sec |
| 0 | 2984478.8 Ops/sec |
<< 0 | 3060810.5 Ops/sec |
& 0xFFFFFFFFFFFF | 3051173.8 Ops/sec |
^ 0x000000000000 | 2925852.2 Ops/sec |
Math.trunc() | 1589581.8 Ops/sec |
x - (x % 1) | 1940794.4 Ops/sec |
parseInt() | 1568080.0 Ops/sec |