Skip to content

feat(profiling): rename ddheap USDT provider to otel_memory - #2480

Draft
scottgerring wants to merge 1 commit into
mainfrom
sgg/change-heap-usdt-name
Draft

feat(profiling): rename ddheap USDT provider to otel_memory#2480
scottgerring wants to merge 1 commit into
mainfrom
sgg/change-heap-usdt-name

Conversation

@scottgerring

Copy link
Copy Markdown
Member

Updating to reflect upstream profiler changes; we should land this once that has been merged.

@scottgerring
scottgerring force-pushed the sgg/change-heap-usdt-name branch from 819a803 to ec52c84 Compare September 8, 2026 13:26
@scottgerring scottgerring changed the title rename ddheap USDT provider to otel_memory feat(profiling): rename ddheap USDT provider to otel_memory Sep 8, 2026
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

📚 Documentation Check Results

⚠️ 486 documentation warning(s) found

📦 libdd-profiling-heap-allocator - 49 warning(s)

📦 libdd-profiling-heap-gotter-ffi - 333 warning(s)

📦 libdd-profiling-heap-gotter - 55 warning(s)

📦 libdd-profiling-heap-sampler - 49 warning(s)


Updated: 2026-09-08 13:28:46 UTC | Commit: e9937cd | missing-docs job results

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

🔒 Cargo Deny Results

⚠️ 2 issue(s) found, showing only errors (advisories, bans, sources)

📦 libdd-profiling-heap-allocator - 1 error(s)

Show output
error[vulnerability]: Invalid pointer dereference in `fmt::Pointer` impl for `Atomic` and `Shared` when the underlying pointer is invalid
   ┌─ /home/runner/work/libdatadog/libdatadog/Cargo.lock:21:1
   │
21 │ crossbeam-epoch 0.9.18 registry+https://github.com/rust-lang/crates.io-index
   │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ security vulnerability detected
   │
   ├ ID: RUSTSEC-2026-0204
   ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2026-0204
   ├ Affected versions of `fmt::Display` dereference the underlying pointer. This causes a invalid pointer dereference e.g., when a pointer created with `Atomic::null` or `Shared::null`. `fmt::Debug` impls and pre-0.9 `fmt::Display` impls, which do not dereference pointers, are not affected by this issue.
   ├ Announcement: https://github.com/crossbeam-rs/crossbeam/pull/1276
   ├ Solution: Upgrade to >=0.9.20 (try `cargo update -p crossbeam-epoch`)
   ├ crossbeam-epoch v0.9.18
     └── crossbeam-deque v0.8.5
         └── rayon-core v1.12.1
             └── rayon v1.10.0
                 └── criterion v0.5.1
                     └── (dev) libdd-profiling-heap-allocator v1.0.0

advisories FAILED, bans ok, sources ok

📦 libdd-profiling-heap-gotter-ffi - 1 error(s)

Show output
error[unsound]: Rand is unsound with a custom logger using `rand::rng()`
    ┌─ /home/runner/work/libdatadog/libdatadog/Cargo.lock:126:1
    │
