Script Preparation code:
Tests:
  • for

  • foreach

  • some

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for
    foreach
    some

    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: 5 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36 OPR/53.0.2907.68
Opera 53 on Windows 7
View result in a separate tab
Test name Executions per second
for 36236.7 Ops/sec
foreach 1290963.0 Ops/sec
some 1338057.0 Ops/sec