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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/69.0.3497.81 Chrome/69.0.3497.81 Safari/537.36
Chromium 69 on Ubuntu
View result in a separate tab
Test name Executions per second
for 43817.8 Ops/sec
foreach 2442198.0 Ops/sec
some 2502363.0 Ops/sec