Re: Drawing speed
Re: Drawing speed
- Subject: Re: Drawing speed
- From: Cameron Hayne <email@hidden>
- Date: Tue, 08 Jul 2003 06:00:56 -0400
On 8/7/03 1:43 AM, "Henry McGilton" <email@hidden> wrote:
>
So, I need to put in some timing code to find out who is doing what
>
to whom, how often, and how fast . . . I want to determine how much
>
time is taken creating colours, how much time is used in the
>
triangle subdivision, and how much time is used in defining the
>
Bezier paths.
While you may still to do that sort of manual instrumenting of your code to
get those measurements, you might want to try first just using the "Shark"
tool that comes as part of Apple's CHUD Tools package. It doesn't require
any recompiling or anything (although it gives you more info if you run a
program that has been compiled with debugging symbols) and it shows you
where the time is being spent. I found it very effective in pointing out
where the "hot spots" were in my program. Highly recommended.
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.