Skip to content

feat(crashtracking)!: emit ucontext registers as structured data - #1787

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
mainfrom
gyuheon0h/PROF-14095-emit-ucontxt-structured
Mar 30, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
mainfrom
gyuheon0h/PROF-14095-emit-ucontxt-structured

Conversation

@gyuheon0h

@gyuheon0h gyuheon0h commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR extracts out register data from ucontext and emits ucontext as structured data. The reason we do this is because ucontext register and pointer values are needed as structured data for downstream diagnosis workflows.

We also promote ucontext from an experimental field to a field in the top level report

Motivation

RFC: Crashtracker Crash Pre-Diagnosis

Additional Notes

Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "UContext Schema",
  "description": "JSON schema for crashtracker ucontext data",
  "required": ["arch", "registers", "raw"],
  "properties": {
    "arch": {
      "type": "string",
      "enum": ["x86_64", "aarch64"],
      "description": "Target architecture"
    },
    "registers": {
      "type": "object",
      "description": "CPU register values as key-value pairs with hex string values",
      "additionalProperties": {
        "type": "string",
        "pattern": "^0x[0-9a-f]+$"
      }
    },
    "raw": {
      "type": "string",
      "description": "Debug representation of the complete ucontext structure"
    }
  },
  "additionalProperties": false
}

Example payload

{
  "arch": "x86_64",
  "registers": {
    "rax": "0x00007ffceae07410",
    "rdx": "0x00007ffceae07418",
    "r8": "0x000055fcfd2ec010",
    "r11": "0x346a1a95dc671c71",
    "rsp": "0x00007ffceae033f8",
    "rdi": "0x00000000000003fc",
    "rbx": "0x00000000000003fc",
    "r12": "0x000055fcce53ad28",
    "r10": "0x000055fcfd2ecf80",
    "r13": "0x000000000000001a",
    "rip": "0x000055fcce4d7d90",
    "rsi": "0x00000000000003fb",
    "rbp": "0x0000000000000001",
    "r9": "0x0000000000000007",
    "rcx": "0x0000000000000000",
    "r14": "0x00007ffceae07418",
    "r15": "0x0000000000000000"
  },
  "raw": "ucontext_t { uc_flags: 7, uc_link: 0x0, uc_stack: stack_t { ss_sp: 0x7f70abd74000, ss_flags: 0, ss_size: 65536 }, uc_mcontext: mcontext_t { gregs: [94545067819024, 7, 94545067822976, 3776860468453776497, 94544281709864, 26, 140724249064472, 0, 1020, 1019, 1, 1020, 140724249064472, 140724249064464, 0, 140724249048056, 94544281304464, 66050, 12103423998558259, 6, 14, 0, 140724249048056], fpregs: 0x7f70abd83c80, __private: [0, 0, 0, 0, 0, 0, 0, 0] }, uc_sigmask: sigset_t { __val: [0, 11, 1, 140724249048056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, __private: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 31, 0, 0, 255, 255, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 240, 238, 223, 235, 252, 127, 0, 0, 104, 167, 83, 206, 252, 85, 0, 0, 192, 58, 192, 171, 112, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 112, 123, 47, 253, 252, 85, 0, 0, 160, 123, 47, 253, 252, 85, 0, 0, 222, 196, 170, 171, 112, 127, 0, 0, 48, 239, 223, 235, 252, 127, 0, 0, 97, 5, 177, 171, 112, 127, 0, 0, 48, 241, 223, 235, 252, 127, 0, 0, 32, 0, 0, 96, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 21, 227, 170, 171, 112, 127, 0, 0, 104, 167, 83, 206, 252, 85, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 240, 105, 47, 253, 252, 85, 0, 0, 255, 0, 0, 255, 0, 0, 255, 255, 255, 0, 255, 0, 255, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 88, 80, 70, 68, 3, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 64, 3, 0, 0, 0, 0, 0, 0], __ssp: [0, 0, 0, 3] }"
}

How to test the change?

Unit test

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gyuheon0h gyuheon0h changed the title emit ucontext registers as structured data feat(crashtracking): emit ucontext registers as structured data Mar 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Clippy Allow Annotation Report

Comparing clippy allow annotations between branches:

  • Base Branch: origin/main
  • PR Branch: origin/gyuheon0h/PROF-14095-emit-ucontxt-structured

Summary by Rule

Rule Base Branch PR Branch Change

Annotation Counts by File

File Base Branch PR Branch Change

Annotation Stats by Crate

Crate Base Branch PR Branch Change
clippy-annotation-reporter 5 5 No change (0%)
datadog-ffe-ffi 1 1 No change (0%)
datadog-ipc 20 20 No change (0%)
datadog-live-debugger 6 6 No change (0%)
datadog-live-debugger-ffi 10 10 No change (0%)
datadog-profiling-replayer 4 4 No change (0%)
datadog-remote-config 3 3 No change (0%)
datadog-sidecar 55 55 No change (0%)
libdd-common 10 10 No change (0%)
libdd-common-ffi 12 12 No change (0%)
libdd-data-pipeline 5 5 No change (0%)
libdd-ddsketch 2 2 No change (0%)
libdd-dogstatsd-client 1 1 No change (0%)
libdd-profiling 13 13 No change (0%)
libdd-telemetry 19 19 No change (0%)
libdd-tinybytes 4 4 No change (0%)
libdd-trace-normalization 2 2 No change (0%)
libdd-trace-obfuscation 8 8 No change (0%)
libdd-trace-utils 15 15 No change (0%)
Total 195 195 No change (0%)

About This Report

This report tracks Clippy allow annotations for specific rules, showing how they've changed in this PR. Decreasing the number of these annotations generally improves code quality.

@datadog-official

datadog-official Bot commented Mar 25, 2026

Copy link
Copy Markdown

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 93.68%
Overall Coverage: 71.38% (+0.10%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 3778cfc | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

@pr-commenter

pr-commenter Bot commented Mar 25, 2026

Copy link
Copy Markdown

Benchmarks

Comparison

Benchmark execution time: 2026-03-30 19:33:38

Comparing candidate commit 3778cfc in PR branch gyuheon0h/PROF-14095-emit-ucontxt-structured with baseline commit 29678bd in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 62 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 ----------------------------------'

Candidate

Candidate benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_trace/test_trace execution_time 245.011ns 255.700ns ± 13.250ns 249.572ns ± 2.590ns 256.800ns 287.146ns 290.482ns 295.517ns 18.41% 1.563 0.977 5.17% 0.937ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_trace/test_trace execution_time [253.864ns; 257.536ns] or [-0.718%; +0.718%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profile_serialize_compressed_pprof_timestamped_x1000 execution_time 913.297µs 917.072µs ± 2.212µs 916.611µs ± 1.176µs 918.089µs 920.908µs 923.683µs 928.181µs 1.26% 1.712 5.218 0.24% 0.156µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profile_serialize_compressed_pprof_timestamped_x1000 execution_time [916.766µs; 917.379µs] or [-0.033%; +0.033%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching deserializing traces from msgpack to their internal representation execution_time 48.684ms 48.990ms ± 0.839ms 48.881ms ± 0.043ms 48.930ms 49.021ms 51.497ms 57.207ms 17.03% 8.772 79.438 1.71% 0.059ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching deserializing traces from msgpack to their internal representation execution_time [48.874ms; 49.106ms] or [-0.237%; +0.237%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
write only interface execution_time 4.639µs 5.449µs ± 0.076µs 5.451µs ± 0.030µs 5.481µs 5.527µs 5.570µs 5.642µs 3.51% -6.056 64.220 1.38% 0.005µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [5.438µs; 5.459µs] or [-0.192%; +0.192%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching serializing traces from their internal representation to msgpack execution_time 14.770ms 14.832ms ± 0.031ms 14.828ms ± 0.015ms 14.844ms 14.868ms 14.960ms 15.011ms 1.23% 2.392 10.680 0.21% 0.002ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching serializing traces from their internal representation to msgpack execution_time [14.828ms; 14.836ms] or [-0.029%; +0.029%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
receiver_entry_point/report/2598 execution_time 3.464ms 3.492ms ± 0.020ms 3.486ms ± 0.010ms 3.499ms 3.534ms 3.548ms 3.552ms 1.91% 1.157 0.507 0.57% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
receiver_entry_point/report/2598 execution_time [3.489ms; 3.495ms] or [-0.080%; +0.080%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time 206.012µs 206.727µs ± 0.344µs 206.685µs ± 0.218µs 206.945µs 207.358µs 207.633µs 208.042µs 0.66% 0.773 0.879 0.17% 0.024µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4806726.091op/s 4837300.806op/s ± 8050.132op/s 4838275.418op/s ± 5096.984op/s 4842752.077op/s 4848673.396op/s 4851873.734op/s 4854078.528op/s 0.33% -0.762 0.850 0.17% 569.230op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.362µs 18.481µs ± 0.080µs 18.456µs ± 0.037µs 18.515µs 18.647µs 18.692µs 18.769µs 1.70% 1.214 1.147 0.43% 0.006µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 53279632.280op/s 54110280.961op/s ± 231834.957op/s 54182809.607op/s ± 108009.952op/s 54267107.764op/s 54379110.611op/s 54436107.523op/s 54461178.180op/s 0.51% -1.192 1.079 0.43% 16393.207op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.579µs 10.706µs ± 0.068µs 10.695µs ± 0.033µs 10.733µs 10.826µs 10.893µs 11.090µs 3.70% 1.514 5.135 0.64% 0.005µs 1 200
normalization/normalize_name/normalize_name/good throughput 90167291.299op/s 93409199.037op/s ± 589297.036op/s 93501336.075op/s ± 288643.457op/s 93743967.723op/s 94213524.022op/s 94454509.538op/s 94524710.275op/s 1.09% -1.424 4.625 0.63% 41669.593op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time [206.680µs; 206.775µs] or [-0.023%; +0.023%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [4836185.135op/s; 4838416.477op/s] or [-0.023%; +0.023%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.470µs; 18.492µs] or [-0.060%; +0.060%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [54078150.865op/s; 54142411.056op/s] or [-0.059%; +0.059%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.697µs; 10.715µs] or [-0.088%; +0.088%] None None None
normalization/normalize_name/normalize_name/good throughput [93327528.135op/s; 93490869.939op/s] or [-0.087%; +0.087%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profile_add_sample_timestamped_x1000 execution_time 4.220ms 4.226ms ± 0.009ms 4.225ms ± 0.002ms 4.228ms 4.231ms 4.245ms 4.337ms 2.65% 11.087 139.331 0.20% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profile_add_sample_timestamped_x1000 execution_time [4.225ms; 4.228ms] or [-0.028%; +0.028%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
redis/obfuscate_redis_string execution_time 33.686µs 34.212µs ± 0.858µs 33.806µs ± 0.049µs 33.916µs 36.040µs 36.082µs 36.932µs 9.25% 1.684 0.978 2.50% 0.061µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
redis/obfuscate_redis_string execution_time [34.093µs; 34.330µs] or [-0.347%; +0.347%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
tags/replace_trace_tags execution_time 2.311µs 2.374µs ± 0.022µs 2.371µs ± 0.009µs 2.385µs 2.417µs 2.439µs 2.447µs 3.23% 0.081 1.870 0.94% 0.002µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
tags/replace_trace_tags execution_time [2.371µs; 2.377µs] or [-0.131%; +0.131%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profile_add_sample_frames_x1000 execution_time 4.238ms 4.243ms ± 0.003ms 4.243ms ± 0.001ms 4.244ms 4.247ms 4.250ms 4.273ms 0.72% 4.851 43.461 0.07% 0.000ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profile_add_sample_frames_x1000 execution_time [4.243ms; 4.244ms] or [-0.010%; +0.010%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profile_add_sample2_frames_x1000 execution_time 719.663µs 721.383µs ± 0.762µs 721.246µs ± 0.401µs 721.739µs 722.706µs 723.885µs 725.007µs 0.52% 1.395 4.015 0.11% 0.054µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profile_add_sample2_frames_x1000 execution_time [721.277µs; 721.489µs] or [-0.015%; +0.015%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
concentrator/add_spans_to_concentrator execution_time 14.832ms 14.861ms ± 0.016ms 14.857ms ± 0.008ms 14.869ms 14.885ms 14.915ms 14.953ms 0.64% 2.092 8.366 0.11% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [14.859ms; 14.864ms] or [-0.015%; +0.015%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sql/obfuscate_sql_string execution_time 287.773µs 288.478µs ± 0.638µs 288.353µs ± 0.173µs 288.568µs 289.224µs 291.672µs 292.983µs 1.61% 4.389 24.134 0.22% 0.045µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sql/obfuscate_sql_string execution_time [288.389µs; 288.566µs] or [-0.031%; +0.031%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
ip_address/quantize_peer_ip_address_benchmark execution_time 4.969µs 5.066µs ± 0.041µs 5.073µs ± 0.027µs 5.098µs 5.124µs 5.126µs 5.127µs 1.05% -0.480 -0.958 0.81% 0.003µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
ip_address/quantize_peer_ip_address_benchmark execution_time [5.060µs; 5.072µs] or [-0.113%; +0.113%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sdk_test_data/rules-based execution_time 144.495µs 146.642µs ± 1.632µs 146.415µs ± 0.551µs 146.919µs 148.337µs 151.971µs 162.274µs 10.83% 5.381 43.638 1.11% 0.115µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sdk_test_data/rules-based execution_time [146.416µs; 146.868µs] or [-0.154%; +0.154%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching string interning on wordpress profile execution_time 160.219µs 161.300µs ± 0.511µs 161.213µs ± 0.190µs 161.433µs 162.042µs 163.266µs 165.084µs 2.40% 3.208 18.127 0.32% 0.036µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching string interning on wordpress profile execution_time [161.229µs; 161.370µs] or [-0.044%; +0.044%] None None None

Group 18

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
credit_card/is_card_number/ execution_time 3.901µs 3.916µs ± 0.004µs 3.915µs ± 0.003µs 3.919µs 3.923µs 3.926µs 3.928µs 0.33% 0.307 0.227 0.11% 0.000µs 1 200
credit_card/is_card_number/ throughput 254570279.089op/s 255360019.634op/s ± 268894.772op/s 255413294.268op/s ± 193652.090op/s 255560683.781op/s 255700989.664op/s 255784617.043op/s 256342237.161op/s 0.36% -0.301 0.232 0.11% 19013.732op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 75.722µs 77.580µs ± 0.680µs 77.678µs ± 0.446µs 78.078µs 78.645µs 78.829µs 79.011µs 1.72% -0.382 -0.318 0.87% 0.048µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12656528.885op/s 12890855.540op/s ± 113403.091op/s 12873596.287op/s ± 73997.284op/s 12971556.297op/s 13099170.382op/s 13152142.619op/s 13206208.392op/s 2.58% 0.422 -0.279 0.88% 8018.809op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 67.477µs 67.664µs ± 0.109µs 67.648µs ± 0.053µs 67.704µs 67.828µs 67.920µs 68.543µs 1.32% 2.914 20.037 0.16% 0.008µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 14589437.937op/s 14779023.485op/s ± 23628.831op/s 14782483.496op/s ± 11587.522op/s 14792799.235op/s 14808476.226op/s 14813344.216op/s 14819799.252op/s 0.25% -2.850 19.366 0.16% 1670.811op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.901µs 3.916µs ± 0.004µs 3.915µs ± 0.003µs 3.919µs 3.922µs 3.925µs 3.927µs 0.32% 0.468 0.197 0.10% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254644901.474op/s 255387001.278op/s ± 260070.157op/s 255460135.329op/s ± 167091.714op/s 255588694.763op/s 255693248.195op/s 255769327.080op/s 256316973.974op/s 0.34% -0.462 0.200 0.10% 18389.737op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 64.550µs 64.729µs ± 0.079µs 64.727µs ± 0.054µs 64.782µs 64.868µs 64.913µs 64.923µs 0.30% 0.212 -0.301 0.12% 0.006µs 1 200
credit_card/is_card_number/378282246310005 throughput 15402788.382op/s 15448958.466op/s ± 18738.816op/s 15449563.359op/s ± 12856.775op/s 15462197.633op/s 15478857.054op/s 15485742.819op/s 15491798.642op/s 0.27% -0.206 -0.304 0.12% 1325.034op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 44.790µs 45.022µs ± 0.092µs 45.027µs ± 0.059µs 45.083µs 45.164µs 45.228µs 45.272µs 0.54% -0.122 -0.009 0.20% 0.006µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 22088806.710op/s 22211639.353op/s ± 45361.916op/s 22208919.009op/s ± 28986.089op/s 22240734.004op/s 22285179.687op/s 22321607.007op/s 22326441.204op/s 0.53% 0.134 -0.009 0.20% 3207.572op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 5.752µs 5.763µs ± 0.006µs 5.762µs ± 0.004µs 5.767µs 5.773µs 5.780µs 5.783µs 0.36% 0.740 0.413 0.10% 0.000µs 1 200
credit_card/is_card_number/x371413321323331 throughput 172916941.365op/s 173512624.446op/s ± 175971.005op/s 173539844.749op/s ± 128787.280op/s 173651232.861op/s 173745090.039op/s 173810512.137op/s 173866510.604op/s 0.19% -0.734 0.400 0.10% 12443.029op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.896µs 3.915µs ± 0.003µs 3.915µs ± 0.002µs 3.917µs 3.921µs 3.924µs 3.925µs 0.25% -0.422 4.390 0.09% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254793845.442op/s 255399644.059op/s ± 226872.085op/s 255431520.400op/s ± 138165.093op/s 255553683.652op/s 255665146.489op/s 255749236.757op/s 256703695.387op/s 0.50% 0.439 4.479 0.09% 16042.279op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 59.455µs 60.838µs ± 0.494µs 60.894µs ± 0.254µs 61.156µs 61.540µs 61.787µs 62.106µs 1.99% -0.699 0.712 0.81% 0.035µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 16101486.491op/s 16438065.481op/s ± 134217.260op/s 16422026.102op/s ± 68676.891op/s 16489615.302op/s 16714677.179op/s 16791790.751op/s 16819531.250op/s 2.42% 0.753 0.777 0.81% 9490.593op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.528µs 53.822µs ± 0.096µs 53.830µs ± 0.063µs 53.883µs 53.968µs 54.029µs 54.067µs 0.44% -0.279 0.020 0.18% 0.007µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18495656.752op/s 18579830.951op/s ± 33051.394op/s 18576914.473op/s ± 21664.361op/s 18602103.440op/s 18634815.334op/s 18660766.556op/s 18681700.682op/s 0.56% 0.290 0.028 0.18% 2337.086op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.895µs 3.916µs ± 0.004µs 3.915µs ± 0.003µs 3.918µs 3.922µs 3.928µs 3.936µs 0.54% 0.548 4.890 0.11% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254046938.879op/s 255365229.976op/s ± 272332.753op/s 255408331.455op/s ± 167345.250op/s 255557659.621op/s 255673669.628op/s 255738504.331op/s 256712354.360op/s 0.51% -0.527 4.898 0.11% 19256.834op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 50.076µs 50.297µs ± 0.070µs 50.292µs ± 0.046µs 50.340µs 50.414µs 50.472µs 50.517µs 0.45% 0.247 0.520 0.14% 0.005µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19795318.397op/s 19882096.883op/s ± 27786.005op/s 19883932.791op/s ± 18226.959op/s 19898339.997op/s 19926240.574op/s 19940353.936op/s 19969559.968op/s 0.43% -0.237 0.514 0.14% 1964.767op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 44.816µs 45.019µs ± 0.083µs 45.018µs ± 0.053µs 45.072µs 45.153µs 45.209µs 45.225µs 0.46% 0.137 -0.299 0.18% 0.006µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 22111453.425op/s 22213062.277op/s ± 40717.787op/s 22213100.131op/s ± 26203.356op/s 22239102.111op/s 22275584.739op/s 22302303.965op/s 22313381.335op/s 0.45% -0.127 -0.302 0.18% 2879.182op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 5.753µs 5.763µs ± 0.005µs 5.762µs ± 0.003µs 5.767µs 5.772µs 5.776µs 5.780µs 0.31% 0.655 0.034 0.09% 0.000µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 173013072.010op/s 173510880.297op/s ± 151176.154op/s 173548966.841op/s ± 104760.131op/s 173624106.511op/s 173714935.754op/s 173766023.819op/s 173827943.799op/s 0.16% -0.651 0.025 0.09% 10689.768op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
credit_card/is_card_number/ execution_time [3.915µs; 3.917µs] or [-0.015%; +0.015%] None None None
credit_card/is_card_number/ throughput [255322753.405op/s; 255397285.863op/s] or [-0.015%; +0.015%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [77.486µs; 77.675µs] or [-0.121%; +0.121%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12875138.962op/s; 12906572.118op/s] or [-0.122%; +0.122%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [67.649µs; 67.679µs] or [-0.022%; +0.022%] None None None
credit_card/is_card_number/ 378282246310005 throughput [14775748.757op/s; 14782298.214op/s] or [-0.022%; +0.022%] None None None
credit_card/is_card_number/37828224631 execution_time [3.915µs; 3.916µs] or [-0.014%; +0.014%] None None None
credit_card/is_card_number/37828224631 throughput [255350958.056op/s; 255423044.501op/s] or [-0.014%; +0.014%] None None None
credit_card/is_card_number/378282246310005 execution_time [64.718µs; 64.740µs] or [-0.017%; +0.017%] None None None
credit_card/is_card_number/378282246310005 throughput [15446361.446op/s; 15451555.485op/s] or [-0.017%; +0.017%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.009µs; 45.034µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [22205352.628op/s; 22217926.078op/s] or [-0.028%; +0.028%] None None None
credit_card/is_card_number/x371413321323331 execution_time [5.762µs; 5.764µs] or [-0.014%; +0.014%] None None None
credit_card/is_card_number/x371413321323331 throughput [173488236.557op/s; 173537012.335op/s] or [-0.014%; +0.014%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.915µs; 3.916µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number_no_luhn/ throughput [255368201.770op/s; 255431086.348op/s] or [-0.012%; +0.012%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [60.770µs; 60.907µs] or [-0.112%; +0.112%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [16419464.260op/s; 16456666.703op/s] or [-0.113%; +0.113%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.809µs; 53.835µs] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18575250.346op/s; 18584411.557op/s] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.915µs; 3.917µs] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255327487.276op/s; 255402972.677op/s] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.287µs; 50.306µs] or [-0.019%; +0.019%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19878246.010op/s; 19885947.756op/s] or [-0.019%; +0.019%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.007µs; 45.030µs] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [22207419.183op/s; 22218705.371op/s] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [5.763µs; 5.764µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [173489928.736op/s; 173531831.858op/s] or [-0.012%; +0.012%] None None None

Group 19

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
single_flag_killswitch/rules-based execution_time 190.048ns 192.989ns ± 3.740ns 192.819ns ± 1.191ns 193.582ns 195.789ns 198.273ns 238.995ns 23.95% 9.420 112.799 1.93% 0.264ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
single_flag_killswitch/rules-based execution_time [192.471ns; 193.507ns] or [-0.269%; +0.269%] None None None

Group 20

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
two way interface execution_time 14.658µs 15.322µs ± 0.226µs 15.274µs ± 0.119µs 15.425µs 15.726µs 15.833µs 16.886µs 10.56% 2.028 10.768 1.47% 0.016µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [15.291µs; 15.353µs] or [-0.204%; +0.204%] None None None

Group 21

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 3778cfc 1774898158 gyuheon0h/PROF-14095-emit-ucontxt-structured
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... execution_time 534.897µs 536.799µs ± 1.257µs 536.452µs ± 0.733µs 537.610µs 539.189µs 540.355µs 540.923µs 0.83% 0.875 0.315 0.23% 0.089µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1848691.556op/s 1862905.652op/s ± 4352.045op/s 1864098.147op/s ± 2546.950op/s 1865864.689op/s 1868402.571op/s 1869395.666op/s 1869518.393op/s 0.29% -0.864 0.287 0.23% 307.736op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 380.240µs 381.048µs ± 0.448µs 380.968µs ± 0.285µs 381.291µs 381.814µs 382.479µs 383.035µs 0.54% 1.102 2.088 0.12% 0.032µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2610730.739op/s 2624346.843op/s ± 3078.404op/s 2624892.529op/s ± 1963.705op/s 2626623.000op/s 2628327.505op/s 2629558.334op/s 2629914.639op/s 0.19% -1.092 2.049 0.12% 217.676op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 189.599µs 190.339µs ± 0.381µs 190.274µs ± 0.245µs 190.532µs 190.967µs 191.705µs 191.951µs 0.88% 1.088 1.969 0.20% 0.027µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5209671.234op/s 5253811.041op/s ± 10495.347op/s 5255582.338op/s ± 6758.478op/s 5261648.278op/s 5267473.206op/s 5269056.685op/s 5274297.981op/s 0.36% -1.071 1.905 0.20% 742.133op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 37.801µs 37.889µs ± 0.050µs 37.878µs ± 0.030µs 37.919µs 37.991µs 38.018µs 38.038µs 0.42% 0.777 0.073 0.13% 0.004µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26289682.071op/s 26392772.402op/s ± 34734.404op/s 26400599.217op/s ± 20833.373op/s 26416520.671op/s 26438286.521op/s 26449465.683op/s 26454213.459op/s 0.20% -0.771 0.063 0.13% 2456.093op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 45.803µs 46.009µs ± 0.100µs 45.991µs ± 0.067µs 46.073µs 46.176µs 46.256µs 46.363µs 0.81% 0.485 0.093 0.22% 0.007µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21568913.597op/s 21734762.300op/s ± 47142.756op/s 21743585.759op/s ± 31884.128op/s 21767564.443op/s 21805528.371op/s 21823925.331op/s 21832833.888op/s 0.41% -0.473 0.072 0.22% 3333.496op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... execution_time [536.625µs; 536.973µs] or [-0.032%; +0.032%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1862302.501op/s; 1863508.804op/s] or [-0.032%; +0.032%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [380.986µs; 381.110µs] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2623920.206op/s; 2624773.481op/s] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [190.286µs; 190.392µs] or [-0.028%; +0.028%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5252356.487op/s; 5255265.596op/s] or [-0.028%; +0.028%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [37.882µs; 37.896µs] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26387958.548op/s; 26397586.256op/s] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [45.996µs; 46.023µs] or [-0.030%; +0.030%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21728228.768op/s; 21741295.833op/s] or [-0.030%; +0.030%] None None None

Baseline

Omitted due to size.

@gyuheon0h
gyuheon0h force-pushed the gyuheon0h/PROF-14095-emit-ucontxt-structured branch 2 times, most recently from 222c096 to 267bfa5 Compare March 26, 2026 19:47
@codecov-commenter

codecov-commenter commented Mar 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.68421% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.38%. Comparing base (29678bd) to head (3778cfc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1787      +/-   ##
==========================================
+ Coverage   71.27%   71.38%   +0.10%     
==========================================
  Files         423      424       +1     
  Lines       66609    66685      +76     
==========================================
+ Hits        47476    47600     +124     
+ Misses      19133    19085      -48     
Components Coverage Δ
libdd-crashtracker 65.88% <93.68%> (+0.65%) ⬆️
libdd-crashtracker-ffi 34.47% <ø> (ø)
libdd-alloc 98.77% <ø> (ø)
libdd-data-pipeline 87.05% <ø> (ø)
libdd-data-pipeline-ffi 72.91% <ø> (ø)
libdd-common 80.19% <ø> (ø)
libdd-common-ffi 73.87% <ø> (ø)
libdd-telemetry 62.48% <ø> (ø)
libdd-telemetry-ffi 16.75% <ø> (ø)
libdd-dogstatsd-client 82.64% <ø> (ø)
datadog-ipc 72.56% <ø> (+2.24%) ⬆️
libdd-profiling 81.61% <ø> (-0.02%) ⬇️
libdd-profiling-ffi 64.94% <ø> (ø)
datadog-sidecar 30.18% <ø> (ø)
datdog-sidecar-ffi 6.52% <ø> (ø)
spawn-worker 54.69% <ø> (ø)
libdd-tinybytes 93.16% <ø> (ø)
libdd-trace-normalization 81.71% <ø> (ø)
libdd-trace-obfuscation 87.24% <ø> (ø)
libdd-trace-protobuf 68.25% <ø> (ø)
libdd-trace-utils 88.72% <ø> (ø)
datadog-tracer-flare 86.88% <ø> (ø)
libdd-log 74.69% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gyuheon0h
gyuheon0h force-pushed the gyuheon0h/PROF-14095-emit-ucontxt-structured branch from 267bfa5 to 51e6175 Compare March 26, 2026 20:02
@gyuheon0h
gyuheon0h marked this pull request as ready for review March 26, 2026 20:05
@gyuheon0h
gyuheon0h requested review from a team as code owners March 26, 2026 20:05
@gyuheon0h
gyuheon0h force-pushed the gyuheon0h/PROF-14095-emit-ucontxt-structured branch from 51e6175 to aaec8b3 Compare March 26, 2026 20:24
@gyuheon0h
gyuheon0h requested a review from gleocadie March 26, 2026 20:31
@dd-octo-sts

dd-octo-sts Bot commented Mar 26, 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 101.93 MB 102.07 MB +.13% (+145.89 KB) 🔍
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 8.76 MB 8.76 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.36 MB 11.36 MB +.02% (+3.25 KB) 🔍
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 118.83 MB 119.03 MB +.16% (+204.84 KB) 🔍
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 27.38 MB 27.40 MB +.06% (+19.50 KB) 🔍
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 80.69 KB 80.69 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 187.11 MB 187.23 MB +.06% (+120.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 925.19 MB 926.11 MB +.09% (+938.16 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 9.06 MB 9.07 MB +.04% (+4.00 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 80.69 KB 80.69 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 26.99 MB 27.01 MB +.05% (+16.00 KB) 🔍
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 61.30 MB 61.33 MB +.04% (+26.41 KB) 🔍
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 23.24 MB 23.26 MB +.07% (+18.00 KB) 🔍
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 81.94 KB 81.94 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 191.65 MB 191.77 MB +.06% (+128.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 910.20 MB 911.12 MB +.10% (+936.54 KB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 6.90 MB 6.90 MB +.04% (+3.50 KB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 81.94 KB 81.94 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 29.11 MB 29.12 MB +.05% (+16.00 KB) 🔍
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 57.67 MB 57.69 MB +.04% (+24.08 KB) 🔍
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 88.77 MB 88.90 MB +.15% (+138.63 KB) 🔍
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 10.32 MB 10.34 MB +.18% (+20.00 KB) 🔍
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 111.54 MB 111.70 MB +.13% (+159.66 KB) 🔍
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 12.07 MB 12.09 MB +.17% (+22.19 KB) 🔍

@gyuheon0h
gyuheon0h force-pushed the gyuheon0h/PROF-14095-emit-ucontxt-structured branch from aaec8b3 to 3fef267 Compare March 27, 2026 17:59
@gyuheon0h
gyuheon0h requested a review from danielsn March 27, 2026 18:09
@gyuheon0h
gyuheon0h force-pushed the gyuheon0h/PROF-14095-emit-ucontxt-structured branch from f63f13d to 3fef267 Compare March 27, 2026 21:56
@gyuheon0h
gyuheon0h requested review from gleocadie and removed request for gleocadie March 30, 2026 13:53

@gleocadie gleocadie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one question though

Comment thread docs/RFCs/artifacts/crashtracker-unified-runtime-stack-schema-v1_5.json Outdated
@gyuheon0h
gyuheon0h requested a review from gleocadie March 30, 2026 17:34
@gyuheon0h
gyuheon0h force-pushed the gyuheon0h/PROF-14095-emit-ucontxt-structured branch from 3996eae to f1a67bd Compare March 30, 2026 18:56
@gyuheon0h gyuheon0h changed the title feat(crashtracking): emit ucontext registers as structured data feat!(crashtracking): emit ucontext registers as structured data Mar 30, 2026
@gyuheon0h gyuheon0h changed the title feat!(crashtracking): emit ucontext registers as structured data feat(crashtracking)!: emit ucontext registers as structured data Mar 30, 2026
@gyuheon0h
gyuheon0h force-pushed the gyuheon0h/PROF-14095-emit-ucontxt-structured branch from f1a67bd to 3778cfc Compare March 30, 2026 19:16
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 15860bb into main Mar 30, 2026
162 of 164 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the gyuheon0h/PROF-14095-emit-ucontxt-structured branch March 30, 2026 21:16
hoolioh added a commit that referenced this pull request Aug 19, 2026
# Release proposal for libdd-crashtracker, libdd-gotter and their
dependencies

This PR contains version bumps based on public API changes and commits
since last release.

## libdd-gotter
**Next version:** `1.0.0`
**Semver bump:** `major`
**Tag:** `libdd-gotter-v1.0.0`

**Warning:** this is an initial release. Please verify that the version
and commits included are correct.


## libdd-crashtracker
**Next version:** `2.0.0`
**Semver bump:** `major`
**Tag:** `libdd-crashtracker-v2.0.0`

### ⚠️ major bump forced due to:

- `libdd-common`: ^1.0.0 → ^5.2.0
- `libdd-telemetry`: ^1.0.0 → ^7.0.0

### Commits

- feat(crashtracking)!: retrieve c assert message for linux when
`__assert_fail` is dynamically loaded (#2268)
- test: skip/shorten slow miri jobs (#2331)
- feat(crashtracking): send debug log when no data is received at all
(#2321)
- fix(crashtracking): check fields and exclude uuid for `has_data`
(#2322)
- refactor: migrate to workspace dependencies, phase 4 (#2296)
- refactor: migrate to workspace dependencies, phase 3 (#2283)
- chore: moving to workspace-level dependencies, phase 2 (#2270)
- refactor: consolidate core dependencies at workspace level (phase 1)
(#2253)
- test: stabilize flaky tests (#2256)
- feat(telemetry)!: make telemetry worker wasm-compatible for the
TraceExporter (#2172)
- chore(crashtracking): harden multi thread ptrace collection (#2216)
- fix(sidecar): don't double-encode file:// telemetry endpoints (#2230)
- fix: new clippy lints (#2219)
- refactor(sidecar)!: Avoid a dedicated socket for crashtracker (#2179)
- refactor(clippy): prefer core and alloc imports (#2196)
- refactor(libdd-telemetry)!: avoid leaking libdd-common types in the
public API (#2152)
- feat(crashtracking): collect all native stacks for unhandled exception
and also crashing thread (#2155)
- fix(crashtracking): sanitize type and message for unhandled exceptions
(#2148)
- fix(crashtracking): multi thread collection centos flakes harden
(#2113)
- chore(crashtracking)!: remove frame count experimental field (#2114)
- fix(crashtracking): authenticate peer granted socket ptrace access
(#2098)
- feat(crashtracking)!: add experimental frame count field (#2099)
- fix(crashtracker): increase test_waitall_nohang timeout to 500ms
(#2097)
- fix(crashtracker): support socket based receiver for all thread
collection (#2080)
- fix(crashtracker): set failed thread stack collection as incomplete
empty stack (#2079)
- fix(crashtracking)!: flatten all threads object into a list of
`ThreadData` (#2054)
- refactor(crashtracker): update imports to linux only (#2036)
- fix(crashtracker): move preload logger marking after recursive guard
(#2023)
- fix(libdd-telemetry): restore previous Cargo.toml version (#1993)
- feat!: integrate obfuscation to the stats exporter [APMSP-2764]
(#1819)
- chore(crashtracking)!: create errorsintake crash ping directly from
telemetry (#1963)
- feat(telemetry)!: include dependencies and integrations in
app-extended-heartbeat (#1962)
- feat(crashtracking)!: collect all threads (#1878)
- chore(crashtracking): bump libdatadog-libunwind to v1.0.2 (#1942)
- chore(crashtracking): default errors intake crash report upload to be
on (#1902)
- chore(libdd-crashtracker): remove path reference for
libdd-libunwind-sys (#1877)
- fix(crashtracking): handle new lines in client submitted exception
message (#1836)
- fix(crashtracker): Fix bin_tests in gitlab (#1832)
- feat(crashtracking)!: improve parity between errors intake payload and
telemetry intake payload (#1823)
- feat(crashtracking)!: emit ucontext registers as structured data
(#1787)
- fix(ci): use single threaded for all tests that mutate signal state
and use non-fatal signal (#1812)
- fix(crashtracking): fix SIGCHLD signal guarding while in CT signal
handler (#1807)
- fix(ci): use single threaded to avoid race conditions for sa guard
tests (#1800)
- fix(crashtracking): guard sigchld and sigpipe during crashtracker
signal handler execution (#1771)
- chore(crashtracking): preserve errno for crashtracker (#1767)
- chore(crashtracker): use weaker mem ordering for OP_COUNTERS (#1744)
- chore(crashtracking): rename target triple to runtime platform (#1747)
- chore(ci): give libdd-libunwind-sys its own version (#1743)
- chore(crashtracking): add tag for target triple (#1741)
- refactor(libdd-crashtracker)!: avoid leaking Endpoint through the
public API (#1705)
- chore(cargo): bump to 29.0.0 (#1702)
- fix(crashtracking): use libunwind to unwind frames (#1663)
- chore(deps): bump blazesym to 0.2.3 and blazesym-c to 0.1.7 (#1654)
- chore(ci): fix crashtracker receiver binary rpath setting (#1652)
- chore(crashtracking): emit a best effort stacktrace for Mac (#1645)
- chore(crashtracker): use default-features=false for aws-lc-sys (#1625)
- feat(crashtracking): report unhandled exceptions (#1596)
- refactor(ddcommon)!: remove direct dependency on hyper client
everywhere in common (#1604)
- feat(crashtracking): include `Kind` in crash ping and clarify
requirements (#1595)
- fix(crashtracking): add process_tags to application field (#1576)
- ci: update nightly in CI to 2026-02-08 (#1539)
- fix(telemetry)!: fix logs payload format [APMSP-2590] (#1498)
- chore(crashtracking): bump os_info crate to 3.14 (#1507)
- Don't bail (#1494)
- feat(crashtracking)!: emit crashing thread name in crash report for
linux crashes (#1485)
- test(crashtracking): add minimal LD preload test for crashtracker
collector (#1428)
- chore: release libddcommon-v1.1.0 (#1456)
- chore: prepare libdd-telemetry-v2.0.0 (#1457)
- [crashtracker] Retrieve panic message when crashing (#1361)
- fix(sidecar): AWS lambda also can return EACCESS for shm_open (#1446)
- chore(crashtracking): add `is_crash_debug` tag to crashtracker
receiver debug logs (#1445)
- [crashtracker] Log errors in crashtracker receiver (#1395)
- chore: add changelog for every published crate (#1396)
- Fix CI (#1389)
- [crashtracker] Set OS info in the crash info builder when receiving
report (#1388)
- crashtracker: support cxx bindings for crashinfo (#1379)


[APMSP-2764]:
https://datadoghq.atlassian.net/browse/APMSP-2764?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: hoolioh <107922352+hoolioh@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants