Test name | Executions per second |
---|---|
floor | 2593846.5 Ops/sec |
~~ | 4461636.0 Ops/sec |
>> 0 | 4689982.5 Ops/sec |
| 0 | 4707249.0 Ops/sec |
<< 0 | 4697726.5 Ops/sec |
& 0xFFFFFFFFFFFF | 4690409.5 Ops/sec |
^ 0x000000000000 | 4681866.0 Ops/sec |
Math.trunc() | 2639175.0 Ops/sec |
x - (x % 1) | 3220665.2 Ops/sec |
parseInt() | 2602676.5 Ops/sec |