Run details:
Mozilla/5.0 (Android 7.0; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Firefox Mobile 68
Android 7.0
Mobile
5 years ago
Test name Executions per second
Lodash cloneDeep 37640.6 Ops/sec
JSON parse 67406.8 Ops/sec
For loop 64846.3 Ops/sec
Recursive clone deep 488214.3 Ops/sec
Recursive reduce clone deep 85133.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep