Run details:
Mozilla/5.0 (X11; CrOS aarch64 14695.85.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.75 Safari/537.36
Chrome 102
Chrome OS 14695.85.0
Desktop
2 years ago
Test name Executions per second
Lodash cloneDeep 193583.1 Ops/sec
Json clone 110152.7 Ops/sec
freeze and destructure 566525.1 Ops/sec
Vanilla cloneDeep 28503.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • freeze and destructure

  • Vanilla cloneDeep