Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Firefox 134
Windows
Desktop
10 days ago
Test name Executions per second
Lodash clone 2250812.2 Ops/sec
Lodash cloneDeep 186297.4 Ops/sec
Lodash merge 185015.6 Ops/sec
ES6 spread 10078344.0 Ops/sec
ES6 Object.assign 19377256.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign