Hrtime and Loops

PHPBench currently samples the time taken (in microseconds) to run code around a loop.
This post aims to provide some insight into:
If there is a benefit to using a loop (@Revs) when taking a time sample. The value of using hrtime instead of microtime. Background ¶ PHPBench samples the time taken for your code to run. The default executor does this by iterating over your code a number of times (@Revs) and dividing the total time in microseconds (i.
Read more...