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 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36
Chrome 66 on Mac OS X 10.13.4
View result in a separate tab
Test name Executions per second
for 66967.1 Ops/sec
foreach 3270692.0 Ops/sec
some 14128210.0 Ops/sec