-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
SentryAssetBundle
returns Future by default
#1462
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1462 +/- ##
==========================================
+ Coverage 90.20% 90.22% +0.01%
==========================================
Files 181 181
Lines 5788 5798 +10
==========================================
+ Hits 5221 5231 +10
Misses 567 567
☔ View full report in Codecov by Sentry. |
Android Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
bf4aed7 | 311.24 ms | 365.66 ms | 54.42 ms |
0be962b | 325.54 ms | 382.83 ms | 57.29 ms |
8fa3934 | 340.64 ms | 407.92 ms | 67.28 ms |
e66e71e | 296.84 ms | 345.43 ms | 48.59 ms |
ef2f368 | 350.06 ms | 429.44 ms | 79.38 ms |
62dde43 | 339.21 ms | 423.06 ms | 83.85 ms |
a094100 | 388.02 ms | 459.50 ms | 71.48 ms |
b2cbbc8 | 347.80 ms | 395.31 ms | 47.51 ms |
a61674e | 331.35 ms | 391.06 ms | 59.71 ms |
0a82a1e | 321.02 ms | 393.82 ms | 72.80 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
bf4aed7 | 6.06 MiB | 7.03 MiB | 997.04 KiB |
0be962b | 6.06 MiB | 7.03 MiB | 990.29 KiB |
8fa3934 | 6.06 MiB | 7.09 MiB | 1.03 MiB |
e66e71e | 6.06 MiB | 7.09 MiB | 1.03 MiB |
ef2f368 | 5.94 MiB | 6.89 MiB | 975.81 KiB |
62dde43 | 5.94 MiB | 6.96 MiB | 1.02 MiB |
a094100 | 5.94 MiB | 6.96 MiB | 1.02 MiB |
b2cbbc8 | 6.06 MiB | 7.03 MiB | 995.45 KiB |
a61674e | 6.06 MiB | 7.03 MiB | 990.29 KiB |
0a82a1e | 6.15 MiB | 7.11 MiB | 981.82 KiB |
iOS Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
b49bf00 | 1248.00 ms | 1260.35 ms | 12.35 ms |
a1a1545 | 1270.85 ms | 1289.82 ms | 18.96 ms |
ef2f368 | 1259.12 ms | 1277.04 ms | 17.92 ms |
fdac48a | 1281.92 ms | 1300.22 ms | 18.31 ms |
d7758e8 | 1271.69 ms | 1288.08 ms | 16.39 ms |
0be962b | 1264.10 ms | 1281.16 ms | 17.06 ms |
89ea268 | 1252.33 ms | 1253.58 ms | 1.26 ms |
3334ac1 | 1259.22 ms | 1275.40 ms | 16.17 ms |
1131914 | 1277.20 ms | 1300.20 ms | 23.00 ms |
ad69abc | 1259.00 ms | 1261.60 ms | 2.60 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
b49bf00 | 8.10 MiB | 9.08 MiB | 1004.36 KiB |
a1a1545 | 8.16 MiB | 9.17 MiB | 1.01 MiB |
ef2f368 | 8.15 MiB | 9.10 MiB | 965.24 KiB |
fdac48a | 8.10 MiB | 9.08 MiB | 1004.37 KiB |
d7758e8 | 8.15 MiB | 9.12 MiB | 989.76 KiB |
0be962b | 8.10 MiB | 9.16 MiB | 1.07 MiB |
89ea268 | 8.09 MiB | 9.16 MiB | 1.06 MiB |
3334ac1 | 8.10 MiB | 9.17 MiB | 1.08 MiB |
1131914 | 8.16 MiB | 9.17 MiB | 1.01 MiB |
ad69abc | 8.10 MiB | 9.08 MiB | 1004.37 KiB |
SentryAssetBundle
returns Future by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
I'm not sure i get the change done here. |
This is more semantically correct since it's an async method that has to That does not fix the issue that's why it's |
📜 Description
Calls were made
async
and it wasawait
to check its length.Now they return the Future by default and its only
await
when it should be.💡 Motivation and Context
Relates to #1457
💚 How did you test it?
📝 Checklist
sendDefaultPii
is enabled🔮 Next steps