Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
JSON Stringfy 1191216.5 Ops/sec
Lodash cloneDeep 1142874.8 Ops/sec
Ramda Copy 1433093.6 Ops/sec
Recursive Copy 1805143.2 Ops/sec
Recursive Copy Distinct 2724235.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • JSON Stringfy

  • Lodash cloneDeep

  • Ramda Copy

  • Recursive Copy

  • Recursive Copy Distinct