[Speed] Disable hash randomization to get reliable benchmarks
Antoine Pitrou
solipsis at pitrou.net
Tue Apr 26 12:36:34 EDT 2016
On Tue, 26 Apr 2016 18:28:32 +0200
Maciej Fijalkowski <fijall at gmail.com>
wrote:
>
> taking the minimum is a terrible idea anyway, none of the statistical
> discussion makes sense if you do that
The minimum is a reasonable metric for quick throwaway benchmarks as
timeit is designed for, as it has a better hope of alleviating the
impact of system load (as such throwaway benchmarks are often run on
the developer's workstation).
For a persistent benchmarks suite, where we can afford longer
benchmark runtimes and are able to keep system noise to a minimum, we
might prefer another metric.
Regards
Antoine.
More information about the Speed
mailing list