Once again, after restarting our web server and running the code ten times, we
calculate the average execution time. Using a while loop to access individual elements of
the array on average took .0099ms.
Our final loop comparison is the for loop. Using the code shown in Listing 3–13, we
follow the same process in benchmarking the loop by restarting our web server, executing
the code ten times, and taking the average results.