Run details:
Mozilla/5.0 (Android 12; Mobile; rv:101.0) Gecko/101.0 Firefox/101.0
Firefox Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
lodash cloneDeep 128567.1 Ops/sec
JSON.parse(JSON.stringify()) 65462.9 Ops/sec
recursiveDeepCopy 477085.1 Ops/sec
fastest-json-copy npm package 591221.1 Ops/sec
jsondiffpatch.clone() 509265.9 Ops/sec
rfdc 549674.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash cloneDeep

  • JSON.parse(JSON.stringify())

  • recursiveDeepCopy

  • fastest-json-copy npm package

  • jsondiffpatch.clone()

  • rfdc


;