126 │ rand 0.8.5 registry+https://github.com/rust-lang/crates.io-index
    │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unsound advisory detected
    │
    ├ ID: RUSTSEC-2026-0097
    ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2026-0097
    ├ It has been reported (by [@lopopolo](https://github.com/lopopolo)) that the `rand` library is [unsound](https://rust-lang.github.io/unsafe-code-guidelines/glossary.html#soundness-of-code--of-a-library) (i.e. that safe code using the public API can cause Undefined Behaviour) when all the following conditions are met:
      
      - The `log` and `thread_rng` features are enabled
      - A [custom logger](https://docs.rs/log/latest/log/#implementing-a-logger) is defined
      - The custom logger accesses `rand::rng()` (previously `rand::thread_rng()`) and calls any `TryRng` (previously `RngCore`) methods on `ThreadRng`
      - The `ThreadRng` (attempts to) reseed while called from the custom logger (this happens every 64 kB of generated data)
      - Trace-level logging is enabled or warn-level logging is enabled and the random source (the `getrandom` crate) is unable to provide a new seed
      
      `TryRng` (previously `RngCore`) methods for `ThreadRng` use `unsafe` code to cast `*mut BlockRng<ReseedingCore>` to `&mut BlockRng<ReseedingCore>`. When all the above conditions are met this results in an aliased mutable reference, violating the Stacked Borrows rules. Miri is able to detect this violation in sample code. Since construction of [aliased mutable references is Undefined Behaviour](https://doc.rust-lang.org/stable/nomicon/references.html), the behaviour of optimized builds is hard to predict.
    ├ Announcement: https://github.com/rust-random/rand/pull/1763
    ├ Solution: Upgrade to >=0.10.1 OR <0.10.0, >=0.9.3 OR <0.9.0, >=0.8.6 (try `cargo update -p rand`)
    ├ rand v0.8.5
      ├── (dev) libdd-common v5.2.0
      │   └── libdd-common-ffi v43.0.0
      │       └── libdd-profiling-heap-gotter-ffi v43.0.0
      └── proptest v1.5.0
          └── (dev) libdd-common v5.2.0 (*)

advisories FAILED, bans ok, sources ok

📦 libdd-profiling-heap-gotter - ✅ No issues

📦 libdd-profiling-heap-sampler - ✅ No issues


Updated: 2026-09-08 13:30:06 UTC | Commit: e9937cd | dependency-check job results

@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented Sep 8, 2026

Copy link
Copy Markdown

Pipelines  Tests

⚠️ Warnings

Your PR has failed checks. Please review the issues below and take necessary action before merging.

🚦 3 Pipeline jobs failed

Required checks pass | allchecks

View more details · View in GitHub Actions

Some checks have failed or timed out.

pr-name | pr_name_lint

View more details · View in GitHub Actions

PR title validation failed due to empty subject and type fields.

semver-check | validate

View more details · View in GitHub Actions

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 77.48% (+0.04%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: ec52c84 | Docs | View more details | Give us feedback!

@pr-commenter

pr-commenter Bot commented Sep 8, 2026

Copy link
Copy Markdown

Benchmarks

Comparison

Benchmark execution time: 2026-09-08 13:43:15

Comparing candidate commit ec52c84 in PR branch sgg/change-heap-usdt-name with baseline commit 1255bac in branch main.

📊 Benchmarking dashboard

Found 0 performance improvements and 3 performance regressions! Performance is the same for 27 metrics, 0 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:alloc_free/system/4096

  • 🟥 execution_time [+5.546ns; +5.746ns] or [+6.333%; +6.561%]

scenario:no_profiler/short_circuit/4096

  • 🟥 execution_time [+15.283ns; +16.335ns] or [+14.671%; +15.681%]

scenario:profiler_attached/fast_path_system/4096

  • 🟥 execution_time [+13.853ns; +14.005ns] or [+13.297%; +13.443%]

Candidate

Candidate benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz ec52c84 1788873970 sgg/change-heap-usdt-name
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/system/16 execution_time 15.202ns 16.158ns ± 0.250ns 16.192ns ± 0.109ns 16.287ns 16.489ns 16.648ns 16.922ns 4.51% -1.242 3.472 1.54% 0.018ns 1 200
alloc_free/system/256 execution_time 15.268ns 15.946ns ± 0.272ns 15.917ns ± 0.140ns 16.073ns 16.310ns 16.676ns 18.006ns 13.12% 2.331 16.244 1.70% 0.019ns 1 200
alloc_free/system/4096 execution_time 91.160ns 93.225ns ± 0.604ns 93.221ns ± 0.371ns 93.608ns 94.122ns 94.901ns 95.320ns 2.25% -0.090 1.671 0.65% 0.043ns 1 200
alloc_free/system/64 execution_time 15.202ns 15.949ns ± 0.218ns 15.956ns ± 0.120ns 16.065ns 16.313ns 16.510ns 16.581ns 3.92% -0.051 1.132 1.36% 0.015ns 1 200
alloc_free/system/65536 execution_time 86.732ns 88.878ns ± 0.463ns 88.832ns ± 0.169ns 89.006ns 89.350ns 90.287ns 92.245ns 3.84% 2.636 21.711 0.52% 0.033ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/system/16 execution_time [16.124ns; 16.193ns] or [-0.214%; +0.214%] None None None
alloc_free/system/256 execution_time [15.908ns; 15.984ns] or [-0.236%; +0.236%] None None None
alloc_free/system/4096 execution_time [93.141ns; 93.308ns] or [-0.090%; +0.090%] None None None
alloc_free/system/64 execution_time [15.919ns; 15.979ns] or [-0.190%; +0.190%] None None None
alloc_free/system/65536 execution_time [88.814ns; 88.943ns] or [-0.072%; +0.072%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz ec52c84 1788873970 sgg/change-heap-usdt-name
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
no_profiler/short_circuit/16 execution_time 25.523ns 26.731ns ± 0.582ns 26.712ns ± 0.362ns 27.071ns 27.688ns 28.265ns 28.781ns 7.75% 0.474 0.504 2.17% 0.041ns 1 200
no_profiler/short_circuit/256 execution_time 25.430ns 26.625ns ± 0.466ns 26.581ns ± 0.307ns 26.892ns 27.541ns 27.883ns 28.376ns 6.75% 0.710 0.893 1.74% 0.033ns 1 200
no_profiler/short_circuit/4096 execution_time 116.686ns 119.980ns ± 3.777ns 117.447ns ± 0.330ns 124.415ns 126.486ns 127.151ns 129.021ns 9.85% 0.820 -1.107 3.14% 0.267ns 1 200
no_profiler/short_circuit/64 execution_time 24.991ns 26.662ns ± 0.552ns 26.669ns ± 0.337ns 26.985ns 27.490ns 28.079ns 28.268ns 6.00% -0.155 0.874 2.06% 0.039ns 1 200
no_profiler/short_circuit/65536 execution_time 100.036ns 101.201ns ± 0.332ns 101.161ns ± 0.190ns 101.383ns 101.652ns 102.183ns 102.812ns 1.63% 0.780 3.635 0.33% 0.023ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
no_profiler/short_circuit/16 execution_time [26.650ns; 26.811ns] or [-0.302%; +0.302%] None None None
no_profiler/short_circuit/256 execution_time [26.561ns; 26.690ns] or [-0.242%; +0.242%] None None None
no_profiler/short_circuit/4096 execution_time [119.457ns; 120.503ns] or [-0.436%; +0.436%] None None None
no_profiler/short_circuit/64 execution_time [26.586ns; 26.739ns] or [-0.287%; +0.287%] None None None
no_profiler/short_circuit/65536 execution_time [101.155ns; 101.247ns] or [-0.045%; +0.045%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz ec52c84 1788873970 sgg/change-heap-usdt-name
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profiler_attached/slow_path_noop/16 execution_time 63.250ns 63.685ns ± 0.080ns 63.689ns ± 0.027ns 63.715ns 63.759ns 63.846ns 64.245ns 0.87% 0.409 17.644 0.12% 0.006ns 1 200
profiler_attached/slow_path_noop/256 execution_time 63.299ns 63.705ns ± 0.069ns 63.705ns ± 0.031ns 63.736ns 63.803ns 63.869ns 64.042ns 0.53% -0.571 8.929 0.11% 0.005ns 1 200
profiler_attached/slow_path_noop/4096 execution_time 63.607ns 64.065ns ± 0.095ns 64.058ns ± 0.026ns 64.087ns 64.159ns 64.264ns 64.950ns 1.39% 3.494 41.184 0.15% 0.007ns 1 200
profiler_attached/slow_path_noop/64 execution_time 63.146ns 63.696ns ± 0.081ns 63.691ns ± 0.030ns 63.726ns 63.796ns 63.933ns 64.101ns 0.64% -1.415 17.433 0.13% 0.006ns 1 200
profiler_attached/slow_path_noop/65536 execution_time 67.920ns 68.195ns ± 0.170ns 68.180ns ± 0.035ns 68.219ns 68.284ns 68.517ns 70.342ns 3.17% 10.128 124.405 0.25% 0.012ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profiler_attached/slow_path_noop/16 execution_time [63.674ns; 63.696ns] or [-0.017%; +0.017%] None None None
profiler_attached/slow_path_noop/256 execution_time [63.695ns; 63.715ns] or [-0.015%; +0.015%] None None None
profiler_attached/slow_path_noop/4096 execution_time [64.052ns; 64.078ns] or [-0.020%; +0.020%] None None None
profiler_attached/slow_path_noop/64 execution_time [63.685ns; 63.707ns] or [-0.018%; +0.018%] None None None
profiler_attached/slow_path_noop/65536 execution_time [68.171ns; 68.219ns] or [-0.035%; +0.035%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz ec52c84 1788873970 sgg/change-heap-usdt-name
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profiler_attached/fast_path_system/16 execution_time 26.203ns 27.624ns ± 0.459ns 27.631ns ± 0.251ns 27.867ns 28.244ns 28.996ns 29.702ns 7.50% 0.504 2.846 1.66% 0.032ns 1 200
profiler_attached/fast_path_system/256 execution_time 26.916ns 27.865ns ± 0.345ns 27.835ns ± 0.205ns 28.015ns 28.435ns 29.083ns 29.243ns 5.06% 1.127 2.595 1.23% 0.024ns 1 200
profiler_attached/fast_path_system/4096 execution_time 115.518ns 118.109ns ± 0.348ns 118.130ns ± 0.147ns 118.273ns 118.478ns 118.767ns 119.843ns 1.45% -1.762 17.902 0.29% 0.025ns 1 200
profiler_attached/fast_path_system/64 execution_time 26.390ns 27.517ns ± 0.536ns 27.454ns ± 0.322ns 27.807ns 28.369ns 29.077ns 30.321ns 10.44% 1.051 3.387 1.94% 0.038ns 1 200
profiler_attached/fast_path_system/65536 execution_time 101.111ns 102.187ns ± 0.302ns 102.192ns ± 0.164ns 102.356ns 102.631ns 102.952ns 103.204ns 0.99% -0.289 1.914 0.30% 0.021ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profiler_attached/fast_path_system/16 execution_time [27.560ns; 27.687ns] or [-0.230%; +0.230%] None None None
profiler_attached/fast_path_system/256 execution_time [27.818ns; 27.913ns] or [-0.172%; +0.172%] None None None
profiler_attached/fast_path_system/4096 execution_time [118.060ns; 118.157ns] or [-0.041%; +0.041%] None None None
profiler_attached/fast_path_system/64 execution_time [27.443ns; 27.592ns] or [-0.270%; +0.270%] None None None
profiler_attached/fast_path_system/65536 execution_time [102.145ns; 102.229ns] or [-0.041%; +0.041%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz ec52c84 1788873970 sgg/change-heap-usdt-name
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profiler_attached/fast_path_noop/16 execution_time 14.401ns 14.487ns ± 0.015ns 14.487ns ± 0.005ns 14.492ns 14.508ns 14.523ns 14.570ns 0.58% -0.491 14.213 0.10% 0.001ns 1 200
profiler_attached/fast_path_noop/256 execution_time 14.403ns 14.489ns ± 0.016ns 14.488ns ± 0.006ns 14.496ns 14.510ns 14.555ns 14.585ns 0.67% 0.198 13.588 0.11% 0.001ns 1 200
profiler_attached/fast_path_noop/4096 execution_time 14.401ns 14.490ns ± 0.027ns 14.488ns ± 0.006ns 14.493ns 14.512ns 14.539ns 14.773ns 1.97% 6.816 66.577 0.18% 0.002ns 1 200
profiler_attached/fast_path_noop/64 execution_time 14.402ns 14.489ns ± 0.016ns 14.488ns ± 0.006ns 14.495ns 14.507ns 14.539ns 14.558ns 0.48% -0.512 9.971 0.11% 0.001ns 1 200
profiler_attached/fast_path_noop/65536 execution_time 14.401ns 14.491ns ± 0.024ns 14.488ns ± 0.005ns 14.494ns 14.510ns 14.534ns 14.765ns 1.91% 7.866 90.843 0.16% 0.002ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profiler_attached/fast_path_noop/16 execution_time [14.485ns; 14.490ns] or [-0.014%; +0.014%] None None None
profiler_attached/fast_path_noop/256 execution_time [14.487ns; 14.491ns] or [-0.016%; +0.016%] None None None
profiler_attached/fast_path_noop/4096 execution_time [14.486ns; 14.494ns] or [-0.026%; +0.026%] None None None
profiler_attached/fast_path_noop/64 execution_time [14.486ns; 14.491ns] or [-0.015%; +0.015%] None None None
profiler_attached/fast_path_noop/65536 execution_time [14.488ns; 14.494ns] or [-0.023%; +0.023%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz ec52c84 1788873970 sgg/change-heap-usdt-name
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profiler_attached/slow_path_system/16 execution_time 86.681ns 89.205ns ± 0.337ns 89.222ns ± 0.147ns 89.377ns 89.660ns 89.795ns 90.035ns 0.91% -2.868 18.622 0.38% 0.024ns 1 200
profiler_attached/slow_path_system/256 execution_time 86.510ns 89.136ns ± 0.447ns 89.208ns ± 0.154ns 89.351ns 89.560ns 89.838ns 89.985ns 0.87% -3.278 15.009 0.50% 0.032ns 1 200
profiler_attached/slow_path_system/4096 execution_time 147.078ns 147.962ns ± 0.276ns 147.952ns ± 0.117ns 148.071ns 148.242ns 148.550ns 150.460ns 1.70% 3.661 32.991 0.19% 0.019ns 1 200
profiler_attached/slow_path_system/64 execution_time 87.858ns 89.149ns ± 0.328ns 89.148ns ± 0.180ns 89.337ns 89.647ns 89.896ns 90.604ns 1.63% 0.023 3.309 0.37% 0.023ns 1 200
profiler_attached/slow_path_system/65536 execution_time 156.084ns 157.573ns ± 0.293ns 157.545ns ± 0.116ns 157.687ns 158.005ns 158.249ns 160.022ns 1.57% 2.578 26.253 0.19% 0.021ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profiler_attached/slow_path_system/16 execution_time [89.158ns; 89.251ns] or [-0.052%; +0.052%] None None None
profiler_attached/slow_path_system/256 execution_time [89.074ns; 89.198ns] or [-0.069%; +0.069%] None None None
profiler_attached/slow_path_system/4096 execution_time [147.924ns; 148.001ns] or [-0.026%; +0.026%] None None None
profiler_attached/slow_path_system/64 execution_time [89.104ns; 89.195ns] or [-0.051%; +0.051%] None None None
profiler_attached/slow_path_system/65536 execution_time [157.533ns; 157.614ns] or [-0.026%; +0.026%] None None None

Baseline

Baseline benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz 1255bac 1788873580 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/system/16 execution_time 15.201ns 15.869ns ± 0.230ns 15.900ns ± 0.147ns 16.021ns 16.200ns 16.364ns 16.422ns 3.28% -0.456 0.236 1.45% 0.016ns 1 200
alloc_free/system/256 execution_time 15.202ns 16.034ns ± 0.234ns 16.017ns ± 0.123ns 16.141ns 16.454ns 16.704ns 16.877ns 5.37% 0.157 1.925 1.45% 0.017ns 1 200
alloc_free/system/4096 execution_time 85.826ns 87.579ns ± 0.395ns 87.568ns ± 0.195ns 87.766ns 88.190ns 88.619ns 89.220ns 1.89% -0.231 5.317 0.45% 0.028ns 1 200
alloc_free/system/64 execution_time 15.456ns 15.971ns ± 0.208ns 15.952ns ± 0.110ns 16.071ns 16.361ns 16.580ns 16.878ns 5.80% 0.908 2.319 1.30% 0.015ns 1 200
alloc_free/system/65536 execution_time 87.812ns 88.863ns ± 0.310ns 88.843ns ± 0.167ns 89.020ns 89.300ns 89.516ns 90.960ns 2.38% 1.633 11.128 0.35% 0.022ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/system/16 execution_time [15.837ns; 15.901ns] or [-0.201%; +0.201%] None None None
alloc_free/system/256 execution_time [16.002ns; 16.067ns] or [-0.202%; +0.202%] None None None
alloc_free/system/4096 execution_time [87.524ns; 87.633ns] or [-0.062%; +0.062%] None None None
alloc_free/system/64 execution_time [15.942ns; 16.000ns] or [-0.181%; +0.181%] None None None
alloc_free/system/65536 execution_time [88.820ns; 88.906ns] or [-0.048%; +0.048%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz 1255bac 1788873580 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
no_profiler/short_circuit/16 execution_time 25.210ns 26.875ns ± 0.625ns 26.855ns ± 0.304ns 27.198ns 28.018ns 28.379ns 29.262ns 8.96% 0.420 1.698 2.32% 0.044ns 1 200
no_profiler/short_circuit/256 execution_time 25.622ns 26.938ns ± 0.496ns 26.859ns ± 0.276ns 27.215ns 27.754ns 28.344ns 28.711ns 6.90% 0.519 1.015 1.84% 0.035ns 1 200
no_profiler/short_circuit/4096 execution_time 102.524ns 104.171ns ± 0.396ns 104.161ns ± 0.211ns 104.373ns 104.716ns 105.224ns 106.249ns 2.00% 0.286 5.098 0.38% 0.028ns 1 200
no_profiler/short_circuit/64 execution_time 25.180ns 26.813ns ± 0.563ns 26.830ns ± 0.326ns 27.140ns 27.748ns 28.130ns 28.821ns 7.42% -0.045 1.028 2.10% 0.040ns 1 200
no_profiler/short_circuit/65536 execution_time 98.653ns 101.223ns ± 0.383ns 101.239ns ± 0.156ns 101.375ns 101.704ns 102.499ns 102.792ns 1.53% -1.133 12.821 0.38% 0.027ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
no_profiler/short_circuit/16 execution_time [26.788ns; 26.961ns] or [-0.322%; +0.322%] None None None
no_profiler/short_circuit/256 execution_time [26.869ns; 27.006ns] or [-0.255%; +0.255%] None None None
no_profiler/short_circuit/4096 execution_time [104.116ns; 104.226ns] or [-0.053%; +0.053%] None None None
no_profiler/short_circuit/64 execution_time [26.735ns; 26.891ns] or [-0.291%; +0.291%] None None None
no_profiler/short_circuit/65536 execution_time [101.170ns; 101.276ns] or [-0.052%; +0.052%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz 1255bac 1788873580 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profiler_attached/slow_path_noop/16 execution_time 63.382ns 63.677ns ± 0.096ns 63.663ns ± 0.031ns 63.700ns 63.796ns 64.153ns 64.377ns 1.12% 3.529 22.411 0.15% 0.007ns 1 200
profiler_attached/slow_path_noop/256 execution_time 63.310ns 63.688ns ± 0.068ns 63.686ns ± 0.030ns 63.719ns 63.803ns 63.842ns 63.985ns 0.47% -0.630 8.775 0.11% 0.005ns 1 200
profiler_attached/slow_path_noop/4096 execution_time 63.826ns 64.042ns ± 0.070ns 64.037ns ± 0.026ns 64.061ns 64.122ns 64.308ns 64.543ns 0.79% 2.729 16.642 0.11% 0.005ns 1 200
profiler_attached/slow_path_noop/64 execution_time 63.279ns 63.666ns ± 0.077ns 63.661ns ± 0.032ns 63.698ns 63.752ns 63.921ns 64.190ns 0.83% 1.738 16.464 0.12% 0.005ns 1 200
profiler_attached/slow_path_noop/65536 execution_time 67.798ns 68.228ns ± 0.084ns 68.224ns ± 0.035ns 68.261ns 68.332ns 68.435ns 68.667ns 0.65% -0.450 10.006 0.12% 0.006ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profiler_attached/slow_path_noop/16 execution_time [63.664ns; 63.691ns] or [-0.021%; +0.021%] None None None
profiler_attached/slow_path_noop/256 execution_time [63.678ns; 63.697ns] or [-0.015%; +0.015%] None None None
profiler_attached/slow_path_noop/4096 execution_time [64.032ns; 64.051ns] or [-0.015%; +0.015%] None None None
profiler_attached/slow_path_noop/64 execution_time [63.655ns; 63.677ns] or [-0.017%; +0.017%] None None None
profiler_attached/slow_path_noop/65536 execution_time [68.216ns; 68.239ns] or [-0.017%; +0.017%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz 1255bac 1788873580 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profiler_attached/fast_path_system/16 execution_time 26.285ns 27.528ns ± 0.475ns 27.503ns ± 0.305ns 27.808ns 28.240ns 29.203ns 29.419ns 6.97% 0.654 1.612 1.72% 0.034ns 1 200
profiler_attached/fast_path_system/256 execution_time 26.290ns 27.462ns ± 0.428ns 27.441ns ± 0.260ns 27.724ns 28.133ns 28.709ns 28.884ns 5.26% 0.250 0.514 1.56% 0.030ns 1 200
profiler_attached/fast_path_system/4096 execution_time 102.810ns 104.180ns ± 0.426ns 104.202ns ± 0.223ns 104.398ns 104.784ns 105.273ns 105.793ns 1.53% -0.137 2.156 0.41% 0.030ns 1 200
profiler_attached/fast_path_system/64 execution_time 26.335ns 27.585ns ± 0.494ns 27.599ns ± 0.300ns 27.868ns 28.460ns 28.604ns 29.826ns 8.07% 0.479 1.458 1.79% 0.035ns 1 200
profiler_attached/fast_path_system/65536 execution_time 99.494ns 102.121ns ± 0.386ns 102.130ns ± 0.169ns 102.303ns 102.633ns 103.084ns 103.310ns 1.16% -1.572 11.083 0.38% 0.027ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profiler_attached/fast_path_system/16 execution_time [27.462ns; 27.593ns] or [-0.239%; +0.239%] None None None
profiler_attached/fast_path_system/256 execution_time [27.402ns; 27.521ns] or [-0.216%; +0.216%] None None None
profiler_attached/fast_path_system/4096 execution_time [104.121ns; 104.239ns] or [-0.057%; +0.057%] None None None
profiler_attached/fast_path_system/64 execution_time [27.516ns; 27.653ns] or [-0.248%; +0.248%] None None None
profiler_attached/fast_path_system/65536 execution_time [102.068ns; 102.175ns] or [-0.052%; +0.052%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz 1255bac 1788873580 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profiler_attached/fast_path_noop/16 execution_time 14.401ns 14.487ns ± 0.016ns 14.487ns ± 0.006ns 14.493ns 14.508ns 14.545ns 14.573ns 0.60% -0.285 11.167 0.11% 0.001ns 1 200
profiler_attached/fast_path_noop/256 execution_time 14.401ns 14.488ns ± 0.020ns 14.487ns ± 0.006ns 14.493ns 14.502ns 14.554ns 14.639ns 1.05% 2.765 26.221 0.13% 0.001ns 1 200
profiler_attached/fast_path_noop/4096 execution_time 14.401ns 14.491ns ± 0.025ns 14.489ns ± 0.007ns 14.496ns 14.509ns 14.536ns 14.770ns 1.94% 7.074 77.611 0.17% 0.002ns 1 200
profiler_attached/fast_path_noop/64 execution_time 14.401ns 14.493ns ± 0.024ns 14.490ns ± 0.006ns 14.497ns 14.511ns 14.558ns 14.713ns 1.54% 5.199 43.403 0.17% 0.002ns 1 200
profiler_attached/fast_path_noop/65536 execution_time 14.401ns 14.488ns ± 0.016ns 14.488ns ± 0.006ns 14.494ns 14.512ns 14.535ns 14.561ns 0.50% -0.441 11.486 0.11% 0.001ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profiler_attached/fast_path_noop/16 execution_time [14.485ns; 14.489ns] or [-0.016%; +0.016%] None None None
profiler_attached/fast_path_noop/256 execution_time [14.485ns; 14.491ns] or [-0.019%; +0.019%] None None None
profiler_attached/fast_path_noop/4096 execution_time [14.488ns; 14.494ns] or [-0.024%; +0.024%] None None None
profiler_attached/fast_path_noop/64 execution_time [14.489ns; 14.496ns] or [-0.023%; +0.023%] None None None
profiler_attached/fast_path_noop/65536 execution_time [14.486ns; 14.490ns] or [-0.015%; +0.015%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz 1255bac 1788873580 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profiler_attached/slow_path_system/16 execution_time 86.471ns 89.239ns ± 0.391ns 89.265ns ± 0.152ns 89.410ns 89.661ns 89.790ns 91.545ns 2.55% -2.229 26.004 0.44% 0.028ns 1 200
profiler_attached/slow_path_system/256 execution_time 88.332ns 89.341ns ± 0.356ns 89.354ns ± 0.170ns 89.512ns 89.740ns 89.994ns 92.276ns 3.27% 2.586 22.184 0.40% 0.025ns 1 200
profiler_attached/slow_path_system/4096 execution_time 148.484ns 150.025ns ± 0.312ns 150.009ns ± 0.144ns 150.152ns 150.383ns 150.650ns 152.767ns 1.84% 2.931 31.195 0.21% 0.022ns 1 200
profiler_attached/slow_path_system/64 execution_time 88.419ns 89.323ns ± 0.276ns 89.318ns ± 0.162ns 89.506ns 89.755ns 89.931ns 89.965ns 0.72% -0.442 0.738 0.31% 0.020ns 1 200
profiler_attached/slow_path_system/65536 execution_time 157.100ns 157.651ns ± 0.221ns 157.623ns ± 0.119ns 157.763ns 157.993ns 158.415ns 158.532ns 0.58% 0.759 2.230 0.14% 0.016ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profiler_attached/slow_path_system/16 execution_time [89.185ns; 89.293ns] or [-0.061%; +0.061%] None None None
profiler_attached/slow_path_system/256 execution_time [89.292ns; 89.390ns] or [-0.055%; +0.055%] None None None
profiler_attached/slow_path_system/4096 execution_time [149.982ns; 150.068ns] or [-0.029%; +0.029%] None None None
profiler_attached/slow_path_system/64 execution_time [89.284ns; 89.361ns] or [-0.043%; +0.043%] None None None
profiler_attached/slow_path_system/65536 execution_time [157.620ns; 157.681ns] or [-0.019%; +0.019%] None None None

@dd-octo-sts

dd-octo-sts Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 91.32 MB 91.32 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 8.45 MB 8.45 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.38 MB 11.38 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 102.61 MB 102.61 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 27.32 MB 27.32 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 96.08 KB 96.08 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 185.40 MB 185.41 MB +0% (+16.00 KB) 👌
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 804.37 MB 804.37 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 9.00 MB 9.00 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 96.08 KB 96.08 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 26.20 MB 26.20 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 52.21 MB 52.21 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 23.82 MB 23.82 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 97.58 KB 97.58 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 190.46 MB 190.47 MB +0% (+8.00 KB) 👌
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 785.15 MB 785.15 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 6.96 MB 6.96 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 97.58 KB 97.58 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 28.18 MB 28.19 MB +.02% (+8.00 KB) 🔍
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 49.70 MB 49.70 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 81.48 MB 81.48 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.41 MB 9.41 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 97.21 MB 97.21 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.46 MB 11.46 MB 0% (0 B) 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant