Test name | Executions per second |
---|---|
floor | 2596527.8 Ops/sec |
~~ | 4865001.0 Ops/sec |
>> 0 | 4845495.5 Ops/sec |
| 0 | 4853794.0 Ops/sec |
<< 0 | 4848140.5 Ops/sec |
& 0xFFFFFFFFFFFF | 4823582.5 Ops/sec |
^ 0x000000000000 | 4849766.0 Ops/sec |
Math.trunc() | 2607492.0 Ops/sec |
x - (x % 1) | 3246174.8 Ops/sec |
parseInt() | 2646757.0 Ops/sec |