Re: [Speed] Tool to run Python microbenchmarks

Feb. 12, 2016
7:58 a.m.
Hi,
2016-02-12 16:42 GMT+01:00 Maciej Fijalkowski <fijall@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
3329
Age (days ago)
3329
Last active (days ago)
0 comments
1 participants
participants (1)
-
Victor Stinner