Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Windows
Desktop
3 years ago
Test name Executions per second
Lodash CloneDeep - Document 1 17553.2 Ops/sec
Json Clone - Document 1 48159.1 Ops/sec
recursiveDeepCopy - Document 1 40847.4 Ops/sec
recursiveDeepCopy2 - Document 1 40009.9 Ops/sec
Lodash CloneDeep - Document 2 449438.3 Ops/sec
Json Clone - Document 2 447535.3 Ops/sec
recursiveDeepCopy - Document 2 954163.4 Ops/sec
recursiveDeepCopy2 - Document 2 1071929.4 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