You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/android/overhead/index.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: SDK Overhead
3
-
description: "Learn about Sentry's Android SDK overhead."
3
+
description: "Learn about Sentry's Android SDK overhead and how you can tailor your configuration to minimize it."
4
4
sidebar_order: 7500
5
5
---
6
6
@@ -10,7 +10,7 @@ Adding new features or dependencies to your app incurs additional costs on resou
10
10
11
11
The SDK is designed to have minimal to no impact on user experience. To achieve this, we utilize an array of tools to continuously measure and optimize the performance of our implementations.
12
12
13
-
We also employ various techniques to ensure we don't add strain on the system's resources along the hot path - on Mobile, this very often means that we offload processing steps, I/O, and other things to a background thread, or we postpone processing to a later time if possible.
13
+
We also employ various techniques to ensure we don't add strain on the system's resources along the hot path. On Mobile, this very often means that we offload processing steps, I/O, and other things to a background thread, or we postpone processing to a later time if possible.
14
14
15
15
If you find (for example via local Profiling, or using Sentry to improve the performance of your app) that the SDK does not operate within the guidelines mentioned below, please [open an issue](https://github.com/getsentry/sentry-java/issues/new/choose) on our SDK repo and make sure you provide as much context as you can.
16
16
@@ -22,7 +22,7 @@ The SDK also provides methods to manually capture events: <PlatformLink to="/usa
22
22
23
23
## Screenshots and View Hierarchy
24
24
25
-
If you activate these features, the SDK will capture <PlatformLinkto="/enriching-events/screenshots">Screenshots</PlatformLink> and <PlatformLinkto="/enriching-events/viewhierarchy">View Hierarchy</PlatformLink> of the app's UI at the time of the error crash. This incurs a small overhead that is unnoticeable during normal operation.
25
+
If you activate these features, the SDK will capture <PlatformLinkto="/enriching-events/screenshots">Screenshots</PlatformLink> and <PlatformLinkto="/enriching-events/viewhierarchy">View Hierarchy</PlatformLink> of the app's UI at the time of an error or crash. This incurs a small overhead that is unnoticeable during normal operation.
26
26
27
27
If your app raises many errors in a tight loop, it can become too much to process quickly enough, and UI jank can be the result, so make sure you handle such cases appropriately. The SDK provides callbacks to fine-tune when to capture <PlatformLinkto="/enriching-events/screenshots#customize-screenshot-capturing">Screenshots</PlatformLink> and <PlatformLinkto="/enriching-events/viewhierarchy#customize-view-hierarchy-capturing">View Hierarchy</PlatformLink>, which can also be used to reduce performance impact in scenarios where you don't need screenshots or view hierarchies.
28
28
@@ -45,3 +45,5 @@ As stated in our <Link to="/product/explore/profiling/performance-overhead">prod
45
45
## Session Replay
46
46
47
47
As stated in our <Linkto="/product/explore/session-replay/mobile/performance-overhead">product docs on the topic</Link>, Session Replay adds some overhead, but should have minimal impact on the performance of your application. For more details on the measured overhead, read the <PlatformLinkto="/session-replay/performance-overhead/">performance overhead docs for this SDK</PlatformLink>.
48
+
49
+
Note that this feature is still under development and we're working on optimizing performance.
0 commit comments