Script Preparation code:
Tests:
  • for

  • for..of

  • for..in

  • forEach

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for
    for..of
    for..in
    forEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78 on Mac OS X 10.11
View result in a separate tab
Test name Executions per second
for 1201003.1 Ops/sec
for..of 45958.9 Ops/sec
for..in 29168966.0 Ops/sec
forEach 2210920.5 Ops/sec