Array.prototype.concat vs spread operator

Compare the new ES6 spread operator with the traditional concat() method
5 years ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Test name Executions per second
lodash merge 1673866.0 Ops/sec
spread operator 4008919.0 Ops/sec
HTML Preparation code:
Tests:
  • lodash merge

  • spread operator

Open this result on MeasureThat.net