Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    JSON.stringify.indexOf
    For loop
    JSON.stringify.indexOf - attribute not found
    For loop - attribute not found

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
For loop - attribute not found
3.8M/s
For loop
2.8M/s
JSON.stringify.indexOf - attribute not found
110K/s
JSON.stringify.indexOf
46K/s
View exact numbers
Test name Executions per second
For loop - attribute not found 3,831,074 Ops/sec
For loop 2,816,220 Ops/sec
JSON.stringify.indexOf - attribute not found 109,808 Ops/sec
JSON.stringify.indexOf 46,244 Ops/sec