Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
Chrome 90
Linux
Desktop
3 years ago
Test name Executions per second
Lodash cloneDeep 963467.4 Ops/sec
Lodash clone 5483305.5 Ops/sec
Array.slice() 16836868.0 Ops/sec
Object.assign() 1007865.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Lodash clone

  • Array.slice()

  • Object.assign()