Test name | Executions per second |
---|---|
floor | 2775816.5 Ops/sec |
~~ | 5197100.0 Ops/sec |
>> 0 | 5149278.5 Ops/sec |
| 0 | 5161635.5 Ops/sec |
<< 0 | 5130472.5 Ops/sec |
& 0xFFFFFFFFFFFF | 5113333.0 Ops/sec |
^ 0x000000000000 | 5135065.0 Ops/sec |
Math.trunc() | 2698601.0 Ops/sec |
x - (x % 1) | 3075964.5 Ops/sec |
parseInt() | 2696282.0 Ops/sec |