Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Chrome 73
Mac OS X 10.13.4
Desktop
5 years ago
Test name Executions per second
Lodash clone 1027966.9 Ops/sec
Lodash cloneDeep 158336.3 Ops/sec
Lodash merge 106358.8 Ops/sec
ES6 spread 11470091.0 Ops/sec
ES6 Object.assign 2908196.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;