| Test case name | Result |
|---|---|
| push spread operator | |
| Lodash concat | |
| Array.prototype.push.apply() | |
| spread operator | |
| Array.prototype.concat | |
| forEach push |
| Test name | Executions per second |
|---|---|
| push spread operator | 184.3 Ops/sec |
| Lodash concat | 269.8 Ops/sec |
| Array.prototype.push.apply() | 317.2 Ops/sec |
| spread operator | 69.7 Ops/sec |
| Array.prototype.concat | 366.7 Ops/sec |
| forEach push | 329.3 Ops/sec |