| Test name | Executions per second |
|---|---|
| repeated spread -- output = [...output, ...batch] | 3121.4 Ops/sec |
| repeated concat -- output = output.concat(batch) | 9547.4 Ops/sec |
| spread concat -- output = [].concat(...batches) | 314803.5 Ops/sec |
| push spread -- output.push(...batch) | 40061.4 Ops/sec |
| push loop -- for (const v of batch) { output.push(v) } | 45435.4 Ops/sec |
| flat | 13187.9 Ops/sec |