Test name | Executions per second |
---|---|
floor | 2087684.1 Ops/sec |
~~ | 3480172.8 Ops/sec |
>> 0 | 3483944.5 Ops/sec |
| 0 | 3495085.8 Ops/sec |
<< 0 | 3510417.5 Ops/sec |
& 0xFFFFFFFFFFFF | 3491763.5 Ops/sec |
^ 0x000000000000 | 3487381.8 Ops/sec |
Math.trunc() | 2092043.0 Ops/sec |
x - (x % 1) | 2456542.5 Ops/sec |
parseInt() | 2096953.8 Ops/sec |