Run details:
Mozilla/5.0 (Linux; Android 11; Mi 9T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
Recursive Deep Copy 196932.2 Ops/sec
JSON Deep Copy 19924.2 Ops/sec
lodash clone 13110.8 Ops/sec
deepclone 13875.5 Ops/sec
Recursive Deep Copy 2 13050.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • deepclone

  • Recursive Deep Copy 2