Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Windows
Desktop
one month ago
Test name Executions per second
Lodash cloneDeep 1530522.5 Ops/sec
Native structuredClone 516518.9 Ops/sec
recursiveDeepCopy 5466321.5 Ops/sec
Json Clone 1330509.0 Ops/sec
Fast Copy 2880873.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone

  • Fast Copy