Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows
Desktop
2 years ago
Test name Executions per second
Recursive Deep Copy 2181186.0 Ops/sec
JSON Deep Copy 50073.0 Ops/sec
lodash clone 21046.5 Ops/sec
deepclone 74075.7 Ops/sec
Recursive Deep Copy 2 72445.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • deepclone

  • Recursive Deep Copy 2