Android Performance Test

Source: Internet
Author: User

1. Memory

Http://www.cnblogs.com/chengchengla1990/p/5644243.html

Steps:

(1) Launch app, add 3 cities, kill app, phone connect pc

(2) operation of core business

a.[Start xxx (add 3 cities in advance), enter XXX homepage, refresh the weather data, click Avatar, pull down to 1111 area, swipe left and right 222, point open 24 hours 333 and swipe, drop feed stream card to the bottom, switch the city, then switch 777, pull down the scene 2-3 screen, Open 4444, exit switch to my tab], switch to the background to start the calculation, 5 minutes after the memory value of 100M
B. Start xxx (add 3 cities in advance), enter XXX homepage, refresh 555 data, click Avatar, pull down to 1111 area, swipe left and right 2222, point to 24 hours 333 and swipe, drop feed stream card to the bottom, switch city, then toggle 777, drop down 777 2-3 screen , click on the 7777 chart, exit switch to my table

(3) ADB shell Dumpsys meminfo com.ttt.uuu

Divide the result by 1024.

2, Cpu-itest
See not operating the CPU smooth data
Steps:
(1) Launch app, add 3 cities, kill app
(3) Open XXXX, run core business a
(2) Mobile phone start itest, select the monitoring application for XXXX, click Start Monitoring, switch to the background
(4) After still 5min, open itest again, click Stop Monitoring, click the chart to see the green curve
(5) Test 5 times, take peak (standard not more than 10%)

3, Power (using powertutor, and then calculated)
Step 1:
(1) Launch app, add 3 cities, kill app
(2) Phone start powertutor, click Start Profiler, switch to the background
(3) Open XXXX, run core business A, and continuous operation 5min
(4) Open Powertutor again, click Application Viewer
(5) Click Ink Weather in the CPU, click Start view to view average power consumption (standard not exceeding 1%)
700mw*5min/60min/(4000MAH*4V)

Step 2:
(1) Launch app, add 3 cities, kill app
(3) Open XXXX, run core business A, and switch to the background lock screen
(2) Phone start Powertutor, click Start Profiler, switch to the background
(4) After 12h, open Powertutor again, click Application Viewer
(5) Click XXX in the CPU, click on Start view to view the average power consumption (the standard does not exceed 1%)
20mw*12h/(4000mah*4v) =1.5%

4, FPS (remove no more than 5 maximum)

Http://jingyan.baidu.com/article/ac6a9a5e7e5f352b653eacfa.html

Steps:
(1) Turn on GPU rendering mode analysis in Settings. Click "Settings", "Developer Options" on your Android device, then tick "GPU Display profile"
Red Rice 2

(2) Launch the app, turn off the weather background animation, close the ad
(3) Start xxx, select the location city, from the top of the homepage to the bottom, down to the top, repeated operation over 4 times
(4) ADB shell Dumpsys gfxinfo com.moji.mjweather>/users/jingjing.zhai//desktop/a.txt
(5) Open a.txt, data pasted into Excel, the value of each row summed to find the maximum value (can be removed up to 5 maximum) and the average
(The maximum frame consumption time is no higher than 16ms)

Android Performance 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.