Test name | Executions per second |
---|---|
floor | 435465440.0 Ops/sec |
~~ | 435942528.0 Ops/sec |
>> 0 | 436431680.0 Ops/sec |
| 0 | 435127232.0 Ops/sec |
<< 0 | 436292000.0 Ops/sec |
& 0xFFFFFFFFFFFF | 436212800.0 Ops/sec |
^ 0x000000000000 | 436110368.0 Ops/sec |
Math.trunc() | 435903808.0 Ops/sec |
x - (x % 1) | 462465696.0 Ops/sec |
parseInt() | 434425376.0 Ops/sec |