Skip to content

fix(sidecar): prevent panic when set_metadata not yet called#1581

Open
tylfin wants to merge 1 commit intomainfrom
tyler.finethy/DEBUG-5224
Open

fix(sidecar): prevent panic when set_metadata not yet called#1581
tylfin wants to merge 1 commit intomainfrom
tyler.finethy/DEBUG-5224

Conversation

@tylfin
Copy link
Member

@tylfin tylfin commented Feb 17, 2026

What does this PR do?

set_request_config can create a default ActiveApplication via or_default() and call update_remote_config before set_metadata has been invoked, causing a panic on the .expect() calls for env, service_name, and app_version. Guard with an early return instead.

Motivation

Crash reported with Process panicked with message \"set_metadata was called before\"

Additional Notes

Anything else we should know when reviewing?

How to test the change?

Describe here in detail how the change can be validated.

@tylfin tylfin requested review from a team as code owners February 17, 2026 14:54
@tylfin tylfin requested a review from bwoebi February 17, 2026 14:55
@tylfin tylfin force-pushed the tyler.finethy/DEBUG-5224 branch from acdef31 to 720c214 Compare February 17, 2026 14:56
@github-actions
Copy link

Clippy Allow Annotation Report

Comparing clippy allow annotations between branches:

  • Base Branch: origin/main
  • PR Branch: origin/tyler.finethy/DEBUG-5224

Summary by Rule

Rule Base Branch PR Branch Change
expect_used 1 1 No change (0%)
Total 1 1 No change (0%)

Annotation Counts by File

File Base Branch PR Branch Change
datadog-sidecar/src/service/runtime_info.rs 1 1 No change (0%)

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 27 27 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 59 59 No change (0%)
libdd-common 10 10 No change (0%)
libdd-common-ffi 12 12 No change (0%)
libdd-crashtracker 12 12 No change (0%)
libdd-data-pipeline 6 6 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 9 9 No change (0%)
libdd-trace-utils 15 15 No change (0%)
Total 220 220 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.

@codecov-commenter
Copy link

codecov-commenter commented Feb 17, 2026

Codecov Report

❌ Patch coverage is 0% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.83%. Comparing base (a0cef26) to head (4a40274).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1581   +/-   ##
=======================================
  Coverage   70.82%   70.83%           
=======================================
  Files         423      423           
  Lines       61862    61862           
=======================================
+ Hits        43816    43818    +2     
+ Misses      18046    18044    -2     
Components Coverage Δ
libdd-crashtracker 62.44% <ø> (+0.03%) ⬆️
libdd-crashtracker-ffi 15.80% <ø> (ø)
libdd-alloc 98.77% <ø> (ø)
libdd-data-pipeline 85.96% <ø> (ø)
libdd-data-pipeline-ffi 75.63% <ø> (ø)
libdd-common 79.85% <ø> (ø)
libdd-common-ffi 73.75% <ø> (ø)
libdd-telemetry 62.52% <ø> (ø)
libdd-telemetry-ffi 16.75% <ø> (ø)
libdd-dogstatsd-client 82.64% <ø> (ø)
datadog-ipc 80.71% <ø> (ø)
libdd-profiling 81.22% <ø> (ø)
libdd-profiling-ffi 63.66% <ø> (ø)
datadog-sidecar 32.76% <0.00%> (ø)
datdog-sidecar-ffi 9.50% <ø> (ø)
spawn-worker 54.69% <ø> (ø)
libdd-tinybytes 93.16% <ø> (ø)
libdd-trace-normalization 81.71% <ø> (ø)
libdd-trace-obfuscation 94.18% <ø> (ø)
libdd-trace-protobuf 68.00% <ø> (ø)
libdd-trace-utils 88.72% <ø> (ø)
datadog-tracer-flare 88.95% <ø> (ø)
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.

@pr-commenter
Copy link

pr-commenter bot commented Feb 17, 2026

Benchmarks

Comparison

Benchmark execution time: 2026-02-17 16:00:30

