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

  • Native structuredClone

  • JSON.stringify(JSON.parse())

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash cloneDeep
    Native structuredClone
    JSON.stringify(JSON.parse())

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114 on Linux
View result in a separate tab
Test name Executions per second
Lodash cloneDeep 181472.7 Ops/sec
Native structuredClone 90164.3 Ops/sec
JSON.stringify(JSON.parse()) 121339.0 Ops/sec