Script Preparation code:
Tests:
  • Map

  • For Loop

  • foreach

  • pre-allocated for loop

  • pre-allocated unrolled for loop

  • For of

  • For of entries

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Map
    For Loop
    foreach
    pre-allocated for loop
    pre-allocated unrolled for loop
    For of
    For of entries

    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.15; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Map 170.0 Ops/sec
For Loop 321.1 Ops/sec
foreach 306.8 Ops/sec
pre-allocated for loop 320.2 Ops/sec
pre-allocated unrolled for loop 324.9 Ops/sec
For of 159.0 Ops/sec
For of entries 68.0 Ops/sec


;