Instruments

App performance is important. Users have little patience for apps that take too long to launch, are too slow to respond, or drain their batteries. Good design and coding practices can help, but they can only get you so far. And even when the app appears to work, how do you know?

Instruments is a tool for profiling parts of an app. You can use it to look at everything from execution time to memory use, network calls to battery usage—all the things that can affect the performance of an app.

Gathering data using Instruments is as simple as running your app for profiling and choosing your instrument(s). The available instruments check everything from execution time to memory use to network calls. You can use them to ensure the following ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.