STINNER Victor <victor.stin...@gmail.com> added the comment: > For you particular need it is easy to write an explicit loop and gather the > statistics that your need.
I concur with Serhiy: >>> loops=2**15; values = [value/loops for value in t.repeat(10, loops)] >>> import statistics >>> statistics.mean(values) 3.439414190675727e-06 >>> statistics.stdev(values) 1.444941323254124e-07 Matthias Gilch: "I think it's inconvenient to write those stubs every time when we have a method for this in the standard library that could be easily used with a few changes in it." Hum, maybe a module on PyPI which uses timeit.Timer internally would be more appropriate, than extending the timeit module. (Or use my existing perf module, it's up to you ;-)) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32589> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com