fixes #804: clean up implementation of #803 (which fixed #781)

I also changed it to be median of 5, since it's now trivial to choose any number of runs<del>, and use a more reasonable <code>PERF_MULTIPLIER</code> of 6e6 since we're much less likely to have fluke spikes cause builds to fail.