node | memory | cpu |
v0.10.29 | 8.59 GB | Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz |
i++ | 20,868,709 ops/sec ±14.02% (30 runs sampled) |
++i | 20,929,474 ops/sec ±12.83% (33 runs sampled) |
i += 1 | 20,366,175 ops/sec ±11.44% (42 runs sampled) |
inc fn | 26,803,508 ops/sec ±8.38% (49 runs sampled) |
Notes:
- Fastest is inc fn
node | memory | cpu |
v0.10.30 | 519 MB | QEMU Virtual CPU version 1.0 |
i++ | 1,904,888 ops/sec ±3.56% (26 runs sampled) |
++i | 1,629,367 ops/sec ±6.85% (12 runs sampled) |
i += 1 | 2,827,249 ops/sec ±8.75% (16 runs sampled) |
inc fn | 2,697,299 ops/sec ±3.37% (67 runs sampled) |
Notes:
- Fastest is inc fn,i += 1
node | memory | cpu |
v0.10.29 | 8.30 GB | Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz |
i++ | 18,522,277 ops/sec ±15.51% (30 runs sampled) |
++i | 15,313,991 ops/sec ±14.59% (24 runs sampled) |
i += 1 | 17,591,426 ops/sec ±14.98% (35 runs sampled) |
inc fn | 22,979,097 ops/sec ±14.12% (38 runs sampled) |
Notes:
- Fastest is inc fn
node | memory | cpu |
v0.11.13 | 4.29 GB | Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz |
i++ | 29,668,760 ops/sec ±9.66% (39 runs sampled) |
++i | 30,506,819 ops/sec ±9.79% (46 runs sampled) |
i += 1 | 39,480,089 ops/sec ±7.53% (53 runs sampled) |
inc fn | 42,329,773 ops/sec ±5.20% (55 runs sampled) |
Notes:
- Fastest is inc fn,i += 1
node | memory | cpu |
v0.11.13 | 8.59 GB | Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz |
i++ | 19,425,753 ops/sec ±13.35% (28 runs sampled) |
++i | 18,682,185 ops/sec ±11.85% (26 runs sampled) |
i += 1 | 20,513,025 ops/sec ±5.89% (33 runs sampled) |
inc fn | 27,783,804 ops/sec ±7.23% (35 runs sampled) |
Notes:
- Fastest is inc fn
node | memory | cpu |
v0.10.31 | 8.59 GB | Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz |
i++ | 19,639,300 ops/sec ±18.07% (26 runs sampled) |
++i | 15,509,979 ops/sec ±14.09% (25 runs sampled) |
i += 1 | 22,433,454 ops/sec ±18.36% (36 runs sampled) |
inc fn | 28,191,250 ops/sec ±14.92% (43 runs sampled) |
Notes:
- Fastest is inc fn,i += 1