Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Chrome 85
Mac OS X 10.14.6
Desktop
4 years ago
Test name Executions per second
Lodash cloneDeep 375791.9 Ops/sec
JSON parse 331968.7 Ops/sec
For loop 379158.6 Ops/sec
Recursive clone deep 741979.3 Ops/sec
Recursive reduce clone deep 217726.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep


;