Skip to content

Commit 800e00d

Browse files
romtsnlizokm
andauthored
Update docs/platforms/apple/guides/ios/session-replay/performance-overhead.mdx
Co-authored-by: Liza Mock <[email protected]>
1 parent 19be384 commit 800e00d

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

docs/platforms/apple/guides/ios/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 more 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 performance overhead optimizations implemented in the iOS 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-ios) app.
9+
10+
You can learn more about the various performance overhead optimizations implemented in the iOS Replay SDK in the [Replay Performance Overhead](/product/explore/session-replay/mobile/performance-overhead/) docs.
11+
12+
## Benchmarking the iOS 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+
- **Configuration:** Full masking was enabled, and optimized release builds were used.
16+
- **User Flow:** The same flow was executed 10 times to ensure consistency.
17+
- **Real-World Representation:** This approach closely mirrors performance in real-world scenarios.
18+
19+
The benchmarks were run on an iPhone 14 Pro.
20+
21+
### Results
22+
Below are the results of the benchmarking tests, presented as median values to reflect typical overhead.
923

10-
We measured the overhead of the iOS Replay SDK using the [Pocket Casts](https://github.com/Automattic/pocket-casts-ios) open-source app, which includes a diverse set of components such as ViewControllers and SwiftUI 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):
1124

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

0 commit comments

Comments
 (0)