node | memory | cpu |
v0.11.13 | 8.59 GB | Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz |
Array#concat | 253,929 ops/sec ±12.06% (25 runs sampled) |
Array#push with loop | 209,127 ops/sec ±12.52% (29 runs sampled) |
Array#push with loop while | 257,280 ops/sec ±9.73% (33 runs sampled) |
Array#push with loop while 2 | 304,581 ops/sec ±7.95% (38 runs sampled) |
Notes:
- Fastest is Array#push with loop while 2
node | memory | cpu |
v0.10.31 | 8.59 GB | Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz |
Array#concat | 713,852 ops/sec ±11.92% (24 runs sampled) |
Array#push with loop | 415,830 ops/sec ±17.60% (31 runs sampled) |
Array#push with loop while | 515,032 ops/sec ±16.87% (38 runs sampled) |
Array#push with loop while 2 | 382,402 ops/sec ±14.92% (44 runs sampled) |
Notes:
- Fastest is Array#concat,Array#push with loop while