getsentry / getsentry/sentry-java

Measure content provider and application class creation using AppComponentFactory

未关闭
#3,149 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Android Improvement Spans
主要语言
Kotlin
星标
1.4k
派生
478
平均合并
2 天 23 小时
30 天内合并 PR
67

描述

### Description

Similar to [papa](https://github.com/square/papa/blob/main/papa/src/main/java/papa/PerfAppComponentFactory.kt) 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](https://developer.android.com/reference/android/app/AppComponentFactory). It's usually registered via AndroidManifest.xml:

```xml

```

Things to consider:
* Could we auto install a `SentryAppComponentFactory` factory?
* How to deal with user-defined factories?
* How to deal with it pre P?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。