Test name | Executions per second |
---|---|
floor | 2195282.0 Ops/sec |
~~ | 3941415.5 Ops/sec |
>> 0 | 4038055.5 Ops/sec |
| 0 | 4105172.0 Ops/sec |
<< 0 | 4150879.0 Ops/sec |
& 0xFFFFFFFFFFFF | 4329219.0 Ops/sec |
^ 0x000000000000 | 4119402.2 Ops/sec |
Math.trunc() | 2379358.2 Ops/sec |
x - (x % 1) | 2759752.0 Ops/sec |
parseInt() | 2287887.0 Ops/sec |