Mobile Performance Issues - Your feedback needed #45152
Replies: 3 comments 8 replies
-
I really like the idea of connecting main/UI thread issues to ANRs if they contribute to them. Is there potential to detect other slow operations on the main thread? It could be really useful if we could auto-instrument tagging spans that are running on the main thread and then just build detectors to detect "long running spans". I don't think we should create performance issues around these but if it leads to an ANR downstream, we could tie these spans back to the ANR event to give users more information on long running ops on the main thread that might have led to the ANR. We often don't have transactions running when an ANR is triggered, so this might require persisting the trace id somehow and sending that with the ANR so we can connect them back in sentry. |
Beta Was this translation helpful? Give feedback.
-
I'd be curious which resources do you mean exactly? In general, the list looks good to me, all of them make sense. What I'd add on top:
|
Beta Was this translation helpful? Give feedback.
-
I'm finding these "File IO on Main Thread" alerts to be unhelpful. Practically all of them are telling me that a The only other ones that I'm being told about are when the app has received a notification that it is going to be suspended and I'm doing cleanup work including saving to disk. None of these things appear to be something I can avoid. |
Beta Was this translation helpful? Give feedback.
-
Hi Folks! I’m an engineer at Sentry on the Mobile Developer Experience Team. We’re looking to expand the kinds of performance issues Sentry can detect to include more issues focused on what mobile developers care about. Our first foray into this is with the File IO on Main Thread Performance Issue, a pattern which can contribute towards Applications Not Responding (ANRs) / App Hangs.
Here are some situations we’re currently considering,
Are these situations important to you, are there any missing from this list that you would like to see?
Beta Was this translation helpful? Give feedback.
All reactions