Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    toString
    JSON.stringify
    structured clone

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0
Chrome 139 on Windows
View result in a separate tab
toString
60.0M/s
JSON.stringify
3.6M/s
structured clone
603K/s
View exact numbers
Test name Executions per second
toString 60,005,980 Ops/sec
JSON.stringify 3,567,354 Ops/sec
structured clone 602,609 Ops/sec