Test name | Executions per second |
---|---|
floor | 2585445.8 Ops/sec |
~~ | 4824398.0 Ops/sec |
>> 0 | 4751072.5 Ops/sec |
| 0 | 4858639.0 Ops/sec |
<< 0 | 4747525.0 Ops/sec |
& 0xFFFFFFFFFFFF | 4325964.5 Ops/sec |
^ 0x000000000000 | 4052137.0 Ops/sec |
Math.trunc() | 2222748.5 Ops/sec |
x - (x % 1) | 2349359.8 Ops/sec |
parseInt() | 2130897.0 Ops/sec |