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

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash cloneDeep
    Json clone
    Ramda clone
    hand rolled
    spread
    obj.assign

    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 102251.8 Ops/sec
Json clone 276122.2 Ops/sec
Ramda clone 98951.9 Ops/sec
hand rolled 90248.3 Ops/sec
spread 1444812.0 Ops/sec
obj.assign 1245632.0 Ops/sec