Comparing candidate commit 4a40274 in PR branch tyler.finethy/DEBUG-5224 with baseline commit a0cef26 in branch main.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 56 metrics, 2 unstable metrics.

scenario:single_flag_killswitch/rules-based

  • 🟥 execution_time [+8.885ns; +9.682ns] or [+4.667%; +5.086%]

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 4a40274 1771343028 tyler.finethy/DEBUG-5224
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.338µs 2.389µs ± 0.014µs 2.386µs ± 0.005µs 2.398µs 2.412µs 2.420µs 2.429µs 1.81% -0.261 1.602 0.57% 0.001µ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.387µs; 2.391µs] or [-0.080%; +0.080%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 3.890ms 3.895ms ± 0.007ms 3.894ms ± 0.001ms 3.896ms 3.899ms 3.905ms 3.987ms 2.39% 11.623 150.244 0.18% 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 [3.894ms; 3.896ms] or [-0.025%; +0.025%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 159.312µs 160.267µs ± 0.355µs 160.215µs ± 0.140µs 160.385µs 160.761µs 161.352µs 163.327µs 1.94% 3.806 27.892 0.22% 0.025µ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 [160.218µs; 160.317µs] or [-0.031%; +0.031%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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.145ms 48.748ms ± 1.045ms 48.599ms ± 0.127ms 48.764ms 48.967ms 54.494ms 59.947ms 23.35% 8.436 77.355 2.14% 0.074ms 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.603ms; 48.893ms] or [-0.297%; +0.297%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 34.658µs 35.219µs ± 1.021µs 34.756µs ± 0.040µs 34.819µs 37.399µs 37.488µs 38.868µs 11.83% 1.753 1.263 2.89% 0.072µ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 [35.078µs; 35.361µs] or [-0.402%; +0.402%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 10.622ms 10.645ms ± 0.014ms 10.643ms ± 0.009ms 10.654ms 10.667ms 10.678ms 10.717ms 0.69% 1.222 3.441 0.13% 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 [10.643ms; 10.647ms] or [-0.018%; +0.018%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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.832ms 14.874ms ± 0.027ms 14.869ms ± 0.009ms 14.877ms 14.913ms 14.982ms 15.035ms 1.12% 3.027 11.048 0.18% 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.870ms; 14.878ms] or [-0.026%; +0.026%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 17.467µs 23.900µs ± 8.451µs 17.671µs ± 0.101µs 31.977µs 39.937µs 40.769µs 64.952µs 267.56% 1.190 1.524 35.27% 0.598µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [22.728µs; 25.071µs] or [-4.901%; +4.901%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 197.220ns 199.650ns ± 2.231ns 199.468ns ± 1.584ns 200.671ns 203.613ns 208.682ns 211.969ns 6.27% 1.868 5.964 1.11% 0.158ns 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 [199.340ns; 199.959ns] or [-0.155%; +0.155%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 1.208µs 3.222µs ± 1.450µs 3.015µs ± 0.026µs 3.037µs 3.645µs 14.031µs 14.971µs 396.62% 7.432 56.083 44.88% 0.103µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [3.021µs; 3.423µs] or [-6.236%; +6.236%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 493.300µs 494.115µs ± 0.765µs 494.010µs ± 0.244µs 494.296µs 494.848µs 495.391µs 503.156µs 1.85% 8.370 95.618 0.15% 0.054µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1987455.841op/s 2023823.257op/s ± 3095.023op/s 2024250.635op/s ± 1000.829op/s 2025151.538op/s 2026570.706op/s 2027051.959op/s 2027163.313op/s 0.14% -8.242 93.589 0.15% 218.851op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 371.772µs 372.385µs ± 0.271µs 372.373µs ± 0.188µs 372.571µs 372.845µs 373.088µs 373.179µs 0.22% 0.255 -0.128 0.07% 0.019µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2679679.189op/s 2685391.676op/s ± 1951.693op/s 2685476.836op/s ± 1355.204op/s 2686762.796op/s 2688643.294op/s 2689117.276op/s 2689819.384op/s 0.16% -0.251 -0.132 0.07% 138.006op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 167.673µs 167.934µs ± 0.131µs 167.917µs ± 0.084µs 168.009µs 168.140µs 168.339µs 168.584µs 0.40% 1.026 2.583 0.08% 0.009µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5931761.839op/s 5954706.457op/s ± 4654.850op/s 5955331.826op/s ± 2960.761op/s 5957980.168op/s 5961031.091op/s 5962651.058op/s 5964003.494op/s 0.15% -1.017 2.545 0.08% 329.148op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 38.659µs 38.792µs ± 0.054µs 38.786µs ± 0.040µs 38.831µs 38.886µs 38.925µs 38.936µs 0.39% 0.289 -0.345 0.14% 0.004µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 25683049.941op/s 25778607.007op/s ± 35975.186op/s 25782576.459op/s ± 26418.741op/s 25806271.167op/s 25828320.622op/s 25850957.723op/s 25866949.396op/s 0.33% -0.282 -0.350 0.14% 2543.830op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 45.523µs 45.708µs ± 0.068µs 45.713µs ± 0.050µs 45.760µs 45.807µs 45.819µs 45.835µs 0.27% -0.397 -0.450 0.15% 0.005µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21817256.238op/s 21878062.605op/s ± 32558.871op/s 21875849.221op/s ± 24058.543op/s 21901371.190op/s 21932021.775op/s 21961560.846op/s 21966740.890op/s 0.42% 0.403 -0.441 0.15% 2302.260op/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 [494.009µs; 494.222µs] or [-0.021%; +0.021%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [2023394.317op/s; 2024252.197op/s] or [-0.021%; +0.021%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [372.348µs; 372.423µs] or [-0.010%; +0.010%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2685121.190op/s; 2685662.162op/s] or [-0.010%; +0.010%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [167.916µs; 167.953µs] or [-0.011%; +0.011%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5954061.339op/s; 5955351.574op/s] or [-0.011%; +0.011%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [38.784µs; 38.799µs] or [-0.019%; +0.019%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [25773621.192op/s; 25783592.822op/s] or [-0.019%; +0.019%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [45.699µs; 45.717µs] or [-0.021%; +0.021%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21873550.259op/s; 21882574.951op/s] or [-0.021%; +0.021%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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.897µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.918µs 3.920µs 3.920µs 0.21% -0.148 4.595 0.07% 0.000µs 1 200
credit_card/is_card_number/ throughput 255086816.343op/s 255599859.027op/s ± 184069.559op/s 255617714.308op/s ± 98458.393op/s 255713063.531op/s 255846691.218op/s 255887139.404op/s 256629572.181op/s 0.40% 0.163 4.656 0.07% 13015.683op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 78.193µs 80.365µs ± 0.850µs 80.353µs ± 0.513µs 80.819µs 81.914µs 82.463µs 82.900µs 3.17% 0.338 0.308 1.05% 0.060µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12062655.196op/s 12444640.775op/s ± 131144.877op/s 12445126.352op/s ± 79834.908op/s 12537903.908op/s 12641242.638op/s 12732015.706op/s 12788896.493op/s 2.76% -0.269 0.255 1.05% 9273.343op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 71.852µs 72.412µs ± 0.382µs 72.369µs ± 0.251µs 72.603µs 73.187µs 73.361µs 74.016µs 2.28% 1.025 1.182 0.53% 0.027µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13510631.701op/s 13810200.700op/s ± 72375.418op/s 13818056.876op/s ± 48063.341op/s 13866036.186op/s 13898805.125op/s 13910473.920op/s 13917421.829op/s 0.72% -0.992 1.062 0.52% 5117.715op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.898µs 3.913µs ± 0.002µs 3.913µs ± 0.002µs 3.914µs 3.916µs 3.917µs 3.918µs 0.15% -0.926 5.653 0.06% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 255214167.222op/s 255585332.265op/s ± 152422.919op/s 255586313.353op/s ± 105743.891op/s 255693692.568op/s 255800863.793op/s 255860705.172op/s 256516121.677op/s 0.36% 0.938 5.730 0.06% 10777.928op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 68.643µs 69.170µs ± 0.371µs 69.084µs ± 0.205µs 69.365µs 69.880µs 70.265µs 71.077µs 2.88% 1.558 3.803 0.53% 0.026µs 1 200
credit_card/is_card_number/378282246310005 throughput 14069280.241op/s 14457588.735op/s ± 76840.592op/s 14475169.296op/s ± 43060.535op/s 14510790.641op/s 14547277.418op/s 14563298.728op/s 14568196.642op/s 0.64% -1.505 3.519 0.53% 5433.450op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 45.472µs 45.731µs ± 0.089µs 45.732µs ± 0.060µs 45.794µs 45.867µs 45.928µs 45.939µs 0.45% -0.289 0.213 0.19% 0.006µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21767793.307op/s 21867290.983op/s ± 42511.851op/s 21866616.273op/s ± 28767.085op/s 21894537.324op/s 21932441.542op/s 21988953.478op/s 21991553.034op/s 0.57% 0.302 0.227 0.19% 3006.042op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.427µs 6.435µs ± 0.005µs 6.434µs ± 0.002µs 6.437µs 6.442µs 6.449µs 6.472µs 0.58% 3.211 18.065 0.08% 0.000µs 1 200
credit_card/is_card_number/x371413321323331 throughput 154519870.271op/s 155399501.222op/s ± 125232.114op/s 155418984.429op/s ± 53059.044op/s 155465987.539op/s 155546494.466op/s 155576466.809op/s 155585738.254op/s 0.11% -3.188 17.859 0.08% 8855.248op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.892µs 3.912µs ± 0.002µs 3.912µs ± 0.001µs 3.913µs 3.916µs 3.918µs 3.921µs 0.24% -2.173 23.007 0.06% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 255013469.021op/s 255617077.285op/s ± 157679.609op/s 255627991.265op/s ± 71545.254op/s 255694121.010op/s 255794079.922op/s 255840808.119op/s 256923102.594op/s 0.51% 2.211 23.325 0.06% 11149.632op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 60.628µs 63.047µs ± 0.827µs 63.019µs ± 0.572µs 63.610µs 64.369µs 64.854µs 65.324µs 3.66% 0.025 -0.068 1.31% 0.058µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15308271.307op/s 15863959.149op/s ± 208173.565op/s 15868184.447op/s ± 144063.150op/s 16004058.277op/s 16219527.134op/s 16329453.262op/s 16493926.701op/s 3.94% 0.051 -0.045 1.31% 14720.094op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.805µs 54.005µs ± 0.070µs 54.005µs ± 0.049µs 54.055µs 54.109µs 54.166µs 54.198µs 0.36% -0.157 0.104 0.13% 0.005µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18451000.788op/s 18516966.411op/s ± 24062.283op/s 18516916.449op/s ± 16711.646op/s 18532635.736op/s 18556659.576op/s 18577614.703op/s 18585533.021op/s 0.37% 0.165 0.108 0.13% 1701.460op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.896µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.915µs 3.918µs 3.920µs 3.924µs 0.29% -0.498 5.902 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254821723.492op/s 255543393.450op/s ± 192165.551op/s 255548519.752op/s ± 105444.272op/s 255659683.757op/s 255800548.915op/s 255895368.765op/s 256682275.145op/s 0.44% 0.515 5.980 0.08% 13588.156op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 50.166µs 50.343µs ± 0.086µs 50.336µs ± 0.057µs 50.401µs 50.499µs 50.582µs 50.626µs 0.58% 0.596 0.343 0.17% 0.006µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19752588.408op/s 19863816.620op/s ± 33954.749op/s 19866368.225op/s ± 22378.724op/s 19887976.724op/s 19913299.098op/s 19924290.980op/s 19933879.622op/s 0.34% -0.586 0.323 0.17% 2400.963op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 45.452µs 45.663µs ± 0.069µs 45.664µs ± 0.047µs 45.710µs 45.775µs 45.820µs 45.866µs 0.44% -0.030 -0.162 0.15% 0.005µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 21802772.715op/s 21899497.308op/s ± 33241.682op/s 21898899.582op/s ± 22607.396op/s 21922101.864op/s 21952294.873op/s 21969467.983op/s 22001099.452op/s 0.47% 0.038 -0.162 0.15% 2350.542op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.428µs 6.436µs ± 0.004µs 6.436µs ± 0.003µs 6.439µs 6.442µs 6.446µs 6.447µs 0.18% 0.183 -0.680 0.06% 0.000µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 155100620.402op/s 155372423.638op/s ± 100243.971op/s 155373908.668op/s ± 75728.657op/s 155450338.428op/s 155522432.364op/s 155553613.941op/s 155576062.752op/s 0.13% -0.180 -0.682 0.06% 7088.319op/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.912µs; 3.913µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ throughput [255574348.756op/s; 255625369.297op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [80.247µs; 80.483µs] or [-0.147%; +0.147%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12426465.356op/s; 12462816.193op/s] or [-0.146%; +0.146%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [72.359µs; 72.465µs] or [-0.073%; +0.073%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13800170.163op/s; 13820231.237op/s] or [-0.073%; +0.073%] None None None
credit_card/is_card_number/37828224631 execution_time [3.912µs; 3.913µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/37828224631 throughput [255564207.914op/s; 255606456.615op/s] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/378282246310005 execution_time [69.118µs; 69.221µs] or [-0.074%; +0.074%] None None None
credit_card/is_card_number/378282246310005 throughput [14446939.368op/s; 14468238.102op/s] or [-0.074%; +0.074%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.718µs; 45.743µs] or [-0.027%; +0.027%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [21861399.250op/s; 21873182.717op/s] or [-0.027%; +0.027%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.434µs; 6.436µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/x371413321323331 throughput [155382145.255op/s; 155416857.188op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.912µs; 3.912µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ throughput [255595224.408op/s; 255638930.162op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [62.932µs; 63.161µs] or [-0.182%; +0.182%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15835108.295op/s; 15892810.003op/s] or [-0.182%; +0.182%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.995µs; 54.014µs] or [-0.018%; +0.018%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18513631.610op/s; 18520301.212op/s] or [-0.018%; +0.018%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.913µs; 3.914µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255516761.153op/s; 255570025.748op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.331µs; 50.355µs] or [-0.024%; +0.024%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19859110.818op/s; 19868522.421op/s] or [-0.024%; +0.024%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.654µs; 45.673µs] or [-0.021%; +0.021%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [21894890.330op/s; 21904104.285op/s] or [-0.021%; +0.021%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.436µs; 6.437µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [155358530.788op/s; 155386316.488op/s] or [-0.009%; +0.009%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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.087µs 146.253µs ± 1.787µs 145.970µs ± 0.570µs 146.616µs 148.184µs 153.008µs 162.933µs 11.62% 5.799 45.067 1.22% 0.126µ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.006µs; 146.501µs] or [-0.169%; +0.169%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 90.847µs 91.076µs ± 0.214µs 91.033µs ± 0.053µs 91.090µs 91.352µs 91.696µs 93.265µs 2.45% 6.221 55.776 0.23% 0.015µ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 [91.046µs; 91.105µs] or [-0.032%; +0.032%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 185.577µs 186.108µs ± 0.333µs 186.060µs ± 0.156µs 186.198µs 186.746µs 187.300µs 187.524µs 0.79% 1.824 4.366 0.18% 0.024µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5332647.199op/s 5373238.043op/s ± 9589.643op/s 5374596.981op/s ± 4508.597op/s 5379348.460op/s 5384007.396op/s 5385135.616op/s 5388587.914op/s 0.26% -1.808 4.296 0.18% 678.090op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.492µs 17.674µs ± 0.074µs 17.685µs ± 0.045µs 17.724µs 17.771µs 17.801µs 17.919µs 1.32% -0.283 0.475 0.42% 0.005µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 55808072.755op/s 56581916.894op/s ± 237921.429op/s 56544033.444op/s ± 144862.103op/s 56712793.111op/s 57044427.676op/s 57153224.588op/s 57168442.251op/s 1.10% 0.313 0.453 0.42% 16823.586op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 9.865µs 9.923µs ± 0.034µs 9.928µs ± 0.031µs 9.950µs 9.976µs 9.987µs 9.989µs 0.62% 0.034 -1.275 0.34% 0.002µs 1 200
normalization/normalize_name/normalize_name/good throughput 100105901.506op/s 100778924.012op/s ± 345039.083op/s 100725679.338op/s ± 312596.317op/s 101139703.873op/s 101265676.290op/s 101304244.936op/s 101368628.925op/s 0.64% -0.026 -1.280 0.34% 24397.948op/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 [186.062µs; 186.154µs] or [-0.025%; +0.025%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [5371909.011op/s; 5374567.076op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [17.664µs; 17.684µs] or [-0.058%; +0.058%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [56548943.272op/s; 56614890.516op/s] or [-0.058%; +0.058%] None None None
normalization/normalize_name/normalize_name/good execution_time [9.918µs; 9.928µs] or [-0.047%; +0.047%] None None None
normalization/normalize_name/normalize_name/good throughput [100731104.914op/s; 100826743.111op/s] or [-0.047%; +0.047%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 240.357ns 252.474ns ± 13.060ns 246.183ns ± 4.304ns 256.536ns 284.136ns 286.514ns 288.182ns 17.06% 1.341 0.630 5.16% 0.923ns 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 [250.664ns; 254.284ns] or [-0.717%; +0.717%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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 535.965µs 536.604µs ± 0.445µs 536.506µs ± 0.183µs 536.753µs 537.211µs 537.718µs 540.856µs 0.81% 4.742 40.108 0.08% 0.031µ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 [536.543µs; 536.666µs] or [-0.012%; +0.012%] None None None

Group 18

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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.941µs 5.005µs ± 0.052µs 4.974µs ± 0.015µs 5.061µs 5.097µs 5.104µs 5.124µs 3.02% 0.730 -1.149 1.05% 0.004µ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 [4.998µs; 5.012µs] or [-0.145%; +0.145%] None None None

Group 19

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4a40274 1771343028 tyler.finethy/DEBUG-5224
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/2597 execution_time 9.509ms 9.856ms ± 0.098ms 9.877ms ± 0.044ms 9.915ms 9.974ms 10.022ms 10.099ms 2.25% -1.183 1.807 0.99% 0.007ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
receiver_entry_point/report/2597 execution_time [9.842ms; 9.870ms] or [-0.137%; +0.137%] None None None

Baseline

Omitted due to size.

@dd-octo-sts
Copy link
Contributor

dd-octo-sts bot commented Feb 17, 2026

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 91.60 MB 91.60 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 8.38 MB 8.38 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 106.31 MB 106.31 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.76 MB 10.76 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 25.02 MB 25.02 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 75.94 KB 75.94 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 166.55 MB 166.60 MB +.03% (+56.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 838.10 MB 838.10 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 9.57 MB 9.57 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 75.94 KB 75.94 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 23.02 MB 23.02 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 48.42 MB 48.42 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 21.08 MB 21.08 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 77.12 KB 77.12 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 170.30 MB 170.33 MB +.01% (+32.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 823.46 MB 823.46 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 7.24 MB 7.24 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 77.12 KB 77.12 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 24.62 MB 24.62 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 44.15 MB 44.15 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 80.15 MB 80.15 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.87 MB 9.87 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 100.25 MB 100.25 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.44 MB 11.44 MB 0% (0 B) 👌

set_request_config can create a default ActiveApplication via
or_default() and call update_remote_config before set_metadata
has been invoked, causing a panic on the .expect() calls for env,
service_name, and app_version. Guard with an early return instead.
@tylfin tylfin force-pushed the tyler.finethy/DEBUG-5224 branch from 720c214 to 4a40274 Compare February 17, 2026 15:43
@tylfin
Copy link
Member Author

tylfin commented Feb 18, 2026

@bwoebi Feel free to close this if you're gonna handle the root cause for the crash

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants