Skip to content

Commit 49283ad

Browse files
authored
chore(SR): Update Mobile SDK perf pages for SR perf (#12392)
1 parent 9d4518d commit 49283ad

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

docs/platforms/android/overhead/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ As stated in our <Link to="/product/explore/profiling/performance-overhead">prod
4545
## Session Replay
4646

4747
As stated in our <Link to="/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 <PlatformLink to="/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.

docs/platforms/apple/common/overhead/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,4 @@ As stated in our <Link to="/product/explore/profiling/performance-overhead">prod
5656

5757
As stated in our <Link to="/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 <PlatformLink to="/session-replay/performance-overhead/">performance overhead docs for this SDK</PlatformLink>.
5858

59-
Note that this feature is still under development. We're working on performance improvements to mitigate a known issue where active Session Replay recording can currently introduce slow frames, especially on older iOS devices (for example iPhone 8).
60-
6159
</PlatformSection>

docs/platforms/apple/guides/ios/session-replay/performance-overhead.mdx

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

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.
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.
99

1010
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.
1111

@@ -16,7 +16,7 @@ The Pocket Casts app offers a diverse mix of components, including Fragments, Ac
1616
- **User Flow:** The same flow was executed 10 times to ensure consistency.
1717
- **Real-World Representation:** This approach closely mirrors performance in real-world scenarios.
1818

19-
The benchmarks were run on an iPhone 14 Pro.
19+
The benchmarks were run on an iPhone 14 Pro. Note that active Session Replay recording can introduce slow frames on older lower-end iOS devices (for example iPhone 8).
2020

2121
### Results
2222
Below are the results of the benchmarking tests, presented as median values to reflect typical overhead.
@@ -30,5 +30,3 @@ Below are the results of the benchmarking tests, presented as median values to r
3030
| App Startup Time (Cold) | 1264.80 ms | 1265 ms |
3131
| Main Thread Time | n/a | 43ms |
3232
| Network Bandwidth | n/a | 50 KB |
33-
34-

docs/platforms/react-native/overhead/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ As stated in our <Link to="/product/explore/profiling/performance-overhead">prod
4545
## Session Replay
4646

4747
As stated in our <Link to="/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 <PlatformLink to="/session-replay/performance-overhead/">performance overhead docs for this SDK</PlatformLink>.
48-
49-
Note that this feature is still under development. We're working on performance improvements to mitigate a known issue where active Session Replay recording can currently introduce slow frames, especially on older iOS devices (for example iPhone 8).

docs/platforms/react-native/session-replay/performance-overhead.mdx

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

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 app.
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 app.
99

1010
You can learn more about the various optimizations implemented in the React Native Replay SDK in the [Replay Performance Overhead](/product/explore/session-replay/mobile/performance-overhead/) docs.
1111

1212
The React Native Replay SDK is a lightweight wrapper for the native iOS and Android SDKs, so its overhead is minimal and doesn't require separate measurement. Below are the benchmark results for each platform.
1313

14-
We measured the overhead using the [Pocket Casts iOS](https://github.com/Automattic/pocket-casts-ios) and [Pocket Casts Android](https://github.com/Automattic/pocket-casts-android) open-source apps. Each includes a diverse set of components such as ViewControllers and SwiftUI screens.
14+
We measured the overhead using the [Pocket Casts iOS](https://github.com/Automattic/pocket-casts-ios) and [Pocket Casts Android](https://github.com/Automattic/pocket-casts-android) open-source apps. Each includes a diverse set of components such as ViewControllers and SwiftUI screens.
1515

1616
Here's how the benchmarks were conducted:
1717

1818
- **Configuration:** Full masking was enabled, and optimized release builds were used.
1919
- **User Flow:** The same flow was executed 10 times to ensure consistency.
2020
- **Real-World Representation:** This approach closely mirrors performance in real-world scenarios.
2121

22-
The benchmarks were run on an iPhone 14 Pro and a Pixel 2XL.
22+
The benchmarks were run on an iPhone 14 Pro and a Pixel 2XL. Note that active Session Replay recording can introduce slow frames on older lower-end iOS devices (for example iPhone 8).
2323

2424
## iOS
2525

@@ -44,5 +44,3 @@ The benchmarks were run on an iPhone 14 Pro and a Pixel 2XL.
4444
| App Startup Time (Cold) | 1533.35 ms | 1539.55 ms |
4545
| Main Thread Time | n/a | 20ms |
4646
| Network Bandwidth | n/a | 35 KB |
47-
48-

0 commit comments

Comments
 (0)