Run details:
Mozilla/5.0 (Linux; Android 10; STK-L21 Build/HUAWEISTK-L21; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/103.0.5060.71 Mobile Safari/537.36 [LinkedInApp]/0.782.150
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
Lodash cloneDeep 186284.3 Ops/sec
Native structuredClone 65764.1 Ops/sec
recursiveDeepCopy 242228.5 Ops/sec
Json Clone 103178.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone