Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
Lodash clone 1949866.8 Ops/sec
Lodash cloneDeep 383729.7 Ops/sec
Lodash merge 214063.2 Ops/sec
Lodash assign 1961663.5 Ops/sec
ES6 spread 10555007.0 Ops/sec
ES6 Object assign 3236011.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • Lodash assign

  • ES6 spread

  • ES6 Object assign