Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 1399658.6 Ops/sec
Native structuredClone 500625.2 Ops/sec
recursiveDeepCopy 1612318.2 Ops/sec
Json Clone 668248.9 Ops/sec
Fast Copy 2102504.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone

  • Fast Copy


;