Skip to content

Commit 77d80e6

Browse files
romtsnlizokm
andauthored
Update docs/platforms/android/session-replay/performance-overhead.mdx
Co-authored-by: Liza Mock <[email protected]>
1 parent e11cb9c commit 77d80e6

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

docs/platforms/android/session-replay/performance-overhead.mdx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,22 @@ notSupported:
55
description: "Learn about how enabling Session Replay impacts the performance of your application."
66
---
77

8-
The only way to get accurate metrics is to measure performance overhead yourself. You can apply realistic access patterns against your own application, and correlate that to your own topline business metrics. You can learn more about the various optimizations implemented in the Android Replay SDK in the [Replay Performance Overhead](/product/explore/session-replay/mobile/performance-overhead/) documentation.
8+
If you're considering enabling Session Replay, it's important to first understand the potential performance impact to your app. While accurate metrics require realistic testing where you apply typical access patterns and correlate the results with your business metrics, to provide a baseline, we measured the overhead using the open-source [Pocket Casts](https://github.com/Automattic/pocket-casts-android) app.
99

10-
We measured the overhead of the Android Replay SDK using the [Pocket Casts](https://github.com/Automattic/pocket-casts-android) open-source app, which includes a diverse set of components such as Fragments, Activities, and Jetpack Compose screens. The benchmarks were conducted with full masking enabled, using optimized release builds, and running through the same user flow 10 times. This approach ensured the measurements closely reflect the overhead in a real-world application. Here are the results (median values are shown):
10+
You can learn more about the various optimizations implemented in the Android Replay SDK in the [Replay Performance Overhead](/product/explore/session-replay/mobile/performance-overhead/) docs.
11+
12+
## Benchmarking the Android Replay SDK
13+
14+
The Pocket Casts app offers a diverse mix of components, including Fragments, Activities, and Jetpack Compose screens, making it an ideal candidate for testing. Here's how the benchmarks were conducted:
15+
16+
- **Configuration:** Full masking was enabled, and optimized release builds were used.
17+
- **User Flow:** The same flow was executed 10 times to ensure consistency.
18+
- **Real-World Representation:** This approach closely mirrors performance in real-world scenarios.
19+
20+
The benchmarks were run on a Pixel 2XL with Android 11.
21+
22+
### Results
23+
Below are the results of the benchmarking tests, presented as median values to reflect typical overhead.
1124

1225
| Metric | Sentry SDK only | Sentry + Replay SDK |
1326
| -------------------------------- | --------------- | ------------------- |

0 commit comments

Comments
 (0)