iOS APP性能分析工具Instrument和分析crash日志

1.Instrument:使用,Xcode-product-profile(快捷键command+i)

常用的有Leaks和Time profiler,前者是用来检测APP中是否是内存泄露即野指针错误,后者可以查看当前应用最耗时在哪个线程或具体的API。

具体可以看老外写的这篇博客:http://www.raywenderlich.com/97886/instruments-tutorial-with-swift-getting-started

2.iOS crash日志分析

2.1 获取-符号化

2.2 日志分析:可以参考http://www.cnblogs.com/smileEvday/p/Crash1.html

2.3 第三方平台,看到开源中国客户端使用的是听云(http://doc.tingyun.com/help/html/doc/app.html)应用性能管理解决方案。

原文地址:https://www.cnblogs.com/zhaoyunboy/p/ios-crash-and-instrument.html