-
Notifications
You must be signed in to change notification settings - Fork 1.2k
RUM-10726: Add more info about mobile sdk benchmarking #30301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,32 @@ | ||||||
--- | ||||||
title: Performance overhead | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
description: Learn about how SDK impacts performance of your application. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
aliases: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This parameter is really for previously existing pages that have been moved.
Suggested change
|
||||||
- /real_user_monitoring/mobile_and_tv_monitoring/performance_overhead/android | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
further_reading: | ||||||
- link: https://github.com/DataDog/dd-sdk-android | ||||||
tag: "Source Code" | ||||||
text: dd-sdk-android Source code | ||||||
- link: /real_user_monitoring | ||||||
tag: Documentation | ||||||
text: Explore Real User Monitoring | ||||||
--- | ||||||
|
||||||
## Performance overhead measurements | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
You can read the following pages with detailed explanation of how we measure performance overhead of the SDK: [Android][1], [iOS][2]. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## Continuous benchmarks | ||||||
|
||||||
We also have 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 we are able to detect performance regression early and don't allow the corresponding changes to be included in the following release. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
You can find the source code of the benchmark app here: [Android][3], [iOS][4]. | ||||||
|
||||||
## 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/session_replay_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 |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -36,8 +36,13 @@ To minimize the total upload volume, Datadog employs a highly optimized wire for | |||||
## Application size | ||||||
Datadog's SDK follows strict standards and aims to minimize the inclusion of third-party dependencies. This approach ensures that the SDK leverages as much native framework code as possible. On Android, the binary size produced by Datadog's own code in the AAR package is 480 kB. See more information on the application size impact [here][1]. On iOS, the size of exported `*.ipa` file will be higher by approximately 200 kB. | ||||||
|
||||||
## Benchmarks | ||||||
For more detailed description of how Session Replay performance overhead was measured you can visit the following pages: [Android][2], [iOS][3]. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## Further reading | ||||||
|
||||||
{{< partial name="whats-next/whats-next.html" >}} | ||||||
|
||||||
[1]: https://github.com/DataDog/dd-sdk-android/blob/develop/docs/sdk_performance.md?plain=1#L119 | ||||||
[1]: https://github.com/DataDog/dd-sdk-android/blob/develop/docs/sdk_performance.md?plain=1#L119 | ||||||
[2]: https://github.com/DataDog/dd-sdk-android/blob/develop/docs/sdk_performance.md#session-relay-performance-measurement | ||||||
[3]: https://github.com/DataDog/dd-sdk-ios/blob/develop/docs/session_replay_performance.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.