http://www.raywenderlich.com/23037/how-to-use-instruments-in-xcode
一直想了解一下,这套工具的使用,之前也看过一些文章,但总归没有学会,希望这次能学会。
Time for Profiling
这一篇主要是讲,如何找到对的地方,去优化你的代码。(这话说的,号生硬)The first lesson of optimisation is: find the right places to do it! :]
看到这里有个问题,
The best thing to do is to look through the list for the classes that you use in your app directly. In this case, HTTPHeaderDict, CGRegion, CGPath, CFNumber, etc can all be ignored for now.
However, the one that stands out is UIImage, as that’s certainly something that is dealt with in your app. Click on the arrow on the left of UIImage to display the full list. Select one and look at the extended detail panel:
怎么看出UIImage,不明白了。????
看完了,除了此处不明白之外,别的也差不多了,有点跃跃欲试。