[issue23552] Have timeit warn about runs that are not independent of each other
Raymond Hettinger
report at bugs.python.org
Sat Feb 28 21:42:52 CET 2015
New submission from Raymond Hettinger:
IPython 3.0 added a useful feature that we ought to consider for inclusion either in timeit.repeat() or in the command-line interface:
"""Using %timeit prints warnings if there is at least a 4x difference in timings between the slowest and fastest runs, since this might meant that the multiple runs are not independent of one another."""
----------
components: Library (Lib)
messages: 236908
nosy: rhettinger
priority: normal
severity: normal
status: open
title: Have timeit warn about runs that are not independent of each other
type: enhancement
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23552>
_______________________________________
More information about the Python-bugs-list
mailing list