Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
Lodash clone 827219.3 Ops/sec
Lodash cloneDeep 139839.5 Ops/sec
Lodash merge 96340.5 Ops/sec
ES6 spread 6653017.5 Ops/sec
ES6 Object.assign 1222182.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;