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

  • Native map deep slice(turns objects into arrays)

  • Native JSON parse

  • Object.assign shallow clone

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash cloneDeep
    Native map deep slice(turns objects into arrays)
    Native JSON parse
    Object.assign shallow clone

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Lodash cloneDeep 450916.8 Ops/sec
Native map deep slice(turns objects into arrays) 6329555.5 Ops/sec
Native JSON parse 503220.1 Ops/sec
Object.assign shallow clone 7047201.0 Ops/sec