Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97
Linux
Desktop
2 years ago
Test name Executions per second
Lodash cloneDeep 1086116.2 Ops/sec
Lodash clone 15012871.0 Ops/sec
Array.slice() 31471412.0 Ops/sec
Object.assign() 4325932.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Lodash clone

  • Array.slice()

  • Object.assign()