Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 1465064.2 Ops/sec
Native structuredClone 900454.2 Ops/sec
recursiveDeepCopy 7266053.0 Ops/sec
Json Clone 802285.7 Ops/sec
Fast Copy 1173031.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone

  • Fast Copy