Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Linux
Desktop
5 months ago
Test name Executions per second
Lodash cloneDeep 1618598.8 Ops/sec
Native structuredClone 669394.8 Ops/sec
recursiveDeepCopy 2445345.2 Ops/sec
Json Clone 1328475.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone