2017-03-14 18:13 GMT+01:00 Antoine Pitrou <solip...@pitrou.net>:
> Victor is trying to eliminate the effects of system noise by using the
> median, but if that's the primary goal, using the minimum is arguably
> better, since the system noise is always a positive contributor (i.e.
> it can only increase the runtimes).
>
> The median is arguably a bastardized solution, which satisfies neither
> the requirement of eliminating system noise, nor the requirement of
> faithfully representing performance variations due to non-deterministic
> effects in the Python runtime and/or benchmark itself.

The Python timeit module uses the minimum an in my experience, it's
far not reproductible at all. Mean or median provides a more
reproductible value.

Victor
_______________________________________________
Speed mailing list
Speed@python.org
https://mail.python.org/mailman/listinfo/speed

Reply via email to