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

  • for..of

  • NodeList.forEach

  • Array.forEach

  • jQuery.each

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for
    for..of
    NodeList.forEach
    Array.forEach
    jQuery.each

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Chrome 145 on Linux
View result in a separate tab
Test name Executions per second
for 359.3 Ops/sec
for..of 242.4 Ops/sec
NodeList.forEach 253.0 Ops/sec
Array.forEach 212.9 Ops/sec
jQuery.each 291.1 Ops/sec