HTML Preparation code:
Script Preparation code:
Tests:
  • JSON.stringify + parse

  • structuredClone

  • just JSON.stringify

  • just JSON.parse

  • fastest-json-copy

  • fastCopy

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    JSON.stringify + parse
    structuredClone
    just JSON.stringify
    just JSON.parse
    fastest-json-copy
    fastCopy

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0
Chrome 119 on Windows
View result in a separate tab
Test name Executions per second
JSON.stringify + parse 2282.8 Ops/sec
structuredClone 1525.8 Ops/sec
just JSON.stringify 5018.9 Ops/sec
just JSON.parse 4344.5 Ops/sec
fastest-json-copy 922.6 Ops/sec
fastCopy 1449.5 Ops/sec


;