-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
SentryExecutorS Thread Continuously Running, Causing High Power Consumption #3891
Comments
@sunxu3074 thanks for reaching out! Our Do you want to optimize the power consumption? You can definitely disable a few features to reduce it. If you can provide some more details about your app / environment we're happy to give you some more guidance! |
@markushi Thank you for your prompt reply. I have tried the following change, set every configuration option to false, but this thread keeps running. Below is a screenshot from the official OPPO app market, where they indicate that my app is continuously consuming battery power. |
@sunxu3074 could you try to disable |
@markushi |
RxCache threads should have nothing to do with the Sentry SDK, we don't use RxJava (or any dependency fwiw) in the Android SDK. In general, you could look out for the amount of breadcrumbs that your app generates:
As for this specific issue with breadcrumbs (with scope persistence), we're working on resolving it as we speak, so expect an update in the next couple of weeks. |
Description
While using Perfetto for performance analysis, we observed that the SentryExecutorS thread stays in a "Running" state consistently. Specifically, the thread shows continuous green blocks over certain time periods, indicating sustained CPU usage (see attached screenshot). This raises concerns about power consumption, especially during prolonged activity.
We would like to understand the following:
What is the purpose of the SentryExecutorS thread?
Is this continuous "Running" state expected behavior, and is there any way to optimize or reduce its CPU usage?
Are there any recommendations from the team regarding power optimization?
Looking forward to your guidance!
The text was updated successfully, but these errors were encountered: