Run details:
Mozilla/5.0 (Android 10; Mobile; rv:105.0) Gecko/105.0 Firefox/105.0
Firefox Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
lodash cloneDeep 243238.4 Ops/sec
JSON.parse(JSON.stringify()) 120112.5 Ops/sec
recursiveDeepCopy 907983.4 Ops/sec
fastest-json-copy npm package 1095009.0 Ops/sec
jsondiffpatch.clone() 981717.8 Ops/sec
rfdc 985735.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash cloneDeep

  • JSON.parse(JSON.stringify())

  • recursiveDeepCopy

  • fastest-json-copy npm package

  • jsondiffpatch.clone()

  • rfdc


;