instruments 中 Time Profiler的使用说明

注意手机上要有运行过的app: 1、我们要先 command + shift +k ,clean下 2、运行下app,command + r 3、Xcode–> Product–> Profile (command + i 快捷键)调出instrument,选择Time Profiler,我们可以跟踪哪个方法最耗时间,以此来优化 然后可以看到如下 点击左边红色的圆点,开始录制,我们就能看到方法执行
相关文章
相关标签/搜索