查看啟動時間
adb shell am start -W 包名/完整啟動activity類名
統計頁面的啟動時間
adb logcat -s ActivityManager | grep "Displayed"
查看頂層activity
adb shell dumpsys activity | findstr "mFocusedActivity"
8.0以上用
adb shell dumpsys activity | findstr "mResumedActivity"
替換成grep也行
Android—ADB命令大結局
http://www.lxweimin.com/p/980fea2c9457