Files
knowledge-kit/Chapter1 - iOS/1.94.md

15 lines
902 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# APM
## 启动时间的监控和治理
- https://everettjf.github.io/2018/08/24/most-simple-task-queue-model/
- https://github.com/izhangxb/GMTC/blob/master/全球移动技术大会GMTC%202017%20PPT/手淘iOS性能优化探索%20.pdf
- https://mp.weixin.qq.com/s/Kf3EbDIUuf0aWVT-UCEmbA
- http://yulingtianxia.com/blog/2016/10/30/Optimizing-App-Startup-Time/
- https://www.jianshu.com/p/c14987eee107
- https://time.geekbang.org/column/article/85331
- https://punmy.cn/2018/06/18/15278496835424.html
- https://www.shangmayuan.com/a/a14fb820d1bc4457b018bf7b.html
> 我知道可以借助三方工具类BSBacktraceLogger获取主线程调用栈[BSBacktraceLogger bs_backtraceOfMainThread];然后定时0.01秒计算各方法的调用耗时。但是具体不知道该怎么计算啊,望老师指点!
作者回复: 连续相同的堆栈,将其时间相加就是那个堆栈方法的耗时。