Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
Chrome 120
Windows
Desktop
10 months ago
Test name Executions per second
Lodash cloneDeep 987163.8 Ops/sec
Json clone 598884.3 Ops/sec
freeze and destructure 2726979.8 Ops/sec
deepClone 1907097.8 Ops/sec
deepFreeze 1073311.4 Ops/sec
deepCloneSafe 1914887.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • freeze and destructure

  • deepClone

  • deepFreeze

  • deepCloneSafe


;