Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Chrome 96
Mac OS X 10.14.6
Desktop
2 years ago
Test name Executions per second
JSON Stringfy 805.3 Ops/sec
Lodash cloneDeep 609.8 Ops/sec
Ramda Copy 84.3 Ops/sec
Recursive Copy 1217.2 Ops/sec
Recursive Copy Distinct 1619.1 Ops/sec
Only parse 1495.8 Ops/sec
Only stringifyy 2079.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • JSON Stringfy

  • Lodash cloneDeep

  • Ramda Copy

  • Recursive Copy

  • Recursive Copy Distinct

  • Only parse

  • Only stringifyy


;