Test name | Executions per second |
---|---|
Using Array.prototype.concat | 8082686.5 Ops/sec |
Using Array.prototype.push.apply | 5358086.5 Ops/sec |
Using arr1.push.apply | 23347886.0 Ops/sec |
Using push with spread operator | 23677402.0 Ops/sec |
Using spread operator to create new array | 23460336.0 Ops/sec |