Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3829.0 Safari/537.36 Edg/77.0.197.1
Chrome 77
Mac OS X 10.14.5
Desktop
5 years ago
Test name Executions per second
Array.prototype.concat 1252031.6 Ops/sec
Lodash concat 756814.2 Ops/sec
Array spread 9032213.0 Ops/sec
HTML Preparation code:
Tests:
  • Array.prototype.concat

  • Lodash concat

  • Array spread