Tests:
  • for loop

  • forEach

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for loop
    forEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/69.0.3497.81 Chrome/69.0.3497.81 Safari/537.36
Chromium 69 on Ubuntu
View result in a separate tab
Test name Executions per second
for loop 1531.0 Ops/sec
forEach 705.1 Ops/sec