Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Linux
Desktop
one year ago
Test name Executions per second
lodash cloneDeep 743230.1 Ops/sec
JSON.parse(JSON.stringify()) 343726.5 Ops/sec
recursiveDeepCopy 2603242.2 Ops/sec
fastest-json-copy npm package 2803353.2 Ops/sec
jsondiffpatch.clone() 3462539.0 Ops/sec
rfdc 3588380.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


;