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: 4 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71 on Ubuntu
View result in a separate tab
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


;