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 685810.1 Ops/sec
JSON Deep Copy 96404.4 Ops/sec
lodash clone 23209.4 Ops/sec
c7x43t 17843.0 Ops/sec
recursiveDeepCopy_v2 44678.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • c7x43t

  • recursiveDeepCopy_v2