-
Notifications
You must be signed in to change notification settings - Fork 624
Check if the trace times are not NULL before creating the AppStartTrace. #4762
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
Conversation
📝 PRs merging into main branchOur main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released. Add the 'main-merge-ack' label to your PR to confirm merging into the main branch is intended. |
Coverage Report 1Affected Products
Test Logs |
Size Report 1Affected Products
Test Logs |
Startup Time Report 1Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS. Notes
Startup Times
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice if there were some tests for these edge cases. I'm not sure how easy it is for that.
Seeing that there is some trickiness to these cases, I would recommend removing the subtraces rather than keeping them.
firebase-perf/src/main/java/com/google/firebase/perf/metrics/AppStartTrace.java
Outdated
Show resolved
Hide resolved
firebase-perf/src/main/java/com/google/firebase/perf/metrics/AppStartTrace.java
Show resolved
Hide resolved
firebase-perf/src/main/java/com/google/firebase/perf/metrics/AppStartTrace.java
Outdated
Show resolved
Hide resolved
I thought about this. But felt the changes would be a lot more than the scope of this PR. So, will create a separate PR to remove all these experiments. |
Check if the trace times are not NULL before creating the AppStartTrace. Fixes #4730