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}'