Appendix 7
Appendix of the Speedup-Test Protocol
A7.1. Why is the observed minimal execution time not necessarily a good statistical estimation of program performances?
Considering the minimum value of the n observed execution times is sometimes used in the literature but can be discussed:
In addition to the above arguments, there is a mathematical argument against using the minimal execution time. Indeed, contrary to the sample average or the sample median, the sample minimum does not necessarily follow a normal distribution. That is, the sample minimum does not necessarily converge quickly toward its theoretical value. The variance of the sample minimum may be pretty high for an arbitrary population. Formally, if θ is the theoretical minimal execution time, then the sample mini xi may be far from θ; everything depends on the distribution function of X. For an illustration, see Figure A7.1 for two cases ...
Get Advanced Backend Optimization now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.