Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 16.1.1
Mobile
10 months ago
Test name Executions per second
Recursive Deep Copy 668602.6 Ops/sec
JSON Deep Copy 91482.4 Ops/sec
lodash clone 22933.8 Ops/sec
c7x43t 17360.8 Ops/sec
recursiveDeepCopy_v2 43201.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • c7x43t

  • recursiveDeepCopy_v2