Test case name | Result |
---|---|
++i, division and multiplication | |
++i and bit shift | |
i += 2 | |
++i, ++i | |
++i, [++i] | |
[++i], [++i] | |
[i++], [i++] |
Test name | Executions per second |
---|---|
++i, division and multiplication | 10548.7 Ops/sec |
++i and bit shift | 10729.3 Ops/sec |
i += 2 | 10966.3 Ops/sec |
++i, ++i | 10628.6 Ops/sec |
++i, [++i] | 10966.3 Ops/sec |
[++i], [++i] | 10916.4 Ops/sec |
[i++], [i++] | 10755.8 Ops/sec |