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 313.3 Ops/sec
Lodash cloneDeep 227.2 Ops/sec
Ramda Copy 36.6 Ops/sec
Recursive Copy 461.7 Ops/sec
Recursive Copy Distinct 632.8 Ops/sec
Only parse 616.7 Ops/sec
Only stringifyy 817.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