Test name | Executions per second |
---|---|
floor | 1618412.1 Ops/sec |
~~ | 2879357.5 Ops/sec |
>> 0 | 2745168.2 Ops/sec |
| 0 | 2608763.0 Ops/sec |
<< 0 | 2303812.5 Ops/sec |
& 0xFFFFFFFFFFFF | 2142747.8 Ops/sec |
^ 0x000000000000 | 2013456.5 Ops/sec |
Math.trunc() | 1475446.4 Ops/sec |
x - (x % 1) | 2188608.8 Ops/sec |
parseInt() | 1673928.8 Ops/sec |