-
-
Notifications
You must be signed in to change notification settings - Fork 445
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
[Android]: Report SDK size as a comment in PRs #1303
Comments
Some inspiration: firebase/firebase-android-sdk#3011 (comment) |
Worth noting that our JavaScript repo already has something like this, see getsentry/sentry-javascript#4993 (comment). |
Somehow related #1411 |
We could use https://github.com/JakeWharton/diffuse Diffuse is a tool for diffing APKs, AABs, AARs, and JARs in a way that aims to provide both a high-level view of what changes along with important detailed output. |
The first goal would be to get the output of diffuse and just add it as a comment to the PR. Example output of diffuse:
|
We could also give it a try with https://github.com/Tencent/matrix/tree/master/matrix/matrix-android/matrix-apk-canary
|
diffuse github action https://github.com/usefulness/diffuse-action |
Here's the relevant github action which already does an APK size diff: https://github.com/getsentry/action-app-sdk-overhead-metrics |
I thought @vaind added this here, no? |
not the breakdown of what changed, just the raw apk size. |
We'd like to start managing the bundle size of the SDK more actively.
For that, we'd like to start taking some numbers during PRs, and with the end goal of posting as a PR comment the bundle size and a diff to
main
.Approaches considered and characteristics of them:
Measuring the aar
Measuring the final app
Suggested Phases:
The text was updated successfully, but these errors were encountered: