O'Reilly logo

Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming by Erica Sadun, Rod Strougo, Maurice Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debug Gauges: Mini “Instruments”

In Figure-14-9, two items are at the top level of the navigation pane, CPU and Memory. These debug gauges are like mini instruments that are updated with statistics for your app. They introduce very little overhead and are a great way to spot when it is time to profile for more detail. Other gauges are available depending on the type of app and the target.

The CPU gauge, shown in Figure 14-11, is good for catching performance problems before they become problems. If you find performance a bit sluggish, take a quick look with the CPU gauge. Spikes indicate that you might need to do something more efficiently. Launching Instruments to hone in on the issue is as easy as clicking the Profile in Instruments button ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required