Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86
Linux
Desktop
3 years ago
Test name Executions per second
Lodash CloneDeep - Document 1 17069.2 Ops/sec
Json Clone - Document 1 44227.9 Ops/sec
recursiveDeepCopy - Document 1 41768.1 Ops/sec
recursiveDeepCopy2 - Document 1 41178.3 Ops/sec
Lodash CloneDeep - Document 2 700050.6 Ops/sec
Json Clone - Document 2 435467.4 Ops/sec
recursiveDeepCopy - Document 2 927808.0 Ops/sec
recursiveDeepCopy2 - Document 2 954258.0 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