HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 271 community runs

Desktop Results:
Chrome 223 runs
Lodash cloneDeep
230K/s
Native structuredClone
214K/s
JSON Parse
206K/s

Fastest: Lodash cloneDeep (1.1x faster)

View exact numbers
  • Lodash cloneDeep: 229,824 ops/sec
  • Native structuredClone: 214,473 ops/sec
  • JSON Parse: 206,085 ops/sec
Firefox 42 runs
Native structuredClone
218K/s
JSON Parse
195K/s
Lodash cloneDeep
183K/s

Fastest: Native structuredClone (1.2x faster)

View exact numbers
  • Native structuredClone: 217,844 ops/sec
  • JSON Parse: 195,431 ops/sec
  • Lodash cloneDeep: 182,799 ops/sec
Mobile Results:
Chrome 6 runs
Lodash cloneDeep
159K/s
JSON Parse
153K/s
Native structuredClone
109K/s

Fastest: Lodash cloneDeep (1.5x faster)

View exact numbers
  • Lodash cloneDeep: 158,833 ops/sec
  • JSON Parse: 153,115 ops/sec
  • Native structuredClone: 108,694 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 Parse

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 hours ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:153.0) Gecko/20100101 Firefox/153.0
Firefox 153 on Windows
View result in a separate tab
Native structuredClone
256K/s
Lodash cloneDeep
214K/s
JSON Parse
211K/s
View exact numbers
Test name Executions per second
Native structuredClone 255,988 Ops/sec
Lodash cloneDeep 214,200 Ops/sec
JSON Parse 210,981 Ops/sec