Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36
Chrome 68
Mac OS X 10.13.6
Desktop
6 years ago
Test name Executions per second
Recursive Deep Copy 246262.8 Ops/sec
JSON Deep Copy 36625.5 Ops/sec
lodash clone 22184.7 Ops/sec
cloneDeep 28056.7 Ops/sec
cloneDeep2 22936.9 Ops/sec
cloneDeep3 9251.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • cloneDeep

  • cloneDeep2

  • cloneDeep3


;