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

  • Native structuredClone

  • clone();

  • _cloneDeep custom underscore/lodash

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash cloneDeep
    Native structuredClone
    clone();
    _cloneDeep custom underscore/lodash

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 YaBrowser/24.4.0.0 Safari/537.36
Yandex Browser 24 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Lodash cloneDeep 19246.3 Ops/sec
Native structuredClone 22212.0 Ops/sec
clone(); 182.9 Ops/sec
_cloneDeep custom underscore/lodash 12063.9 Ops/sec


;