Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Recursive Deep Copy 294557.3 Ops/sec
JSON Deep Copy 46171.5 Ops/sec
lodash clone 24277.2 Ops/sec
structuredClone 29180.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • structuredClone