-
Notifications
You must be signed in to change notification settings - Fork 278
[android] Investigate reliance on ActivityManager
vs ActivityTaskManager
in adb logs
#4779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We could possibly change the logcat grep performance/src/scenarios/shared/runner.py Line 541 in eae9f65
f"logcat -d | grep -E 'ActivityManager|ActivityTaskManager: Displayed {androidHelper.activityname}'"
and the same for TTFD |
Do we happen to know or have a solid grasp on whether this should be only one or the other and that both won't show up in the same log? Based on my understanding, that seems to be the case as it will be dependent on some version of Android or some other system version. |
I am not aware of any potential problems regarding this. I think if we support both variants it would be "good-enough" for now. |
Description
When parsing adb logs for Android startup measurements:
performance/src/scenarios/shared/runner.py
Line 536 in 9a4c419
we expect that the TTID event gets reported by:
ActivityTaskManager
However, official docs suggests that TTID gets reported by
ActivityManager
: https://developer.android.com/topic/performance/vitals/launch-time#time-initialThe issue does not seem to happen on "newer" Androids ie:
Proposal
Support both variants, ie add a fallback option to cover both variants.
The text was updated successfully, but these errors were encountered: