Script Preparation code:
AخA
 
var testData = {"bar":"foo", "x": [1,2,3], "y": 144366}
Tests:
  • JSON.stringify 1

     
    simpleStringify(testData);
  • JSON.stringify 2

     
    JSON.stringify(testData)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    JSON.stringify 1
    JSON.stringify 2

    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/125.0.0.0 Safari/537.36
Chrome 125 on Windows
View result in a separate tab
Test name Executions per second
JSON.stringify 1 0.0 Ops/sec
JSON.stringify 2 5060143.5 Ops/sec