Test name | Executions per second |
---|---|
floor | 1368823.1 Ops/sec |
~~ | 2574937.5 Ops/sec |
>> 0 | 2647485.2 Ops/sec |
| 0 | 2582333.8 Ops/sec |
<< 0 | 2279609.8 Ops/sec |
& 0xFFFFFFFFFFFF | 2510355.0 Ops/sec |
^ 0x000000000000 | 2623262.5 Ops/sec |
Math.trunc() | 1604232.0 Ops/sec |
x - (x % 1) | 1367811.1 Ops/sec |
parseInt() | 1261718.9 Ops/sec |