Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.46
Chrome 118
Windows
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 379950.4 Ops/sec
Native JSON parse 437948.7 Ops/sec
Recursive deep clone 0.0 Ops/sec
structuredClone 217446.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native JSON parse

  • Recursive deep clone

  • structuredClone