Test name | Executions per second |
---|---|
floor | 3293631.5 Ops/sec |
~~ | 5984225.5 Ops/sec |
>> 0 | 6059007.0 Ops/sec |
| 0 | 6060491.5 Ops/sec |
<< 0 | 6025886.0 Ops/sec |
& 0xFFFFFFFFFFFF | 6043600.5 Ops/sec |
^ 0x000000000000 | 6088135.5 Ops/sec |
Math.trunc() | 3283346.0 Ops/sec |
x - (x % 1) | 4131906.2 Ops/sec |
parseInt() | 3265681.0 Ops/sec |