profiling the evolution

A

Andrea Crotti

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top