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.

Performance impact benchmarks

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:

  1. Basic RUM instrumentation for tracking views, actions, and resources
  2. Logging
  3. Tracing

Below are the results of the measurements.

Measurementwith SDKwithout SDK
Peak CPU Usage44%40%
Peak Memory Usage72.4 MB67.96 MB
App startup time0.894 ms0.649 ms
Bundle size23.6 MB22.2 MB
Network usage21.88 KB sent, 1.68 KB receivedn/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: