HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 6 community runs

Desktop Results:
Chrome 6 runs
Lodash cloneDeep
415K/s
Native structuredClone
204K/s

Fastest: Lodash cloneDeep (2.0x faster)

View exact numbers
  • Lodash cloneDeep: 414,836 ops/sec
  • Native structuredClone: 204,391 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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
Chrome 148 on Mac OS X 10.15.7
View result in a separate tab
Lodash cloneDeep
654K/s
Native structuredClone
413K/s
View exact numbers
Test name Executions per second
Lodash cloneDeep 654,184 Ops/sec
Native structuredClone 412,704 Ops/sec