Skip to content

Instantly share code, notes, and snippets.

@rosuH
Created July 20, 2021 08:43
Show Gist options
  • Save rosuH/69728f3362040ff7a8a3a7120fb0abd7 to your computer and use it in GitHub Desktop.
Save rosuH/69728f3362040ff7a8a3a7120fb0abd7 to your computer and use it in GitHub Desktop.
Shell about Android Performances.
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