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

  • Lodash clone

  • Array.splice()

  • Object.assign()

  • Array,slice()

  • Array.slice(0)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash cloneDeep
    Lodash clone
    Array.splice()
    Object.assign()
    Array,slice()
    Array.slice(0)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36
Chrome 98 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Lodash cloneDeep 1760900.1 Ops/sec
Lodash clone 7865186.5 Ops/sec
Array.splice() 11390228.0 Ops/sec
Object.assign() 8624743.0 Ops/sec
Array,slice() 24762980.0 Ops/sec
Array.slice(0) 24748952.0 Ops/sec


;