Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4407.0 Safari/537.36 Edg/90.0.789.1
Chrome 90
Mac OS X 10.14.6
Desktop
3 years ago
Test name Executions per second
Array.prototype.concat 7224790.0 Ops/sec
spread operator 36118188.0 Ops/sec
Push 28032054.0 Ops/sec
Splice 10946598.0 Ops/sec
Tests:
  • Array.prototype.concat

  • spread operator

  • Push

  • Splice