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 minimal performance overhead. Use these benchmarks to evaluate whether the SDK fits your app’s performance budget and plan your integration accordingly.
To simulate the typical usage of Datadog SDK, it was integrated into the Beam application and typical user behavior (scrolling the feed, browsing subreddits) was simulated.
The SDK features used:
- Basic RUM instrumentation for tracking views, actions, and resources
- Logging
- 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 |
See the SDK performance details on GitHub for more information.
Continuous benchmarks
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.
See the benchmark app’s source code on GitHub.
Further Reading
Additional helpful documentation, links, and articles: