Test name | Executions per second |
---|---|
floor | 2991009.5 Ops/sec |
~~ | 5302728.5 Ops/sec |
>> 0 | 5304182.5 Ops/sec |
| 0 | 5244373.0 Ops/sec |
<< 0 | 5087104.5 Ops/sec |
& 0xFFFFFFFFFFFF | 5315720.0 Ops/sec |
^ 0x000000000000 | 5319486.5 Ops/sec |
Math.trunc() | 2999027.0 Ops/sec |
x - (x % 1) | 3547650.2 Ops/sec |
parseInt() | 3005186.2 Ops/sec |