Test name | Executions per second |
---|---|
floor | 5571676.5 Ops/sec |
~~ | 10008968.0 Ops/sec |
>> 0 | 10019738.0 Ops/sec |
| 0 | 9983636.0 Ops/sec |
<< 0 | 9873866.0 Ops/sec |
& 0xFFFFFFFFFFFF | 9950117.0 Ops/sec |
^ 0x000000000000 | 10047536.0 Ops/sec |
Math.trunc() | 5626059.0 Ops/sec |
x - (x % 1) | 6388918.5 Ops/sec |
parseInt() | 5607798.5 Ops/sec |