Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36
Chrome 98
Linux
Desktop
2 years ago
Test name Executions per second
Lodash clone 1567313.6 Ops/sec
Lodash cloneDeep 249915.8 Ops/sec
Lodash merge 165262.1 Ops/sec
ES6 spread 12757386.0 Ops/sec
ES6 Object.assign 3494332.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;