美文网首页
iOS性能优化

iOS性能优化

作者: 程序员不务正业 | 来源:发表于2017-08-29 09:28 被阅读525次

xcode -> open developer tool - > Instuments 黄色基本和内存有关

Activity Monitor

Activity Monitor
任务管理器,查看app运行时的状态

Allocations

内存一些使用情况,一些较大内存使用情况可以直接定位到xcode源代码位置。

Core Animation

用于查看页面刷新FPS, 理想值为60,正常值45-60,低于45需查找原因。

Time Profiler

EA4E09E2-4991-4243-943B-8DEE28B227C7.png

Leaks

主要检查内存泄漏问题。在xcode中可使用 cmd+shfit+B查看内存问题

6BE8B92E-11A1-4A84-A486-29538785E409.png

https://blog.ibireme.com/2015/11/12/smooth_user_interfaces_for_ios/

相关文章

网友评论

      本文标题:iOS性能优化

      本文链接:https://www.haomeiwen.com/subject/bfcgdxtx.html