Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Linux
Desktop
one year ago
Test name Executions per second
Lodash CloneDeep - Document 1 34690.2 Ops/sec
Json Clone - Document 1 88914.8 Ops/sec
recursiveDeepCopy - Document 1 53412.1 Ops/sec
recursiveDeepCopy2 - Document 1 50028.5 Ops/sec
Lodash CloneDeep - Document 2 842039.4 Ops/sec
Json Clone - Document 2 710945.1 Ops/sec
recursiveDeepCopy - Document 2 1367630.6 Ops/sec
recursiveDeepCopy2 - Document 2 521037.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