Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:80.0) Gecko/20100101 Firefox/80.0
Firefox 80
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
Lodash clone 2825902.0 Ops/sec
Lodash cloneDeep 164560.7 Ops/sec
Lodash merge 124144.0 Ops/sec
ES6 spread 5707271.5 Ops/sec
ES6 Object.assign 3600957.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;