[Python-Dev] Stop using timeit, use perf.timeit! (original) (raw)

Random832 random832 at fastmail.com
Sat Jun 11 19:43:18 EDT 2016


On Fri, Jun 10, 2016, at 21:45, Steven D'Aprano wrote:

If you express your performances as speeds (as "calculations per second") then the harmonic mean is the right way to average them.

That's true in so far as you get the same result as if you were to take the arithmetic mean of the times and then converted from that to calculations per second. Is there any other particular basis for considering it "right"?



More information about the Python-Dev mailing list