Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Windows
Desktop
one year ago
Test name Executions per second
Lodash clone 1587088.9 Ops/sec
Lodash cloneDeep 120966.0 Ops/sec
Lodash merge 115138.3 Ops/sec
ES6 spread 6358126.0 Ops/sec
ES6 Object.assign 10757545.0 Ops/sec
Stringify 341302.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign

  • Stringify