Test name | Executions per second |
---|---|
floor | 2061537.9 Ops/sec |
~~ | 3473940.5 Ops/sec |
>> 0 | 3490224.5 Ops/sec |
| 0 | 3480388.5 Ops/sec |
<< 0 | 3471241.2 Ops/sec |
& 0xFFFFFFFFFFFF | 3457381.2 Ops/sec |
^ 0x000000000000 | 3506765.0 Ops/sec |
Math.trunc() | 2088087.4 Ops/sec |
x - (x % 1) | 2482571.8 Ops/sec |
parseInt() | 2078274.2 Ops/sec |