Script Preparation code:
Tests:
  • for of: few items

  • for of: many items

  • forEach: few items

  • forEach: many items

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for of: few items
    for of: many items
    forEach: few items
    forEach: many items

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: yesterday)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
for of: few items 10408701.0 Ops/sec
for of: many items 163403.8 Ops/sec
forEach: few items 9856747.0 Ops/sec
forEach: many items 135463.8 Ops/sec


;