The feature I am looking for is more about timing a code block or a function
while running the code in dev/production. Not about timing it for benchmarking
purposes.
To use timeit (or the current Timer class), one has to write the stmt as a
string which is not convenient (yet I understand that if you want to time a
code snippet by running it more than once there may be not alternative than
using stmt as strings)
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/NCRLF5I2JE32A5HJ32Z2UAQZCWWSQY6D/
Code of Conduct: http://python.org/psf/codeofconduct/