APP_ performance test

1, start the emulator

2, install apk

 

 

 

pss_app actually occupied physical memory layer

cpu- map

GT Introduction

 https://gt.qq.com/

https://gt.qq.com/docs.html   

adb command

1.adb help
2.adb devices and obtain a listing of each of Examples Example emulator / device current running state

3.adb install zw.apk install applications

When 4.adb -s 123 install zw.apk mounting device to the specified multiple devices apk -s specified device.
5.adb pull from remote to local, from mobile phones to download files to your computer
6.adb push from local to remote from computer to upload files to the phone
7.adb start-server Start Service
8.adb kill-server kills Service
9.adb shell must be root to enter the job linux virtual machine to have root privileges, real machine needs its own set can.

10.adb logcat log

 adb logcat * .W> 1.log redirected to a file
Priority from low to high
 V-Verbose(lowest priority)
 D-Debug
 I-Info
 W-Warning
 E-Error
 F-Fatal
 S-Silent(highest priority,on which nothing is ever printed)
The following statement is filtered to show only the amount of priority warning or higher Log confidence
adb logcat *:W
 
Monkey
-Android front-end stress test, is stable
1, run timing: after the product is generally stable, functional testing is completed the first round of the night were.
2, need to know packageName.
3. Objective: The main test products if there is a crash and ANR problems.
 
Get packageName activityName
1、aapt
aapt dump badging apk名称
2、通过adb logcat获取
adb logcat | grep START
第一种方法:

第二种方法

 

 

 

 

 

 

 
 
 

Guess you like

Origin www.cnblogs.com/njq666/p/10954656.html