I've been using probes quite intensely during last weeks:
http://blog.moritz.eysholdt.de/2013/04/ ... ation.html
http://github.com/meysholdt/performance_probes
They've proved to really useful to gather performance statistics so far
However, there is a scenario that I have some trouble with: Many events that I record via probes can occur in a nested fashion because implementations make use of recursion: You can think of:
Code: Select all
public void expensive(Data data) {
internalExpensive()
for (Data child:data.getChildren())
expensive(child);
}
- the recorded wall time includes the wall time of child events but
- it is unclear which children these actually are.
I'd love to see the recoded events in a tree, just in the same way as yourkit already displays the "Call Tree". I'm aware that in the I can display a call three for the recorded events as well, but displaying the full call stack is too much information for my scenarios. The recorded events get lost in the sheer size of the tree.
What's the best practice to display nested events in Probe tables? Are there helpful Yourkit features that I haven't discovered yet?
thanks,
Moritz