Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19503
| Date | 2012-01-26 21:34 +0000 |
|---|---|
| From | Andrea Crotti <andrea.crotti.0@gmail.com> |
| Subject | profiling the evolution |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5137.1327613658.27778.python-list@python.org> (permalink) |
I am doing some analysis of profiling results and I use gprof2dot to generate nice graphs. Now I was thinking, wouldn't it be great to have a way to get a nice report that summarizes the evolution of my code. For example given two versions : version 1: func1: 10 seconds func2: 20 seconds version 2: func1: 12 seconds func2: 21 seconds change: func1: + 20 % func2: + 5% This requires some analysis of the stats generated but it shouldn't be too hard. Now the second thing is, does it make sense to generate a graph of this evolution? For example we can generate a normal profiling graph but give some colors to the nodes which are changed. Another great thing would be to have a graph which is actually clickable, so clicking on nodes would take you to the right source code file.. I think only PDF can do that of the format provided by DOT right? And it might not be so trivial, any alternatives? Anyone did something similar and would like to share?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
profiling the evolution Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-01-26 21:34 +0000
csiph-web