[issue18983] Specify time unit for timeit CLI

Jakub Stasiak report at bugs.python.org
Mon Sep 9 03:11:05 CEST 2013


Jakub Stasiak added the comment:

My 2 cents - I'd split timeit.main function into processing part and argument parsing + data printing part so that you could use Python to call the first one to get the actual results (timings, numbers of loops etc.) and then present the data to the outside world in any needed format - no text parsing needed.

----------
nosy: +jstasiak

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


More information about the Python-bugs-list mailing list