What the best way to measure app/activity startup time?

ساخت وبلاگ

Vote count: 0

After googled this topic, I know there are several ways to measure the startup time of an android app.

  1. adb logcat -b events | grep am_activity_launch_time, see this post
  2. adb logcat -s ActivityManager:I | grep Displayed
  3. use reportFullyDrawn programmatically
  4. adb shell screenrecord --bugreport /sdcard/launch.mp4, to check video frame by frame, see this post
  5. adb shell am start -w packagename/MainActivity to check the output
  6. adb logcat -s Timeline:I, to checkout "App_transition_ready" and Activity_windows_visible in the output.

What is the most precise way to measure startup time of an Android app? What are the differences among them?

asked 12 secs ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 389 تاريخ : شنبه 14 اسفند 1395 ساعت: 13:43