Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of

  • for cached

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125 on Windows
View result in a separate tab
Test name Executions per second
for 9335.3 Ops/sec
foreach 706150.5 Ops/sec
for in 769541.6 Ops/sec
for..of 15501.9 Ops/sec
for cached 18484.9 Ops/sec


;