HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.cloneDeep

  • cleanJson [modified to clone] (Recursive)

  • customDeepClone (Recursive)

  • cloneJson (Loop)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    lodash.cloneDeep
    cleanJson [modified to clone] (Recursive)
    customDeepClone (Recursive)
    cloneJson (Loop)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4186.0 Safari/537.36
Chrome 86 on Mac OS X 10.15.5
View result in a separate tab
Test name Executions per second
lodash.cloneDeep 17303.2 Ops/sec
cleanJson [modified to clone] (Recursive) 19754.4 Ops/sec
customDeepClone (Recursive) 52570.7 Ops/sec
cloneJson (Loop) 521922.9 Ops/sec