Test name | Executions per second |
---|---|
floor | 10540791.0 Ops/sec |
~~ | 10427872.0 Ops/sec |
>> 0 | 10430640.0 Ops/sec |
| 0 | 10509683.0 Ops/sec |
<< 0 | 10454806.0 Ops/sec |
& 0xFFFFFFFFFFFF | 10567429.0 Ops/sec |
^ 0x000000000000 | 10559267.0 Ops/sec |
Math.trunc() | 10349791.0 Ops/sec |
x - (x % 1) | 9902300.0 Ops/sec |
parseInt() | 10324364.0 Ops/sec |