Test name | Executions per second |
---|---|
floor | 2057634.4 Ops/sec |
~~ | 3685239.2 Ops/sec |
>> 0 | 3679724.0 Ops/sec |
| 0 | 3658277.5 Ops/sec |
<< 0 | 3691791.0 Ops/sec |
& 0xFFFFFFFFFFFF | 3674261.5 Ops/sec |
^ 0x000000000000 | 3715175.5 Ops/sec |
Math.trunc() | 2075225.2 Ops/sec |
x - (x % 1) | 2487390.5 Ops/sec |
parseInt() | 1923595.5 Ops/sec |