Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Windows
Desktop
11 months ago
Test name Executions per second
Lodash clone 1204132.2 Ops/sec
Lodash cloneDeep 190658.1 Ops/sec
Lodash merge 123702.7 Ops/sec
ES6 spread 8478019.0 Ops/sec
ES6 Object.assign 2815722.2 Ops/sec
Stringify 329069.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign

  • Stringify