Performance report for C and C++ RUM SDKs

Updated at:

This report provides benchmark data for the Application Real-Time Monitoring Service (ARMS) Real User Monitoring (RUM) SDKs for C and C++. Use this data to evaluate the SDK's resource footprint -- CPU, memory, startup time, and binary size -- before you integrate it into your application.

All benchmarks were collected on macOS. The SDK adds minimal overhead: 2 to 10 ms to cold start, up to 0.2% CPU utilization, and under 1.2 MB memory during initialization.

Test environment

ItemDetails
DeviceMacBook Pro 2023
Operating systemmacOS Sonoma 14.2
CPUM3 Pro
Memory36 GB
Release time2023

Platform compatibility

Supported operating systems

Operating systemSupported versions
WindowsWin 7+ (x86 and x86_64)
macOS10.12+ (ARM64 and x86_64)

Collected device metadata

The SDK collects the following device metadata. All items require SDK version 0.1.0 or later.

Data itemMinimum SDK version
Device type0.1.0+
Device model0.1.0+
Operating system0.1.0+

Network metrics collected through curl

The SDK uses curl to collect network performance metrics. The following table lists supported metrics and the minimum curl version required.

CategoryMetricMinimum curl version
StatusStatus code7.64+
StatusLoading status7.64+
StatusError messageN/A
ResourceResource size7.64+
DurationTotal duration7.64+
DurationRedirection duration7.64+
DurationDNS duration7.64+
DurationTCP duration7.64+
DurationSSL duration7.64+
DurationResponse duration7.64+
DurationTransmission duration7.64+

Performance overhead

Startup duration

The SDK adds 2 to 10 milliseconds to application cold start on macOS.

Operating systemStartup overhead
macOS2 - 10 ms

CPU and memory impact

The following table shows the additional CPU utilization and memory usage the SDK introduces during two phases: initialization (startup) and active network monitoring.

MetricAt startupDuring network monitoring
CPU utilization0.1%0.2%
Memory usage1.12 MB92 KB

SDK binary size

The SDK ships as a dynamic library. The following table lists the library file size for each platform.

Operating systemSize (RUM SDK V0.1.0)
Windows297 KB
macOS1.1 MB