-
-
Notifications
You must be signed in to change notification settings - Fork 442
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
File I/O on main thread #2382
File I/O on main thread #2382
Conversation
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
b85d8aa | 289.35 ms | 335.92 ms | 46.56 ms |
1e1ab7f | 383.48 ms | 441.37 ms | 57.89 ms |
703d523 | 358.00 ms | 369.94 ms | 11.94 ms |
7967d22 | 289.28 ms | 377.11 ms | 87.83 ms |
3695453 | 301.78 ms | 371.14 ms | 69.36 ms |
3695453 | 314.63 ms | 353.10 ms | 38.47 ms |
4a9c176 | 320.62 ms | 334.68 ms | 14.06 ms |
31f3e4c | 325.22 ms | 342.77 ms | 17.55 ms |
4a9c176 | 336.33 ms | 384.73 ms | 48.41 ms |
4a9c176 | 319.77 ms | 363.20 ms | 43.43 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
b85d8aa | 1.73 MiB | 2.32 MiB | 611.62 KiB |
1e1ab7f | 1.73 MiB | 2.32 MiB | 612.36 KiB |
703d523 | 1.73 MiB | 2.33 MiB | 613.23 KiB |
7967d22 | 1.73 MiB | 2.32 MiB | 612.47 KiB |
3695453 | 1.73 MiB | 2.32 MiB | 611.62 KiB |
3695453 | 1.73 MiB | 2.32 MiB | 611.62 KiB |
4a9c176 | 1.73 MiB | 2.33 MiB | 612.69 KiB |
31f3e4c | 1.73 MiB | 2.32 MiB | 612.47 KiB |
4a9c176 | 1.73 MiB | 2.33 MiB | 612.69 KiB |
4a9c176 | 1.73 MiB | 2.33 MiB | 612.69 KiB |
Previous results on branch: feat/file-io-main-thread
Startup times
Revision | Plain | With Sentry | Diff |
---|---|---|---|
9fdf794 | 275.04 ms | 346.22 ms | 71.18 ms |
48e9f36 | 314.20 ms | 370.79 ms | 56.60 ms |
0f9e808 | 329.47 ms | 346.92 ms | 17.45 ms |
d92d9f7 | 317.26 ms | 355.65 ms | 38.39 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
9fdf794 | 1.73 MiB | 2.32 MiB | 612.07 KiB |
48e9f36 | 1.73 MiB | 2.33 MiB | 615.62 KiB |
0f9e808 | 1.73 MiB | 2.32 MiB | 612.07 KiB |
d92d9f7 | 1.73 MiB | 2.33 MiB | 615.62 KiB |
Codecov ReportBase: 80.28% // Head: 80.23% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2382 +/- ##
============================================
- Coverage 80.28% 80.23% -0.06%
- Complexity 3690 3707 +17
============================================
Files 292 295 +3
Lines 13845 13896 +51
Branches 1833 1847 +14
============================================
+ Hits 11116 11149 +33
- Misses 2014 2025 +11
- Partials 715 722 +7
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Nicely done, please have a look at my comments 🚀
sentry/src/main/java/io/sentry/instrumentation/file/FileIOSpanManager.java
Outdated
Show resolved
Hide resolved
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.
Nice!
📜 Description
blocked_ui_thread
boolean flag indicating whether the span has run its entire lifespan on the main threadcall_stack
array which contains stack frames leading to the File I/O span for proper grouping of the issuesdebug_meta
on theSentryBaseEvent
level now, to also send it with transactions and not only events.💡 Motivation and Context
Q4 Goal
rfc: getsentry/rfcs#36
💚 How did you test it?
Manually, automated tests will follow
📝 Checklist
🔮 Next steps