把 OnePlus One 从4.3 刷了 CM13 基于 Android 6.0 ,不知为什么同一个应用安装后第一次启动会长达6s之久{ThisTime: 5962 TotalTime: 5962 WaitTime: 5971 Complete },
之后冷启动又变成了{ThisTime: 1139 TotalTime: 1139 WaitTime: 1151 Complete},
再之后热启动是{ThisTime: 267 TotalTime: 267 WaitTime: 272 Complete} 。
而如果清除数据和缓存后再启动,又是6s, 不知是什么原因?
It turns out that this is one of the "features" of instant run. Fortunately, it has no impact on the startup speed of signed apk.
I originally thought that I would write a startup page specifically for this small application, but it seems that I was overthinking it.
Some things are just a matter of knowing or not knowing. In fact, most of the problems are these issues.