Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Chrome 92
Linux
Desktop
3 years ago
Test name Executions per second
Lodash clone 736697.9 Ops/sec
Lodash cloneDeep 127248.8 Ops/sec
Lodash merge 83035.8 Ops/sec
ES6 spread 6304040.5 Ops/sec
ES6 Object.assign 1718426.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;