Run details:
Mozilla/5.0 (Linux; Android 7.0; FRD-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.86 Mobile Safari/537.36
Chrome Mobile 89
Android 7.0
Mobile
3 years ago
Test name Executions per second
Lodash cloneDeep 80752.8 Ops/sec
JSON parse 86580.4 Ops/sec
For loop 79993.7 Ops/sec
Recursive clone deep 169259.5 Ops/sec
Recursive reduce clone deep 45473.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep