[issue24015] timeit should start with 1 loop, not 10

Mark Dickinson report at bugs.python.org
Mon Apr 20 21:22:47 CEST 2015


Mark Dickinson added the comment:

Huh.  I assumed that timeit was doing this already.  +1 from me.

Affects Python 3.4 and 3.5, too.

taniyama:~ mdickinson$ time python -m timeit "import time; time.sleep(1.0)"
10 loops, best of 3: 1 sec per loop

real	0m40.165s
user	0m0.040s
sys	0m0.024s

----------
nosy: +mark.dickinson
versions: +Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24015>
_______________________________________


More information about the Python-bugs-list mailing list