Shark - where is application spending most of the time?
Shark - where is application spending most of the time?
- Subject: Shark - where is application spending most of the time?
- From: Izidor Jerebic <email@hidden>
- Date: Mon, 21 Jun 2004 21:25:43 +0200
Hello!
I asked the following question and got the answer real fast (thank
you!) - just use Shark. I did and it helped me enormously. I solved my
current problem...
But now I became spoiled. Shark only lists functions in two views -
tree view (call stack trace) and something called heavy view, which is
sorted by the time function itself has consumed (but not its
descendants!). I would really like the modified heavy option, that is:
functions sorted by the time they and their descendants have consumed,
because this would give me insight where the program is spending its
time. Right now, with some intuition and some clicking around, I can
guess which method I should be looking at. But it would be really nice
if the program would show them to me, because it already has all the
data, it just needs to display them.
Is there any configuration option to see such list in Shark?
izidor
P.S. If there is no way to do it currently, where should I file
enhancement request? Under what topic?
From: Izidor Jerebic <email@hidden>
Date: 21 June 2004 17:05:21 GMT+02:00
To: email@hidden
Subject: Sampler - where is application spending most of the time?
Hello!
I have a very basic wish - just want to see where my application
spends most of its time.
In the bad old days when profiling was done via gprof, it was easy to
see where your application spends most of the time, because gprof did
list the functions (methods) in one part of its report according to
time spent in the function + its descendants (plus it indicated where
it was called from and all those cycles were quite easy to navigate in
text editor because you could search for text which marked the
cycle)...
So you just skipped a couple system functions and main(), which were
at the top, and you saw clearly where your application is spending
time and how it came there and what was happening there (who was
called by whom etc.)...
Now, we have the Sampler and I cannot find this functionality. I just
want the list of most time consuming functions + number of times they
were called + information which one called them and which functions
were called by them (annotated by % of time consumed by each subpart
so you can navigate to most busy subtree).
How do I achieve this?
izidor
P.S. I did read the Sampler help...
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.