Instruments
Profiling an application is easy. Xcode provides an action for it. Trigger the Profile action by holding down on the Run button and selecting Profile from the menu that drops down. (When you choose an action using the button’s menu, the button continues to display the icon for that action.) Or, select Product → Profile ( I). The profiling application, Instruments, will launch and offer you a choice of what kind of profiling you want to do. See Figure 16.3.
Get Xcode 5 Start to Finish: iOS and OS X Development 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.