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

  • Lodash cloneDeep

  • Lodash merge

  • ES6 spread

  • ES6 Object.assign

  • ES6 structuredClone

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash clone
    Lodash cloneDeep
    Lodash merge
    ES6 spread
    ES6 Object.assign
    ES6 structuredClone

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118 on Windows
View result in a separate tab
Test name Executions per second
Lodash clone 1436456.2 Ops/sec
Lodash cloneDeep 235764.4 Ops/sec
Lodash merge 147443.3 Ops/sec
ES6 spread 12428702.0 Ops/sec
ES6 Object.assign 3618760.8 Ops/sec
ES6 structuredClone 198469.6 Ops/sec


;