Performance report for C and C++ RUM SDKs
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
| Item | Details |
|---|---|
| Device | MacBook Pro 2023 |
| Operating system | macOS Sonoma 14.2 |
| CPU | M3 Pro |
| Memory | 36 GB |
| Release time | 2023 |
Platform compatibility
Supported operating systems
| Operating system | Supported versions |
|---|---|
| Windows | Win 7+ (x86 and x86_64) |
| macOS | 10.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 item | Minimum SDK version |
|---|---|
| Device type | 0.1.0+ |
| Device model | 0.1.0+ |
| Operating system | 0.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.
| Category | Metric | Minimum curl version |
|---|---|---|
| Status | Status code | 7.64+ |
| Status | Loading status | 7.64+ |
| Status | Error message | N/A |
| Resource | Resource size | 7.64+ |
| Duration | Total duration | 7.64+ |
| Duration | Redirection duration | 7.64+ |
| Duration | DNS duration | 7.64+ |
| Duration | TCP duration | 7.64+ |
| Duration | SSL duration | 7.64+ |
| Duration | Response duration | 7.64+ |
| Duration | Transmission duration | 7.64+ |
Performance overhead
Startup duration
The SDK adds 2 to 10 milliseconds to application cold start on macOS.
| Operating system | Startup overhead |
|---|---|
| macOS | 2 - 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.
| Metric | At startup | During network monitoring |
|---|---|---|
| CPU utilization | 0.1% | 0.2% |
| Memory usage | 1.12 MB | 92 KB |
SDK binary size
The SDK ships as a dynamic library. The following table lists the library file size for each platform.
| Operating system | Size (RUM SDK V0.1.0) |
|---|---|
| Windows | 297 KB |
| macOS | 1.1 MB |