Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
Lodash CloneDeep - Document 1 12111.6 Ops/sec
Json Clone - Document 1 22349.0 Ops/sec
recursiveDeepCopy - Document 1 22596.3 Ops/sec
recursiveDeepCopy2 - Document 1 22186.2 Ops/sec
Lodash CloneDeep - Document 2 279378.4 Ops/sec
Json Clone - Document 2 252998.8 Ops/sec
recursiveDeepCopy - Document 2 466194.1 Ops/sec
recursiveDeepCopy2 - Document 2 191982.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash CloneDeep - Document 1

  • Json Clone - Document 1

  • recursiveDeepCopy - Document 1

  • recursiveDeepCopy2 - Document 1

  • Lodash CloneDeep - Document 2

  • Json Clone - Document 2

  • recursiveDeepCopy - Document 2

  • recursiveDeepCopy2 - Document 2