From dc59f5c89a7b59c4f8618d7f28faf897bc5738d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Fri, 7 Nov 2025 09:59:03 +0100 Subject: [PATCH 01/13] remove iOS mention from the Android benchmark docs --- .../android/sdk_performance_impact.md | 34 +++---------------- 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md index 395a2bb9a32aa..74e79a406f588 100644 --- a/content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md @@ -18,9 +18,7 @@ When integrating any SDK into your Android application, understanding its perfor ## Performance impact benchmarks -### Android SDK - -To simulate the typical usage of the Datadog SDK, it was integrated into the [Docile-Alligator/Infinity-For-Reddit][5] application and typical user behavior (in other words, scrolling the feed, browsing subreddits) was simulated. +To simulate the typical usage of the Datadog SDK, it was integrated into the [Docile-Alligator/Infinity-For-Reddit][3] application and typical user behavior (in other words, scrolling the feed, browsing subreddits) was simulated. The following SDK modules were added to the application: @@ -44,40 +42,16 @@ Below are the results of the measurements. You can read the following [page][1] for more details about these benchmarks. -### iOS SDK - -To simulate the typical usage of Datadog SDK, it was integrated into the [Beam][6] application and typical user behavior (scrolling the feed, browsing reddits) was simulated. - -The SDK features that were used: -1. Basic RUM instrumentation for tracking views, actions, and resources -2. Logging -3. Tracing - -Below are the results of the measurements. - -| Measurement | with SDK | without SDK | -|-------------------|---------------------------------|-------------| -| Peak CPU Usage | 44% | 40% | -| Peak Memory Usage | 72.4 MB | 67.96 MB | -| App startup time | 0.894 ms | 0.649 ms | -| Bundle size | 23.6 MB | 22.2 MB | -| Network usage | 21.88 KB sent, 1.68 KB received | n/a | - -You can read the following [page][2] for more details about these benchmarks. - ## Continuous benchmarks Datadog has an internal infrastructure of continuous benchmarking. There is an internal set of UI tests that run on a special benchmark application for every change made to the SDK. This way Datadog is able to detect performance regression early to ensure that they are prevented from reaching production releases. -You can find the source code of the benchmark app here: [Android][3], [iOS][4]. +You can find the source code of the benchmark app [here][2]. ## Further Reading {{< partial name="whats-next/whats-next.html" >}} [1]: https://github.com/DataDog/dd-sdk-android/blob/develop/docs/sdk_performance.md -[2]: https://github.com/DataDog/dd-sdk-ios/blob/develop/docs/sdk_performance.md -[3]: https://github.com/DataDog/dd-sdk-android/tree/develop/sample/benchmark -[4]: https://github.com/DataDog/dd-sdk-ios/tree/develop/BenchmarkTests -[5]: https://github.com/Docile-Alligator/Infinity-For-Reddit -[6]: https://github.com/awkward/beam +[2]: https://github.com/DataDog/dd-sdk-android/tree/develop/sample/benchmark +[3]: https://github.com/Docile-Alligator/Infinity-For-Reddit From de100245939cff4273a0b99335654bdce54e00a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Fri, 7 Nov 2025 09:59:17 +0100 Subject: [PATCH 02/13] add iOS benchmark docs --- .../ios/sdk_performance_impact.md | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md new file mode 100644 index 0000000000000..d8204d3c7738d --- /dev/null +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -0,0 +1,52 @@ +--- +title: SDK Performance Impact +description: Learn about how the SDK impacts performance of your application. +aliases: + - /real_user_monitoring/mobile_and_tv_monitoring/ios/sdk_performance_impact +further_reading: +- link: https://github.com/DataDog/dd-sdk-ios + tag: "Source Code" + text: dd-sdk-ios Source code +- link: /real_user_monitoring + tag: Documentation + text: Explore Real User Monitoring +--- + +## Overview + +When integrating any SDK into your iOS application, understanding its performance impact is crucial for maintaining a smooth user experience. The Datadog RUM SDK is designed with performance in mind and provides transparent measurements to help you make informed decisions. + +## Performance impact benchmarks + +To simulate the typical usage of Datadog SDK, it was integrated into the [Beam][3] application and typical user behavior (scrolling the feed, browsing reddits) was simulated. + +The SDK features that were used: +1. Basic RUM instrumentation for tracking views, actions, and resources +2. Logging +3. Tracing + +Below are the results of the measurements. + +| Measurement | with SDK | without SDK | +|-------------------|---------------------------------|-------------| +| Peak CPU Usage | 44% | 40% | +| Peak Memory Usage | 72.4 MB | 67.96 MB | +| App startup time | 0.894 ms | 0.649 ms | +| Bundle size | 23.6 MB | 22.2 MB | +| Network usage | 21.88 KB sent, 1.68 KB received | n/a | + +You can read the following [page][1] for more details about these benchmarks. + +## Continuous benchmarks + +Datadog has an internal infrastructure of continuous benchmarking. There is an internal set of UI tests that run on a special benchmark application for every change made to the SDK. This way Datadog is able to detect performance regression early to ensure that they are prevented from reaching production releases. + +You can find the source code of the benchmark app [here][2]. + +## Further Reading + +{{< partial name="whats-next/whats-next.html" >}} + +[2]: https://github.com/DataDog/dd-sdk-ios/blob/develop/docs/sdk_performance.md +[4]: https://github.com/DataDog/dd-sdk-ios/tree/develop/BenchmarkTests +[3]: https://github.com/awkward/beam From e875eecc62b0f5ad93345103c54ecde018419d21 Mon Sep 17 00:00:00 2001 From: Rosa Trieu Date: Fri, 7 Nov 2025 08:25:05 -0800 Subject: [PATCH 03/13] add ios sdk perf impact to left nav --- config/_default/menus/main.en.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/_default/menus/main.en.yaml b/config/_default/menus/main.en.yaml index ec80de0aee160..afe24623ede37 100644 --- a/config/_default/menus/main.en.yaml +++ b/config/_default/menus/main.en.yaml @@ -7631,6 +7631,11 @@ menu: parent: rum_mobile_ios identifier: rum_mobile_ios_supported_versions weight: 110 + - name: SDK Performance Impact + url: real_user_monitoring/application_monitoring/ios/sdk_performance_impact + parent: rum_mobile_ios + identifier: rum_mobile_ios_performance_overhead + weight: 111 - name: Flutter url: real_user_monitoring/application_monitoring/flutter parent: application_monitoring From 66706baf008e3c6204aa52ed26f8c6ca2ae9d2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:32:29 +0100 Subject: [PATCH 04/13] Update content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/android/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md index 74e79a406f588..f14ce94be5b6b 100644 --- a/content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/android/sdk_performance_impact.md @@ -46,7 +46,7 @@ You can read the following [page][1] for more details about these benchmarks. Datadog has an internal infrastructure of continuous benchmarking. There is an internal set of UI tests that run on a special benchmark application for every change made to the SDK. This way Datadog is able to detect performance regression early to ensure that they are prevented from reaching production releases. -You can find the source code of the benchmark app [here][2]. +See the [benchmark app source code][2]. ## Further Reading From bd360ab29306e594364a6894954731ce66cd799f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:53:57 +0100 Subject: [PATCH 05/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index d8204d3c7738d..d5b4849bc3e07 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -35,7 +35,7 @@ Below are the results of the measurements. | Bundle size | 23.6 MB | 22.2 MB | | Network usage | 21.88 KB sent, 1.68 KB received | n/a | -You can read the following [page][1] for more details about these benchmarks. +See the [SDK performance details on GitHub][2] for more information. ## Continuous benchmarks From f5321b6249eaf2d1592296b8c63d71f9bba9c597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:55:18 +0100 Subject: [PATCH 06/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index d5b4849bc3e07..60d33b9a29315 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -39,7 +39,7 @@ See the [SDK performance details on GitHub][2] for more information. ## Continuous benchmarks -Datadog has an internal infrastructure of continuous benchmarking. There is an internal set of UI tests that run on a special benchmark application for every change made to the SDK. This way Datadog is able to detect performance regression early to ensure that they are prevented from reaching production releases. +Datadog has an internal infrastructure of continuous benchmarking. UI tests run automatically on a benchmark application for every SDK change. This enables Datadog to detect performance regressions early to ensure that they are prevented from reaching production releases. You can find the source code of the benchmark app [here][2]. From ec0314c0f31880b026348cd78a7695fdc1586b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:55:31 +0100 Subject: [PATCH 07/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index 60d33b9a29315..38af16157836a 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -18,7 +18,7 @@ When integrating any SDK into your iOS application, understanding its performanc ## Performance impact benchmarks -To simulate the typical usage of Datadog SDK, it was integrated into the [Beam][3] application and typical user behavior (scrolling the feed, browsing reddits) was simulated. +To simulate the typical usage of Datadog SDK, it was integrated into the [Beam][1] application and typical user behavior (scrolling the feed, browsing subreddits) was simulated. The SDK features that were used: 1. Basic RUM instrumentation for tracking views, actions, and resources From dfbe9ebfcf3ec18283aa939835afdc369395daae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:55:43 +0100 Subject: [PATCH 08/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index 38af16157836a..9b7a27367d72e 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -20,7 +20,7 @@ When integrating any SDK into your iOS application, understanding its performanc To simulate the typical usage of Datadog SDK, it was integrated into the [Beam][1] application and typical user behavior (scrolling the feed, browsing subreddits) was simulated. -The SDK features that were used: +The SDK features used: 1. Basic RUM instrumentation for tracking views, actions, and resources 2. Logging 3. Tracing From 5bb171e6bd048806e7ed1783f4a21d8b488eff9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:56:15 +0100 Subject: [PATCH 09/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index 9b7a27367d72e..837f692576c86 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -47,6 +47,6 @@ You can find the source code of the benchmark app [here][2]. {{< partial name="whats-next/whats-next.html" >}} -[2]: https://github.com/DataDog/dd-sdk-ios/blob/develop/docs/sdk_performance.md +[1]: https://github.com/awkward/beam [4]: https://github.com/DataDog/dd-sdk-ios/tree/develop/BenchmarkTests [3]: https://github.com/awkward/beam From 1ef435939cc8af3fe6ff7371613ccdcd710adc1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:56:29 +0100 Subject: [PATCH 10/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index 837f692576c86..9ac6758df7134 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -48,5 +48,5 @@ You can find the source code of the benchmark app [here][2]. {{< partial name="whats-next/whats-next.html" >}} [1]: https://github.com/awkward/beam -[4]: https://github.com/DataDog/dd-sdk-ios/tree/develop/BenchmarkTests +[2]: https://github.com/DataDog/dd-sdk-ios/blob/develop/docs/sdk_performance.md [3]: https://github.com/awkward/beam From f21bcf7feddb7f2f9de2a0286a0f9563f22aa31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:57:12 +0100 Subject: [PATCH 11/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index 9ac6758df7134..a6cd6addcff00 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -49,4 +49,4 @@ You can find the source code of the benchmark app [here][2]. [1]: https://github.com/awkward/beam [2]: https://github.com/DataDog/dd-sdk-ios/blob/develop/docs/sdk_performance.md -[3]: https://github.com/awkward/beam +[3]: https://github.com/DataDog/dd-sdk-ios/tree/develop/BenchmarkTests From 05ce7af39a0e738f87bf0479d6d8da774b16968d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:57:23 +0100 Subject: [PATCH 12/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index a6cd6addcff00..46a68c2754191 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -41,7 +41,7 @@ See the [SDK performance details on GitHub][2] for more information. Datadog has an internal infrastructure of continuous benchmarking. UI tests run automatically on a benchmark application for every SDK change. This enables Datadog to detect performance regressions early to ensure that they are prevented from reaching production releases. -You can find the source code of the benchmark app [here][2]. +See the [benchmark app's source code on GitHub][3]. ## Further Reading From c95d8b792c9a819ec585078f145540b7e1517d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Lilensten?= Date: Wed, 12 Nov 2025 16:57:32 +0100 Subject: [PATCH 13/13] Update content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --- .../application_monitoring/ios/sdk_performance_impact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md index 46a68c2754191..e91f7837f5d0f 100644 --- a/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md +++ b/content/en/real_user_monitoring/application_monitoring/ios/sdk_performance_impact.md @@ -14,7 +14,7 @@ further_reading: ## Overview -When integrating any SDK into your iOS application, understanding its performance impact is crucial for maintaining a smooth user experience. The Datadog RUM SDK is designed with performance in mind and provides transparent measurements to help you make informed decisions. +When integrating any SDK into your iOS application, understanding its performance impact is crucial for maintaining a smooth user experience. The Datadog RUM SDK is designed with minimal performance overhead. Use these benchmarks to evaluate whether the SDK fits your app's performance budget and plan your integration accordingly. ## Performance impact benchmarks