HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • loop not map (still recursive)

  • original gangster

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash cloneDeep
    Json clone
    Ramda clone
    hand rolled
    loop not map (still recursive)
    original gangster

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Lodash cloneDeep 2884.2 Ops/sec
Json clone 7400.9 Ops/sec
Ramda clone 1652.8 Ops/sec
hand rolled 2293.7 Ops/sec
loop not map (still recursive) 36684.1 Ops/sec
original gangster 62702.6 Ops/sec