Android App launch time test

Source: Internet
Author: User

Open adb and enter the following command:

ADB shell am start-w-N com.zhangshao.app/com.qihoo.util.startactivity

AM is a command that is integrated in the shell, abbreviated by the Activitymanager. -W refers to when startup is complete and returns time-consuming. -N is followed by the package name and launchactivity of the app that needs to be launched.

To view the package name and activity name: Download Apktool, put the three files in the Windows directory, and then enter in cmd: AAPT dump badging Package Address

such as: AAPT dump badging C:\Users\Administrator\Desktop\taofeicui.apk can see the

The result of the startup time is as follows:

If you are only concerned about the startup time of an application, refer to TotalTime; If you are concerned about the time-consuming system startup application, refer to waittime; If you are concerned about application interface activity start time, refer to Thistime

Android App launch time test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.