Last active
June 8, 2016 08:12
-
-
Save Makistos/531ded537956536116155f33d1a81bc8 to your computer and use it in GitHub Desktop.
Calculating how long dex2oat takes time on Android boot. Log is created with adb logcat -v threadtime > logcat.log. #bash #awk
This file contains hidden or 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
grep "dex2oat took" logcat.log | sed 's/\ms//g' | column -t -s ' ' | gawk '{ sum += $10 } END { print sum}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment