HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 15 community runs

Desktop Results:
Chrome 8 runs
JSON parse
1.2M/s
Native structuredClone
480K/s

Fastest: JSON parse (2.5x faster)

View exact numbers
  • JSON parse: 1,212,926 ops/sec
  • Native structuredClone: 479,769 ops/sec
Firefox 7 runs
Native structuredClone
646K/s
JSON parse
643K/s
View exact numbers
  • Native structuredClone: 645,579 ops/sec
  • JSON parse: 642,881 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
    JSON parse
    Native structuredClone

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0
Firefox 148 on Windows
View result in a separate tab
Native structuredClone
684K/s
JSON parse
643K/s
View exact numbers
Test name Executions per second
Native structuredClone 683,830 Ops/sec
JSON parse 642,881 Ops/sec