Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86
Mac OS X 10.16
Desktop
3 years ago
Test name Executions per second
Lodash cloneDeep 12757.1 Ops/sec
Json clone 13385.1 Ops/sec
Ramda clone 7106.5 Ops/sec
hand rolled 14802.4 Ops/sec
loop not map (still recursive) 747257.1 Ops/sec
original gangster 1006660.0 Ops/sec
uglified 1001145.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • loop not map (still recursive)

  • original gangster

  • uglified