Test name | Executions per second |
---|---|
floor | 1461666.2 Ops/sec |
~~ | 2824407.0 Ops/sec |
>> 0 | 2803482.0 Ops/sec |
| 0 | 2822716.5 Ops/sec |
<< 0 | 2810771.8 Ops/sec |
& 0xFFFFFFFFFFFF | 2814759.2 Ops/sec |
^ 0x000000000000 | 2797155.0 Ops/sec |
Math.trunc() | 1467380.2 Ops/sec |
x - (x % 1) | 1704825.4 Ops/sec |
parseInt() | 1462973.1 Ops/sec |