Run details:
Mozilla/5.0 (Linux; Android 9; ONE A2003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
Lodash clone 256131.3 Ops/sec
Lodash cloneDeep 43447.9 Ops/sec
Lodash merge 20295.9 Ops/sec
ES6 spread 2839745.2 Ops/sec
ES6 Object.assign 719701.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign


;