美文网首页
Android Performance Analysis Too

Android Performance Analysis Too

作者: BlackJava | 来源:发表于2020-05-02 11:52 被阅读0次

Performance Analysis

gfxinfo

adb shell dumpsys gfxinfo com.android.systemui >FPS.txt

systrace

python ~/Android/Sdk/platform-tools/systrace/systrace.py -b 8000 -t 5 -o systrace.html

bootchart

## enable bootchart function
adb shell 'touch /data/bootchart/enabled'
adb shell 'echo 120 > /data/bootchart/start'
adb reboot

## package bootchart data
adb shell 
cd data/bootchart/
tar -zcf bootchart.tgz *

## install bootchart soft
sudo apt-get install bootchart
sudo apt-get install systemd-bootchart
sudo apt-get install pybootchartgui

## pull bootchart file
adb pull data/bootchart/bootchart.tgz
bootchart bootchart.tgz

相关文章

网友评论

      本文标题:Android Performance Analysis Too

      本文链接:https://www.haomeiwen.com/subject/hkckghtx.html