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

[Starfish] Measure content provider and application class creation using AppComponentFactory #3149

Open
markushi opened this issue Jan 18, 2024 · 0 comments

Comments

@markushi
Copy link
Member

Description

Similar to papa we want to not only measure the .onCreate() timings, but rather the whole initialization, including class loading and any static init timings.

This is only available on Android P and above. More docs about AppCompontentFactory can be found here. It's usually registered via AndroidManifest.xml:

<application
    android:appComponentFactory="com.example.MyAppComponentFactory" />

Things to consider:

  • Could we auto install a SentryAppComponentFactory factory?
  • How to deal with user-defined factories?
  • How to deal with it pre P?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Discussion
Development

No branches or pull requests

2 participants