Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/87.0.4280.144 Safari/537.36
Chrome 87
Linux
Desktop
2 years ago
Test name Executions per second
Lodash clone 1405591.5 Ops/sec
Lodash cloneDeep 248539.3 Ops/sec
Lodash merge 138375.6 Ops/sec
ES6 spread 11092346.0 Ops/sec
ES6 Object.assign 3239727.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;