Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124
Linux
Desktop
8 months ago
Test name Executions per second
Lodash clone 1301122.9 Ops/sec
Lodash cloneDeep 203163.7 Ops/sec
Lodash merge 127884.8 Ops/sec
ES6 spread 9458707.0 Ops/sec
ES6 Object.assign 3201332.5 Ops/sec
Stringify 423298.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign

  • Stringify