How to Use Instruments in Xcode

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,不明白了。????


看完了,除了此处不明白之外,别的也差不多了,有点跃跃欲试。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值