Test name | Executions per second |
---|---|
floor | 1160046.0 Ops/sec |
~~ | 2250038.0 Ops/sec |
>> 0 | 2254906.0 Ops/sec |
| 0 | 2248198.0 Ops/sec |
<< 0 | 2240710.8 Ops/sec |
& 0xFFFFFFFFFFFF | 2242604.8 Ops/sec |
^ 0x000000000000 | 2254763.8 Ops/sec |
Math.trunc() | 1167377.1 Ops/sec |
x - (x % 1) | 1555555.1 Ops/sec |
parseInt() | 1181796.8 Ops/sec |