Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Ubuntu
Desktop
10 months ago
Test name Executions per second
Lodash cloneDeep 1352551.8 Ops/sec
Json clone 658249.2 Ops/sec
freeze and destructure 5454291.5 Ops/sec
deepClone 10166412.0 Ops/sec
deepFreeze 3385820.5 Ops/sec
deepCloneSafe 9719253.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • freeze and destructure

  • deepClone

  • deepFreeze

  • deepCloneSafe


;