Android app frame rate--fps test

Source: Internet
Author: User

Android application frame rate fps is a very important measure of application fluency and can be optimized for applications based on FPS, so how do you test the FPS of our application during the development process?

Preparation Tool : Eclipse + Android Test Terminal

Test steps:

1. Turn on GPU rendering mode analysis in Settings. Click the "Settings" and "Developer Options" on your Android device, then tick "GPU Rendering Mode Analysis" (each terminal may be different, with the emphasis on even adb shell Dumpsys gfxinfo).

2. Restart our application. After you start the app, swipe on the app's page.

3. Open the command line and enter at the command line: adb shell Dumpsys gfxinfo "your own app name" > F:\fps.txt

Results Analysis:

1. Open the generated fps.txt to find the profile data in MS section.

    • 2, in order to see more directly, we can put the data into Excel, and then in the form of a chart to view.

3, it can be seen that the smoothness of my application is very low, under normal circumstances the frame rate should be around 16ms, if 1 seconds 60 frames, and execute time too long! So it needs to be optimized.

Android app frame rate--fps test

Related Article

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.