Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
Lodash clone 1760797.2 Ops/sec
Lodash cloneDeep 127197.4 Ops/sec
Lodash merge 101155.0 Ops/sec
ES6 spread 6602593.0 Ops/sec
ES6 Object.assign 4200000.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;