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

  • structuredClone

  • just JSON.stringify

  • just JSON.parse

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: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119 on Android
View result in a separate tab
Test name Executions per second
JSON.stringify + parse 2278.0 Ops/sec
structuredClone 1285.5 Ops/sec
just JSON.stringify 5223.8 Ops/sec
just JSON.parse 4069.4 Ops/sec


;