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 1341297.8 Ops/sec
Json clone 664865.1 Ops/sec
freeze and destructure 4982145.0 Ops/sec
deepClone 10051102.0 Ops/sec
deepFreeze 3135230.0 Ops/sec
deepCloneSafe 9624492.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • freeze and destructure

  • deepClone

  • deepFreeze

  • deepCloneSafe


;