Test name | Executions per second |
---|---|
floor | 7616819.5 Ops/sec |
~~ | 14522540.0 Ops/sec |
>> 0 | 14673029.0 Ops/sec |
| 0 | 14436953.0 Ops/sec |
<< 0 | 10524737.0 Ops/sec |
& 0xFFFFFFFFFFFF | 14325742.0 Ops/sec |
^ 0x000000000000 | 14617127.0 Ops/sec |
Math.trunc() | 7888378.0 Ops/sec |
x - (x % 1) | 7628514.5 Ops/sec |
parseInt() | 7983241.0 Ops/sec |