Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Windows
Desktop
3 years ago
Test name Executions per second
Lodash cloneDeep 1124134.2 Ops/sec
Lodash clone 21348902.0 Ops/sec
Array.slice() 42136764.0 Ops/sec
Object.assign() 4461009.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Lodash clone

  • Array.slice()

  • Object.assign()