[issue4080] unittest: display time used by each test case

Pawel Prokop report at bugs.python.org
Fri Mar 2 17:23:09 CET 2012


Pawel Prokop <pablo at uek.krakow.pl> added the comment:

I agree with Ezio, 
this feature should have an option to enable/disable.

Anyway, I use it in different way.

Since 2008, I've used this feature for performance comparision, whether some implementation changes in application code did not slow down application. Tests run after each commit. I compare execution time of particular test before and after commit.

With additional scripts, I create metrics and charts using gnuplot to visualize how execution time of each test changed during the development.
I can ensure the performance stability of the application.

----------

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


More information about the Python-bugs-list mailing list