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: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Chrome 92 on Linux
View result in a separate tab
Test name Executions per second
foreach 68.7 Ops/sec
for 4.7 Ops/sec
map 53.4 Ops/sec