Script Preparation code:
Tests:
  • toString

  • JSON.stringify

  • String

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    toString
    JSON.stringify
    String

    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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Chrome 143 on Windows
View result in a separate tab
Test name Executions per second
toString 2112266.8 Ops/sec
JSON.stringify 2784680.5 Ops/sec
String 2315662.8 Ops/sec