Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
Chrome 85
Windows 7
Desktop
4 years ago
Test name Executions per second
Lodash cloneDeep 351395.0 Ops/sec
JSON parse 328447.5 Ops/sec
For loop 313781.0 Ops/sec
Recursive clone deep 597386.5 Ops/sec
Recursive reduce clone deep 180400.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep


;