Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Linux
Desktop
9 months ago
Test name Executions per second
Lodash cloneDeep 865436.8 Ops/sec
Native structuredClone 311391.8 Ops/sec
recursiveDeepCopy 1183534.8 Ops/sec
Json Clone 619068.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone