Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
Lodash cloneDeep 2916.9 Ops/sec
Json clone 6836.8 Ops/sec
Ramda clone 1547.9 Ops/sec
hand rolled 2390.4 Ops/sec
loop not map (still recursive) 4758.5 Ops/sec
original gangster 3544.7 Ops/sec
moar hand (un)rolling 7613.7 Ops/sec
roll it back up bruh 7734.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • loop not map (still recursive)

  • original gangster

  • moar hand (un)rolling

  • roll it back up bruh


;