Test name | Executions per second |
---|---|
floor | 961099.9 Ops/sec |
~~ | 1714926.0 Ops/sec |
>> 0 | 1721811.0 Ops/sec |
| 0 | 1715770.6 Ops/sec |
<< 0 | 1717276.4 Ops/sec |
& 0xFFFFFFFFFFFF | 1714069.2 Ops/sec |
^ 0x000000000000 | 1717616.2 Ops/sec |
Math.trunc() | 967825.8 Ops/sec |
x - (x % 1) | 1175549.4 Ops/sec |
parseInt() | 971588.9 Ops/sec |