This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(ticks = 1); | |
/* | |
* This command line PHP script tests algorithm times, keeping track of results in a histogram. | |
* Each time a new worst case elapsed time is found, the script will print out metrics, including | |
* user cpu time, system cpu time and context switches. | |
* | |
* Pressing Cntrl-Z will dump the current stats. |