Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Ubuntu
Desktop
4 years ago
Test name Executions per second
Lodash cloneDeep 8693.2 Ops/sec
Json clone 10504.9 Ops/sec
Ramda clone 6049.9 Ops/sec
hand rolled 8703.5 Ops/sec
loop not map (still recursive) 622709.9 Ops/sec
original gangster 899833.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • loop not map (still recursive)

  • original gangster


;