Original http://www.cocoachina.com/ios/20150225/11163.html
1. Use real-machine debugging (simulator and Real machine performance difference).
2. Using the Release configuration (when publishing the configuration, the compiler introduces a series of optimized &watchdog mechanisms for high performance to monitor the performance of the application for easy Crashlog)
Debug Project
1.Time Profile: Detects CPU usage, and each method consumes CPU time. (animation is very demanding and resource-intensive, not necessarily problematic)
Tick the call Tree->seperate thread (thread separation, clearly see the thread that consumes the most CPU) & Hide system libraries hidden systems related methods. 30x for 30ms, right above the Xcode button to directly locate the corresponding call method entry.
Invert Call Tree: You can quickly see how the method invocation path deepest method consumes CPU time.
Hide Missing Symbols: If dSYM can't find the app to call the system framework alive, then the table sees the call method name Smart See 16 binary values, tick this option to hide these symbols, easy to simplify the analysis of data.
IOS insturments Debugging (refer to grooming)