Test name | Executions per second |
---|---|
floor | 1490292.2 Ops/sec |
~~ | 2975393.2 Ops/sec |
>> 0 | 3025145.5 Ops/sec |
| 0 | 3094469.5 Ops/sec |
<< 0 | 3087620.8 Ops/sec |
& 0xFFFFFFFFFFFF | 3010141.5 Ops/sec |
^ 0x000000000000 | 3073462.2 Ops/sec |
Math.trunc() | 1521206.1 Ops/sec |
x - (x % 1) | 1792860.6 Ops/sec |
parseInt() | 1543018.6 Ops/sec |