Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Chrome 75
Windows
Desktop
5 years ago
Test name Executions per second
Lodash clone 768555.2 Ops/sec
Lodash cloneDeep 132418.9 Ops/sec
Lodash merge 88220.8 Ops/sec
ES6 spread 6095442.5 Ops/sec
ES6 Object.assign 1915023.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;