Test name | Executions per second |
---|---|
floor | 6627620.0 Ops/sec |
~~ | 12247231.0 Ops/sec |
>> 0 | 12322781.0 Ops/sec |
| 0 | 12269925.0 Ops/sec |
<< 0 | 12258522.0 Ops/sec |
& 0xFFFFFFFFFFFF | 12297311.0 Ops/sec |
^ 0x000000000000 | 12275138.0 Ops/sec |
Math.trunc() | 6648047.0 Ops/sec |
x - (x % 1) | 6481924.0 Ops/sec |
parseInt() | 6675364.0 Ops/sec |