[Speed] Tool to run Python microbenchmarks

Victor Stinner victor.stinner at gmail.com
Fri Feb 12 10:58:32 EST 2016


Hi,

2016-02-12 16:42 GMT+01:00 Maciej Fijalkowski <fijall at gmail.com>:
> timeit does two really terrible things - uses min(time) and disables
> the garbage collector, which makes it completely unreliable.

Can you please elaborate why using min(times) is a bad idea?

I'm also using min() in my tool, I expect that it helps to ignore the
sporadic peeks when the system is unstable.

Victor


More information about the Speed mailing list