Test name | Executions per second |
---|---|
floor | 2492883.5 Ops/sec |
~~ | 4512508.5 Ops/sec |
>> 0 | 4501697.5 Ops/sec |
| 0 | 4490111.5 Ops/sec |
<< 0 | 4504441.5 Ops/sec |
& 0xFFFFFFFFFFFF | 4512078.5 Ops/sec |
^ 0x000000000000 | 4457148.5 Ops/sec |
Math.trunc() | 2489820.2 Ops/sec |
x - (x % 1) | 3056032.5 Ops/sec |
parseInt() | 2543454.0 Ops/sec |