Test name | Executions per second |
---|---|
floor | 3653571.5 Ops/sec |
~~ | 6325711.0 Ops/sec |
>> 0 | 6262640.0 Ops/sec |
| 0 | 6337195.0 Ops/sec |
<< 0 | 6304049.5 Ops/sec |
& 0xFFFFFFFFFFFF | 6107821.5 Ops/sec |
^ 0x000000000000 | 6539630.0 Ops/sec |
Math.trunc() | 3537060.5 Ops/sec |
x - (x % 1) | 4289974.0 Ops/sec |
parseInt() | 3552800.2 Ops/sec |