getsentry / getsentry/sentry-java

Measure content provider and application class creation using AppComponentFactory

オープン
#3,149 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Android Improvement Spans
主要言語
Kotlin
スター
1.4k
フォーク
478
平均マージ
2日 22時間
マージ済み PR(30日)
69

説明

### 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 を短くまとめたダイジェスト。