Working with Xcode Instruments

What every iOS Developer should be doing with Instruments

I was just saying the other day how I’d never opened the Instruments tool in Xcode and lo and behold—this article popped up.

I started taking a look at Corgi Corral; CPU-usage is predictably high when playing the actual 1-minute game (since the accelerometer is collecting data), but goes right back down to a negligible amount on the menu screens.

When I try to assess memory usage, my app crashes immediately upon hitting the “record” button. I’m guessing this is either an Xcode issue, or I missed an important project setting somewhere. At any rate, I can see memory usage in the Debug Navigator and there’s a tiny increase in memory over time that concerns me, so I’ll be investigating that!