Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Recursive Deep Copy 1078151.9 Ops/sec
JSON Deep Copy 90982.4 Ops/sec
lodash clone 52656.4 Ops/sec
deepclone 83826.0 Ops/sec
Recursive Deep Copy 2 80005.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • deepclone

  • Recursive Deep Copy 2