facebook/hhvm — pull request #3733 by rrh (2014-09-11 16:18:58+00:00)
Title: Add delay timing knobs to throughput performance benchmark driver

Change the plumbing so that the $options are pushed around more uniformly
into the workers' constructors, and use properties from the $options
directly.

Add various knobs to control delays before/after most sub-process
launches, delays waiting for responses from the server, delays on the
fcgi channel, and the like. These knobs are reflected as command line
arguments to perf.php. The chosen default values seem plausible or
are historical.

These knobs have proven necessary to support slower systems, or a hhvm
UUT that is itself compiled for debugging or coverage, or is profiling
the PHP being executed.

Add knobs to:
* override the temporary directory name;
* plumb subprocess output to files, as using pipes leads to deadlock;
* trace the subprocess invocations.