Created
July 20, 2021 08:43
-
-
Save rosuH/69728f3362040ff7a8a3a7120fb0abd7 to your computer and use it in GitHub Desktop.
Shell about Android Performances.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in $(seq 1 100) | |
do | |
adb shell am force-stop com.exmaple | |
sleep 1 | |
adb shell am start-activity -W -n com.exmaple/.SplashActivity | grep "TotalTime" | cut -d ' ' -f 2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment