Test name | Executions per second |
---|---|
floor | 2864785.2 Ops/sec |
~~ | 4972402.5 Ops/sec |
>> 0 | 4971568.5 Ops/sec |
| 0 | 4951915.0 Ops/sec |
<< 0 | 4709101.5 Ops/sec |
& 0xFFFFFFFFFFFF | 3750942.8 Ops/sec |
^ 0x000000000000 | 3742699.2 Ops/sec |
Math.trunc() | 2147160.0 Ops/sec |
x - (x % 1) | 2290638.0 Ops/sec |
parseInt() | 2164076.5 Ops/sec |