Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Ubuntu
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 270032.0 Ops/sec
JSON parse 474217.4 Ops/sec
For loop 834953.4 Ops/sec
Recursive clone deep 2574843.0 Ops/sec
Recursive reduce clone deep 717763.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • JSON parse

  • For loop

  • Recursive clone deep

  • Recursive reduce clone deep