HTML Preparation code:
Script Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()

  • indexOf

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for-loop
    for..of
    Array.find()
    indexOf

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Linux
View result in a separate tab
Test name Executions per second
for-loop 1247.9 Ops/sec
for..of 60053.9 Ops/sec
Array.find() 38915.1 Ops/sec
indexOf 267832.3 Ops/sec