Test name | Executions per second |
---|---|
floor | 1924967.5 Ops/sec |
~~ | 3473244.0 Ops/sec |
>> 0 | 3312575.2 Ops/sec |
| 0 | 3527468.0 Ops/sec |
<< 0 | 3504500.5 Ops/sec |
& 0xFFFFFFFFFFFF | 3551019.5 Ops/sec |
^ 0x000000000000 | 3644182.2 Ops/sec |
Math.trunc() | 1898795.4 Ops/sec |
x - (x % 1) | 2344458.0 Ops/sec |
parseInt() | 1906672.4 Ops/sec |