Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 OPR/97.0.0.0
Opera 97
Mac OS X 10.15.7
Desktop
9 months ago
Test name Executions per second
Lodash cloneDeep 1535443.2 Ops/sec
Native structuredClone 681240.9 Ops/sec
recursiveDeepCopy 1982398.1 Ops/sec
Json Clone 1135472.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone