Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36
Chrome 78
Windows 7
Desktop
5 years ago
Test name Executions per second
Lodash clone 512610.0 Ops/sec
Lodash cloneDeep 86658.5 Ops/sec
Lodash merge 50252.5 Ops/sec
ES6 spread 3963056.8 Ops/sec
ES6 Object.assign 1338284.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;