Script Preparation code:
Tests:
  • for

  • forEach

  • for-of

  • for-reverse

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for
    forEach
    for-of
    for-reverse

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97 on Windows
View result in a separate tab
Test name Executions per second
for 8274042.5 Ops/sec
forEach 3496386.0 Ops/sec
for-of 1085609.8 Ops/sec
for-reverse 7302748.5 Ops/sec