Test name | Executions per second |
---|---|
floor | 1471457.6 Ops/sec |
~~ | 3009705.8 Ops/sec |
>> 0 | 3027329.8 Ops/sec |
| 0 | 2909293.8 Ops/sec |
<< 0 | 3042105.2 Ops/sec |
& 0xFFFFFFFFFFFF | 3041721.8 Ops/sec |
^ 0x000000000000 | 3038118.0 Ops/sec |
Math.trunc() | 1619834.4 Ops/sec |
x - (x % 1) | 1968386.2 Ops/sec |
parseInt() | 1607460.6 Ops/sec |