1. Open command line execution, adb shell Dumpsys meminfo
2. Copy the command line output to a local text file to find the PID of the specified process. If you read more pid:28902
3. In the command line: adb shell
4. After entering the ADB shell, enter: Top | grep 28902. The resource consumption of the specified process is then displayed in real time
First column: PID-Process ID
Second column: PR-priority
Column three: CPU%-instantaneous CPU utilization
The fourth column: S-the state of the process, where s indicates hibernation, R is running, Z represents a zombie state, and N indicates that the process precedence value is negative.
Fifth column: #THR-the number of threads currently used by the program
Fifth column: Vss-virtual Set Size Virtual memory consumption (contains memory consumed by shared libraries)
Sixth column: Rss-resident Set Size actually uses physical memory (contains memory consumed by shared libraries)
Seventh column: Pcy-ooxx, don't know what
Eighth column: UID-User ID to run the current process
Nineth column: name-process Name
Test app performance without tools