Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Chrome 96
Mac OS X 10.13.6
Desktop
2 years ago
Test name Executions per second
JSON Stringfy 307.9 Ops/sec
Lodash cloneDeep 229.6 Ops/sec
Ramda Copy 35.5 Ops/sec
Recursive Copy 467.5 Ops/sec
Recursive Copy Distinct 660.9 Ops/sec
Only parse 646.3 Ops/sec
Only stringifyy 828.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • JSON Stringfy

  • Lodash cloneDeep

  • Ramda Copy

  • Recursive Copy

  • Recursive Copy Distinct

  • Only parse

  • Only stringifyy