Run details:
Mozilla/5.0 (Linux; Android 12; SM-G780G Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.5195.136 Mobile Safari/537.36 OPX/1.6
Chrome Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
Lodash cloneDeep 308715.3 Ops/sec
Native structuredClone 50247.8 Ops/sec
recursiveDeepCopy 332711.8 Ops/sec
Json Clone 113671.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone