Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
Chrome 88
Linux
Desktop
3 years ago
Test name Executions per second
Lodash cloneDeep 466251.2 Ops/sec
JSON parse 490142.4 Ops/sec
For loop 465330.1 Ops/sec
Recursive clone deep 880271.9 Ops/sec
Recursive reduce clone deep 238827.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep