Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Mac OS X 10.14
Desktop
2 years ago
Test name Executions per second
JSON Stringfy 667.1 Ops/sec
Lodash cloneDeep 240.2 Ops/sec
Ramda Copy 23.9 Ops/sec
Recursive Copy 1008.6 Ops/sec
Recursive Copy Distinct 1759.5 Ops/sec
Only parse 1110.9 Ops/sec
Only stringifyy 1619.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • JSON Stringfy

  • Lodash cloneDeep

  • Ramda Copy

  • Recursive Copy

  • Recursive Copy Distinct

  • Only parse

  • Only stringifyy