Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 ql66u54b
Firefox 61
Windows
Desktop
5 years ago
Test name Executions per second
Lodash clone 1250579.0 Ops/sec
Lodash cloneDeep 60970.1 Ops/sec
Lodash merge 39677.8 Ops/sec
ES6 spread 2745735.8 Ops/sec
ES6 Object.assign 1670473.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;