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 1080836.4 Ops/sec
Lodash cloneDeep 126807.3 Ops/sec
Lodash merge 117820.9 Ops/sec
ES6 spread 7312047.0 Ops/sec
ES6 Object.assign 11800867.0 Ops/sec
Stringify 353267.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign

  • Stringify