Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 647939.4 Ops/sec
Native structuredClone 262987.6 Ops/sec
recursiveDeepCopy 918345.1 Ops/sec
Json Clone 408749.4 Ops/sec
Fast Copy 1106029.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone

  • Fast Copy


;