Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0
Firefox 106
Linux
Desktop
one year ago
Test name Executions per second
lodash cloneDeep 817927.9 Ops/sec
JSON.parse(JSON.stringify()) 526136.8 Ops/sec
recursiveDeepCopy 2367200.2 Ops/sec
fastest-json-copy npm package 2962858.2 Ops/sec
jsondiffpatch.clone() 2151511.5 Ops/sec
rfdc 2011145.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash cloneDeep

  • JSON.parse(JSON.stringify())

  • recursiveDeepCopy

  • fastest-json-copy npm package

  • jsondiffpatch.clone()

  • rfdc


;