Test name | Executions per second |
---|---|
floor | 1737946.4 Ops/sec |
~~ | 3441627.0 Ops/sec |
>> 0 | 3437151.2 Ops/sec |
| 0 | 3418559.2 Ops/sec |
<< 0 | 3448218.2 Ops/sec |
& 0xFFFFFFFFFFFF | 3421469.8 Ops/sec |
^ 0x000000000000 | 3407566.5 Ops/sec |
Math.trunc() | 1769166.4 Ops/sec |
x - (x % 1) | 2395292.0 Ops/sec |
parseInt() | 1795241.5 Ops/sec |