views:

30

answers:

1

I really like the python coverage module:

http://nedbatchelder.com/code/coverage/

and the HTML pages it generates. Is there a combination of this and profiling so that one could see a unified HTML report of coverage+profiling.

Thanks in advance.

+1  A: 

Thanks, reckoner, glad that you like the HTML output from coverage. I've never done anything to combine it with a profiler, and haven't heard of anyone else doing it either.

When I created the HTML output, I had in the back of my mind the idea of having it be a generalized source-code-with-tool-annotations facility, but it was enough work just getting it built only for coverage!

Ned Batchelder
there is a line profiler here:http://packages.python.org/line_profiler/ that annotates individual lines based on profiler info.
reckoner