Script Preparation code:
Tests:
  • foreach

  • for

  • map

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    foreach
    for
    map

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 PureBrowser/60.9.0
Firefox 60 on Linux
View result in a separate tab
Test name Executions per second
foreach 141.9 Ops/sec
for 121.8 Ops/sec
map 34.2 Ops/sec

Recommended literature: