Test name | Executions per second |
---|---|
floor | 2781481.2 Ops/sec |
~~ | 5836322.0 Ops/sec |
>> 0 | 5829568.0 Ops/sec |
| 0 | 5832578.0 Ops/sec |
<< 0 | 5900570.0 Ops/sec |
& 0xFFFFFFFFFFFF | 5858195.5 Ops/sec |
^ 0x000000000000 | 5833935.5 Ops/sec |
Math.trunc() | 2756618.5 Ops/sec |
x - (x % 1) | 3973631.2 Ops/sec |
parseInt() | 2811660.5 Ops/sec |