Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0
Chrome 122
Windows
Desktop
9 months ago
Test name Executions per second
Recursive Deep Copy 473495.0 Ops/sec
JSON Deep Copy 61328.1 Ops/sec
lodash clone 30502.2 Ops/sec
c7x43t 13879.0 Ops/sec
recursiveDeepCopy_v2 37279.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • c7x43t

  • recursiveDeepCopy_v2