Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
Chrome 80
Mac OS X 10.14.3
Desktop
4 years ago
Test name Executions per second
Lodash cloneDeep 318404.2 Ops/sec
JSON parse 263363.1 Ops/sec
For loop 315066.3 Ops/sec
Recursive clone deep 602574.2 Ops/sec
Recursive reduce clone deep 175967.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep


;