Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Chrome 81
Linux
Desktop
4 years ago
Test name Executions per second
Array.prototype.concat 1684628.2 Ops/sec
Lodash concat 521729.2 Ops/sec
Array.prototype.push.apply() 1040878.4 Ops/sec
spread operator 1905485.2 Ops/sec
cached for + push 328475.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.prototype.concat

  • Lodash concat

  • Array.prototype.push.apply()

  • spread operator

  • cached for + push


;