Instruments/Performance tools advice
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