Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Linux
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 844926.0 Ops/sec
Native structuredClone 374364.7 Ops/sec
recursiveDeepCopy 6093442.0 Ops/sec
Json Clone 480490.8 Ops/sec
Fast Copy 679680.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone

  • Fast Copy