Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:77.0) Gecko/20100101 Firefox/77.0
Firefox 77
Mac OS X 10.13
Desktop
4 years ago
Test name Executions per second
Lodash cloneDeep 133258.0 Ops/sec
JSON parse 263910.9 Ops/sec
For loop 265769.9 Ops/sec
Recursive clone deep 2037919.9 Ops/sec
Recursive reduce clone deep 366641.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep


;