Makistos
4/13/2016 - 12:45 PM

Calculating how long dex2oat takes time on Android boot. Log is created with adb logcat -v threadtime > logcat.log. #bash #awk

Calculating how long dex2oat takes time on Android boot. Log is created with adb logcat -v threadtime > logcat.log. #bash #awk

grep "dex2oat took" logcat.log | sed 's/\ms//g' | column -t -s ' ' | gawk '{ sum += $10 }  END { print sum}'