Skip to content
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

Report app start more granularly #2177

Closed
romtsn opened this issue Jul 19, 2022 · 3 comments · Fixed by #3057
Closed

Report app start more granularly #2177

romtsn opened this issue Jul 19, 2022 · 3 comments · Fixed by #3057
Labels
enhancement New feature or request performance Performance API issues Platform: Android product

Comments

@romtsn
Copy link
Member

romtsn commented Jul 19, 2022

Description

The app start actually consists of multiple steps (e.g. process creation, bindApplication, etc.), so we could potentially create spans for each of this steps to give more insights for the users on where exactly can they optimize (e.g. system things like process creation cannot be optimized).

Prior art https://github.com/square/papa/blob/db3128e211a3cd916083d87d1d7eeac8cf8b8a56/papa/src/main/java/papa/internal/Perfs.kt

@philipphofmann
Copy link
Member

On Cocoa, we already do that. Maybe worth having a look before starting to implement this https://docs.sentry.io/platforms/apple/performance/instrumentation/automatic-instrumentation/#app-start-instrumentation.

@adinauer
Copy link
Member

adinauer commented Aug 3, 2022

Need to cache what happens before the SDK is initialized and later create spans with that information.

@markushi
Copy link
Member

Consider adapting the app-start time here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Performance API issues Platform: Android product
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants