Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 656363.9 Ops/sec
Native structuredClone 266193.1 Ops/sec
recursiveDeepCopy 905176.3 Ops/sec
Json Clone 403752.7 Ops/sec
Fast Copy 1110312.6 Ops/sec
chatGptDeepClone 609482.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone

  • Fast Copy

  • chatGptDeepClone