Test name | Executions per second |
---|---|
floor | 7288942.0 Ops/sec |
~~ | 13020487.0 Ops/sec |
>> 0 | 13014116.0 Ops/sec |
| 0 | 13089445.0 Ops/sec |
<< 0 | 13007756.0 Ops/sec |
& 0xFFFFFFFFFFFF | 13000007.0 Ops/sec |
^ 0x000000000000 | 13022804.0 Ops/sec |
Math.trunc() | 7290611.0 Ops/sec |
x - (x % 1) | 6806408.0 Ops/sec |
parseInt() | 7417857.0 Ops/sec |