• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drawing speed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Drawing speed
      • From: Andrew Pinski <email@hidden>
References: 
 >Re: Drawing speed (From: Henry McGilton <email@hidden>)

  • Prev by Date: Re: Drawing speed
  • Next by Date: Re: NSFileWrapper Bug/Problem
  • Previous by thread: Re: Drawing speed
  • Next by thread: Re: Drawing speed
  • Index(es):
    • Date
    • Thread