Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Linux
Desktop
one year ago
Test name Executions per second
Array.prototype.concat 1542307.9 Ops/sec
Lodash concat 906305.7 Ops/sec
Array.prototype.push.apply() 698712.6 Ops/sec
spread operator 2546985.2 Ops/sec
cached for + push 355413.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.prototype.concat

  • Lodash concat

  • Array.prototype.push.apply()

  • spread operator

  • cached for + push


;