Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of

  • for in

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129 on Ubuntu
View result in a separate tab
Test name Executions per second
for 567376.8 Ops/sec
foreach 828149.6 Ops/sec
some 775247.4 Ops/sec
for..of 100980.5 Ops/sec
for in 68559840.0 Ops/sec