Script Preparation code:
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: 2025 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57 on Windows 7
View result in a separate tab
Test name Executions per second
for loop 102750.9 Ops/sec
forEach 814683.2 Ops/sec