Test name | Executions per second |
---|---|
floor | 6851585.5 Ops/sec |
~~ | 7057380.5 Ops/sec |
>> 0 | 7010769.0 Ops/sec |
| 0 | 6971794.0 Ops/sec |
<< 0 | 7044217.5 Ops/sec |
& 0xFFFFFFFFFFFF | 7060386.5 Ops/sec |
^ 0x000000000000 | 7054988.5 Ops/sec |
Math.trunc() | 6852622.0 Ops/sec |
x - (x % 1) | 6594937.5 Ops/sec |
parseInt() | 6912616.5 Ops/sec |