• 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
Instruments/Performance tools advice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Instruments/Performance tools advice


  • Subject: Instruments/Performance tools advice
  • From: Peter N Lewis <email@hidden>
  • Date: Sun, 29 Mar 2009 19:52:40 +0800

[If Instruments and other performance tools don't fall under the purview of this mailing list, I'd be happy to be pointed in the right direction for performance tools discussion]

I've written some code that does a nice animation change to a window from one view to another (the window resizes and one view fades and another view appears) using Matt Gemmell's MGViewAnimation. This all works fine, but the first time there is a pause in the animation at the start, probably when it loads some resource, and so the first animation essentially pops from one state to the other. After that, the animation is smooth.

Normally I'd debug this by either:

* Randomly preloading and changing things until it worked.
or
* Instrumenting (in the old sense) my code with a basic profiling library that logs times and strings at various points so I can figure out where the delay is.


But I figure Instruments should be able to answer the question.

The primary problem seems to me that I need to control the start and stop of the profile (to match the start/stop of the animation). Is this possible?

Alternatively, is there some way to profile a larger time period, but then accurately limit the profiling to the desired time period?

Thanks,
   Peter.

--
     Run macros from your iPhone with Keyboard Maestro Control!
         or take a break with Derzle for your iPhone

Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac
Aragom Space War <http://www.stairways.com/iphone/aragom> Don't get killed!
Derzle <http://www.stairways.com/iphone/derzle> Enjoy a relaxing puzzle.
<http://www.stairways.com/> <http://download.stairways.com/>





_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Instruments/Performance tools advice
      • From: David Dunham <email@hidden>
    • Re: Instruments/Performance tools advice
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: Clicking on filenames in Groups & Files does nothing useful
  • Next by Date: Re: Question about IB and debugging
  • Previous by thread: Re: Clicking on filenames in Groups & Files does nothing useful
  • Next by thread: Re: Instruments/Performance tools advice
  • Index(es):
    • Date
    • Thread