Test name | Executions per second |
---|---|
floor | 2697051.8 Ops/sec |
~~ | 5004864.5 Ops/sec |
>> 0 | 5002481.5 Ops/sec |
| 0 | 5006178.0 Ops/sec |
<< 0 | 5006336.0 Ops/sec |
& 0xFFFFFFFFFFFF | 4985880.0 Ops/sec |
^ 0x000000000000 | 5016582.5 Ops/sec |
Math.trunc() | 2715989.5 Ops/sec |
x - (x % 1) | 3419781.5 Ops/sec |
parseInt() | 2654553.8 Ops/sec |