Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36
Chrome 103
Linux
Desktop
2 years ago
Test name Executions per second
Lodash clone 966574.2 Ops/sec
Lodash cloneDeep 176891.3 Ops/sec
Lodash merge 132865.5 Ops/sec
Lodash assign 1003787.5 Ops/sec
ES6 spread 6605555.0 Ops/sec
ES6 Object assign 1981054.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • Lodash assign

  • ES6 spread

  • ES6 Object assign


;