Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15
Safari 17
Mac OS X 10.15.7
Desktop
10 months ago
Test name Executions per second
Recursive Deep Copy 623307.4 Ops/sec
JSON Deep Copy 117676.4 Ops/sec
lodash clone 30511.4 Ops/sec
spreadDeepCopy 3161851.0 Ops/sec
assingDeepCopy 2265936.8 Ops/sec
cloneObject 61187.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • spreadDeepCopy

  • assingDeepCopy

  • cloneObject


;