Tests:
  • 1

    AخA
     
    const a = { alpay: 5 }; JSON.stringify(a);
  • 2

     
    const a = {};  for (let i = 0; i < 100000; i++) { a[i] = "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"; } JSON.stringify(a);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    1
    2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 20 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0
Chrome 135 on Windows
View result in a separate tab
Test name Executions per second
1 8940105.0 Ops/sec
2 24.5 Ops/sec