Run details:
Mozilla/5.0 (Linux; Android 12; SM-G9700) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
Lodash cloneDeep 253917.7 Ops/sec
JSON parse 220981.8 Ops/sec
For loop 245888.7 Ops/sec
Recursive clone deep 423843.1 Ops/sec
Recursive reduce clone deep 108844.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep


;