Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    toString
    JSON.stringify
    type coercion

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Chrome 146 on Linux
View result in a separate tab
JSON.stringify
2.5M/s
type coercion
2.4M/s
toString
2.3M/s
View exact numbers
Test name Executions per second
JSON.stringify 2,498,110 Ops/sec
type coercion 2,447,368 Ops/sec
toString 2,290,630 Ops/sec