HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 25 community runs

Desktop Results:
Chrome 25 runs
Lodash cloneDeep
1.3M/s
JSON.stringify
1.2M/s
Native structuredClone
468K/s

Fastest: Lodash cloneDeep (2.7x faster)

View exact numbers
  • Lodash cloneDeep: 1,276,589 ops/sec
  • JSON.stringify: 1,199,975 ops/sec
  • Native structuredClone: 468,366 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0
Chrome 147 on Windows
View result in a separate tab
Lodash cloneDeep
1.3M/s
JSON.stringify
1.2M/s
Native structuredClone
459K/s
View exact numbers
Test name Executions per second
Lodash cloneDeep 1,267,730 Ops/sec
JSON.stringify 1,209,937 Ops/sec
Native structuredClone 459,076 Ops/sec