Test name | Executions per second |
---|---|
floor | 2003807.6 Ops/sec |
~~ | 3390735.2 Ops/sec |
>> 0 | 3367886.5 Ops/sec |
| 0 | 3224377.5 Ops/sec |
<< 0 | 3427296.0 Ops/sec |
& 0xFFFFFFFFFFFF | 3442092.8 Ops/sec |
^ 0x000000000000 | 3425582.2 Ops/sec |
Math.trunc() | 1987351.6 Ops/sec |
x - (x % 1) | 2464718.2 Ops/sec |
parseInt() | 2043684.0 Ops/sec |