Script Preparation code:
Tests:
  • foreach

  • for

  • map

  • for-of

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    foreach
    for
    map
    for-of

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
foreach 460320.5 Ops/sec
for 764672.4 Ops/sec
map 112687.9 Ops/sec
for-of 99813.5 Ops/sec