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

  • for of: many items

  • convert to array: few items

  • convert to array: many items

  • native iterator: few items

  • native iterator: many items

  • native iterator w/ size: few items

  • native iterator w/ size: 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
    convert to array: few items
    convert to array: many items
    native iterator: few items
    native iterator: many items
    native iterator w/ size: few items
    native iterator w/ size: many items:

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (X11; Linux; rv:133.0) Gecko/20220401 Firefox/133.0
Firefox 133 on Linux
View result in a separate tab
Test name Executions per second
for of: few items 5453828.5 Ops/sec
for of: many items 42696.9 Ops/sec
convert to array: few items 4243429.5 Ops/sec
convert to array: many items 33441.3 Ops/sec
native iterator: few items 5483303.0 Ops/sec
native iterator: many items 40249.7 Ops/sec
native iterator w/ size: few items 6427736.5 Ops/sec
native iterator w/ size: many items: 39025.0 Ops/sec