Test name | Executions per second |
---|---|
floor | 1949900.1 Ops/sec |
~~ | 3553686.8 Ops/sec |
>> 0 | 3533007.0 Ops/sec |
| 0 | 3543433.8 Ops/sec |
<< 0 | 3547109.5 Ops/sec |
& 0xFFFFFFFFFFFF | 3496214.0 Ops/sec |
^ 0x000000000000 | 3425127.8 Ops/sec |
Math.trunc() | 1943329.2 Ops/sec |
x - (x % 1) | 2167155.8 Ops/sec |
parseInt() | 1880901.2 Ops/sec |