Test name | Executions per second |
---|---|
floor | 7472093.0 Ops/sec |
~~ | 13009965.0 Ops/sec |
>> 0 | 13047851.0 Ops/sec |
| 0 | 12975317.0 Ops/sec |
<< 0 | 12957358.0 Ops/sec |
& 0xFFFFFFFFFFFF | 12703684.0 Ops/sec |
^ 0x000000000000 | 13034483.0 Ops/sec |
Math.trunc() | 7259132.5 Ops/sec |
x - (x % 1) | 8146399.5 Ops/sec |
parseInt() | 7544253.0 Ops/sec |