Message236908
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.""" |
|
Date |
User |
Action |
Args |
2015-02-28 20:42:52 | rhettinger | set | recipients:
+ rhettinger |
2015-02-28 20:42:52 | rhettinger | set | messageid: <1425156172.0.0.931116052614.issue23552@psf.upfronthosting.co.za> |
2015-02-28 20:42:51 | rhettinger | link | issue23552 messages |
2015-02-28 20:42:51 | rhettinger | create | |
|