Run details:
Mozilla/5.0 (Linux; Android 11; SM-N975U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
JSON Stringfy 207.0 Ops/sec
Lodash cloneDeep 81.6 Ops/sec
Ramda Copy 17.2 Ops/sec
Recursive Copy 186.1 Ops/sec
Recursive Copy Distinct 275.9 Ops/sec
Only parse 264.0 Ops/sec
Only stringifyy 666.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