https://mp.csdn.net/postedit/80164533  符号化崩溃日志

Instruments常用功能

IOS-Instruments profile检测

点击profile in instruments进入检测耗时分析

IOS-Instruments profile检测
主界面

IOS-Instruments profile检测


Separate by Thread:    按线程分开做分析,这样更容易揪出那些吃资源的问题线程。特别是对于主线程,它要处理和渲染所有的接口数据,一旦受到阻塞,程序必然卡顿或停止响应。
Invert Call Tree:    反向输出调用树。把调用层级最深的方法显示在最上面,更容易找到最耗时的操作。
Hide System Libraries:    隐藏系统库文件。过滤掉各种系统调用,只显示自己的代码调用。
Flattern Recursion:    拼合递归。将同一递归函数产生的多条堆栈(因为递归函数会调用自己)合并为一条。
Top Functions:    找到最耗时的函数或方法。

 

相关文章: