Test name | Executions per second |
---|---|
floor | 7550033.5 Ops/sec |
~~ | 12444488.0 Ops/sec |
>> 0 | 12415273.0 Ops/sec |
| 0 | 12399091.0 Ops/sec |
<< 0 | 12304491.0 Ops/sec |
& 0xFFFFFFFFFFFF | 12418242.0 Ops/sec |
^ 0x000000000000 | 12423027.0 Ops/sec |
Math.trunc() | 7528042.5 Ops/sec |
x - (x % 1) | 6933995.0 Ops/sec |
parseInt() | 6082104.0 Ops/sec |