[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: how to profile with Hyades

You can see high-level statistics in the method statistics view (or execution statistics in Hyades 3.2). This gives you the added totals of the whole profiling session, for both base time (time spend inside a method, excluding any methods it calls) and cumulative time (time spent in a method, including any methods it calls).

You can get some sense of the caller-callee relationship by using the Method Invocation view. You can get to this view by right clicking on a method in the method/execution statistics view. Although it is at the instance level; you can navigate the caller/callee tree and see each instance and the stack of what it calls.

I understand your comments about the Execution Flow view. I feel that it's time to improve this view. It's meant to be drawn proportionally to the actual times, so if the methods took 1 millisecond to execute, it shows up as a very thin bar. I would recommend using the sequence diagrams, which I think look much nicer. These are the class/object interactions. This gives you the added benefit of hotspots - on the vertical time bar on the left of the sequence diagram it gives you a quick sense of whether a particular time slot was short or long.

I believe there's a feature request opened on Hyades for supporting real CPU time (currently it does wall time). This would address the thread waiting issue you mentioned. Stay tuned ;-)

Thanks,
Curt


Neil Swingler wrote:

Iulian Dragos wrote:

Hello,

I spent most of yesterday playing with Hyades, but I could not really find a way to profile my application. Maybe someone here has some more experience, and can point me to a document or some easy steps to follow.

I was able to start the profiler as specified in the tutorial, and even got some views displaying "data". My problem was speciffically this "data", which didn't make much sense. In "Execution Flow" (which I take as the way to analyze 'speed') I could see some bars and some method names from time to time, but very sparse and without much sense to me.

Is it possible to have the plain old "tree widget", with method names, time (and percentage of total time) consumed, and under each method find the callees, and so on? Like most profilers do.

I am in the same position. I want to be able to see the time attributed to callees and callers accumulated across the whole profile run. Not at the individual call instance level.

I would also like to know if it's possible to remove time spent blocked (e.g. in Object.wait) from the times in the excution statistics.

--
Neil Swingler