Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/106.0.5249.92 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 106
iOS 16.0
Mobile
2 years ago
Test name Executions per second
Lodash cloneDeep 1586833.0 Ops/sec
Native structuredClone 776983.2 Ops/sec
recursiveDeepCopy 1840258.1 Ops/sec
Json Clone 1214143.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone