Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Mobile/15E148 Safari/604.1
Mobile Safari 15
iOS 15.6.1
Mobile
2 years ago
Test name Executions per second
Lodash clone 2830871.5 Ops/sec
Lodash cloneDeep 287010.1 Ops/sec
Lodash merge 202064.9 Ops/sec
ES6 spread 6890211.0 Ops/sec
ES6 Object.assign 5075863.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;