39

IdleHandler,页面启动优化神器

 5 years ago
source link: https://juejin.im/post/5bea9a57e51d4509192b3d96
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
随着App的开发到了某个阶段必然会遇到一个需求,那就是优化页面的启动时间。第一个问题:有什么方法可以去统计页面的启动时间呢?adb logcat -s ActivityManager | grep "Displayed" 复制代码上面的命令行可用来进行查看。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK