Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of

  • for2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for
    foreach
    for in
    for..of
    for2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Android 13; Mobile; rv:129.0) Gecko/129.0 Firefox/129.0
Firefox Mobile 129 on Android
View result in a separate tab
Test name Executions per second
for 2746.3 Ops/sec
foreach 596.3 Ops/sec
for in 57.5 Ops/sec
for..of 911.4 Ops/sec
for2 2786.5 Ops/sec