Skip to content

fix: new clippy lints - #2219

Merged
paullegranddc merged 3 commits into
mainfrom
paullgd/rust_release/clippy_fixes
Jul 9, 2026
Merged

fix: new clippy lints#2219
paullegranddc merged 3 commits into
mainfrom
paullgd/rust_release/clippy_fixes

Conversation

@paullegranddc

Copy link
Copy Markdown
Contributor

What does this PR do?

A brief description of the change being made with this pull request.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

How to test the change?

Describe here in detail how the change can be validated.

@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Jul 9, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 54.55%
Overall Coverage: 74.36% (+0.03%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 45beb2c | Docs | Datadog PR Page | Give us feedback!

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Clippy Allow Annotation Report

Comparing clippy allow annotations between branches:

  • Base Branch: origin/main
  • PR Branch: origin/paullgd/rust_release/clippy_fixes

Summary by Rule

Rule Base Branch PR Branch Change
unwrap_used 11 11 No change (0%)
Total 11 11 No change (0%)

Annotation Counts by File

File Base Branch PR Branch Change
datadog-live-debugger-ffi/src/send_data.rs 9 9 No change (0%)
libdd-remote-config/src/fetch/multitarget.rs 1 1 No change (0%)
libdd-trace-obfuscation/src/replacer.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 22 22 No change (0%)
datadog-live-debugger 4 4 No change (0%)
datadog-live-debugger-ffi 10 10 No change (0%)
datadog-profiling-replayer 4 4 No change (0%)
datadog-sidecar 45 45 No change (0%)
libdd-common 13 13 No change (0%)
libdd-common-ffi 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-remote-config 3 3 No change (0%)
libdd-telemetry 20 20 No change (0%)
libdd-tinybytes 4 4 No change (0%)
libdd-trace-normalization 2 2 No change (0%)
libdd-trace-obfuscation 3 3 No change (0%)
libdd-trace-stats 1 1 No change (0%)
libdd-trace-utils 11 11 No change (0%)
Total 182 182 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.

@pr-commenter

pr-commenter Bot commented Jul 9, 2026

Copy link
Copy Markdown

Benchmarks

Comparison

Benchmark execution time: 2026-07-09 15:06:08

Comparing candidate commit 45beb2c in PR branch paullgd/rust_release/clippy_fixes with baseline commit 980438f in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 36 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 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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 155.602ns 158.885ns ± 2.454ns 158.247ns ± 1.714ns 160.396ns 163.261ns 165.662ns 170.847ns 7.96% 1.144 2.139 1.54% 0.174ns 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 [158.545ns; 159.225ns] or [-0.214%; +0.214%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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.041µs 1.059µs ± 0.005µs 1.059µs ± 0.003µs 1.062µs 1.068µs 1.069µs 1.081µs 2.02% -0.146 0.991 0.52% 0.000µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [1.059µs; 1.060µs] or [-0.072%; +0.072%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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.896µs 3.916µs ± 0.004µs 3.915µs ± 0.002µs 3.919µs 3.922µs 3.927µs 3.927µs 0.32% 0.034 2.474 0.10% 0.000µs 1 200
credit_card/is_card_number/ throughput 254621850.164op/s 255360499.784op/s ± 260592.045op/s 255438673.469op/s ± 152802.903op/s 255559507.467op/s 255648941.994op/s 255732429.149op/s 256679160.597op/s 0.49% -0.020 2.526 0.10% 18426.640op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 76.019µs 77.615µs ± 0.686µs 77.623µs ± 0.470µs 78.058µs 78.807µs 79.053µs 79.322µs 2.19% -0.059 -0.402 0.88% 0.049µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12606823.282op/s 12885096.690op/s ± 113951.860op/s 12882786.060op/s ± 78018.710op/s 12965110.832op/s 13082610.545op/s 13141664.309op/s 13154624.865op/s 2.11% 0.101 -0.400 0.88% 8057.613op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 67.503µs 67.650µs ± 0.093µs 67.639µs ± 0.052µs 67.698µs 67.790µs 67.875µs 68.261µs 0.92% 1.901 8.809 0.14% 0.007µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 14649560.731op/s 14781943.314op/s ± 20322.398op/s 14784456.362op/s ± 11431.167op/s 14795238.892op/s 14808488.448op/s 14813151.517op/s 14814234.998op/s 0.20% -1.872 8.579 0.14% 1437.011op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.902µs 3.916µs ± 0.004µs 3.915µs ± 0.002µs 3.919µs 3.923µs 3.926µs 3.936µs 0.54% 0.949 3.392 0.10% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254040653.865op/s 255347767.065op/s ± 253327.722op/s 255415261.064op/s ± 143948.867op/s 255525622.785op/s 255635606.557op/s 255709999.087op/s 256292821.674op/s 0.34% -0.936 3.349 0.10% 17912.975op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 64.386µs 64.633µs ± 0.097µs 64.629µs ± 0.062µs 64.688µs 64.803µs 64.871µs 64.909µs 0.43% 0.286 0.000 0.15% 0.007µs 1 200
credit_card/is_card_number/378282246310005 throughput 15406102.884op/s 15471929.537op/s ± 23109.283op/s 15472821.988op/s ± 14853.694op/s 15487719.787op/s 15511387.918op/s 15514992.634op/s 15531281.554op/s 0.38% -0.277 -0.006 0.15% 1634.073op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 44.700µs 44.988µs ± 0.094µs 44.994µs ± 0.063µs 45.053µs 45.143µs 45.175µs 45.246µs 0.56% -0.219 0.112 0.21% 0.007µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 22101247.898op/s 22228093.100op/s ± 46319.945op/s 22225365.031op/s ± 31090.783op/s 22258451.263op/s 22297916.957op/s 22342801.369op/s 22371149.203op/s 0.66% 0.232 0.121 0.21% 3275.315op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 5.697µs 5.707µs ± 0.009µs 5.705µs ± 0.004µs 5.710µs 5.717µs 5.721µs 5.797µs 1.62% 5.942 58.466 0.15% 0.001µs 1 200
credit_card/is_card_number/x371413321323331 throughput 172505463.247op/s 175236123.458op/s ± 262281.398op/s 175293663.136op/s ± 121532.022op/s 175398652.973op/s 175463463.525op/s 175509503.413op/s 175517694.597op/s 0.13% -5.829 56.861 0.15% 18546.095op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.900µs 3.917µs ± 0.004µs 3.916µs ± 0.003µs 3.919µs 3.923µs 3.926µs 3.931µs 0.38% 0.415 2.115 0.10% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254377048.139op/s 255316143.978op/s ± 249457.308op/s 255348266.462op/s ± 167725.023op/s 255505715.490op/s 255605409.622op/s 255669464.217op/s 256410899.973op/s 0.42% -0.404 2.124 0.10% 17639.295op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 59.851µs 61.224µs ± 0.452µs 61.235µs ± 0.301µs 61.554µs 61.869µs 62.237µs 62.295µs 1.73% -0.427 0.510 0.74% 0.032µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 16052632.274op/s 16334480.458op/s ± 121068.958op/s 16330626.716op/s ± 80348.636op/s 16406964.776op/s 16536451.248op/s 16704593.279op/s 16708168.807op/s 2.31% 0.479 0.586 0.74% 8560.868op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.074µs 53.407µs ± 0.155µs 53.408µs ± 0.108µs 53.509µs 53.667µs 53.781µs 53.902µs 0.92% 0.226 -0.162 0.29% 0.011µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18552344.750op/s 18724305.355op/s ± 54380.501op/s 18723863.163op/s ± 37753.017op/s 18764035.466op/s 18813236.073op/s 18829527.524op/s 18841794.869op/s 0.63% -0.210 -0.180 0.29% 3845.282op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.902µs 3.916µs ± 0.004µs 3.915µs ± 0.002µs 3.919µs 3.924µs 3.926µs 3.929µs 0.37% 0.666 0.810 0.10% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254494229.587op/s 255350163.227op/s ± 258069.435op/s 255429042.347op/s ± 138047.417op/s 255533899.764op/s 255639233.608op/s 255738055.797op/s 256276979.825op/s 0.33% -0.658 0.810 0.10% 18248.265op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 49.833µs 50.187µs ± 0.142µs 50.182µs ± 0.105µs 50.296µs 50.415µs 50.467µs 50.558µs 0.75% 0.022 -0.396 0.28% 0.010µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19779447.295op/s 19925473.571op/s ± 56296.039op/s 19927517.643op/s ± 41678.873op/s 19965737.297op/s 20020010.038op/s 20051667.210op/s 20066880.907op/s 0.70% -0.008 -0.392 0.28% 3980.731op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 44.726µs 44.986µs ± 0.086µs 44.987µs ± 0.059µs 45.045µs 45.127µs 45.178µs 45.203µs 0.48% -0.093 -0.100 0.19% 0.006µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 22122469.395op/s 22229054.083op/s ± 42435.067op/s 22228543.015op/s ± 29279.525op/s 22257805.322op/s 22293879.550op/s 22323312.402op/s 22358429.283op/s 0.58% 0.103 -0.095 0.19% 3000.612op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 5.697µs 5.705µs ± 0.007µs 5.704µs ± 0.004µs 5.709µs 5.714µs 5.721µs 5.771µs 1.19% 4.522 38.613 0.12% 0.000µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 173265961.571op/s 175270568.978op/s ± 212719.915op/s 175324054.460op/s ± 114755.485op/s 175415098.617op/s 175463001.622op/s 175502629.193op/s 175534865.650op/s 0.12% -4.449 37.671 0.12% 15041.569op/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.014%; +0.014%] None None None
credit_card/is_card_number/ throughput [255324384.233op/s; 255396615.335op/s] or [-0.014%; +0.014%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [77.520µs; 77.710µs] or [-0.122%; +0.122%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12869304.058op/s; 12900889.322op/s] or [-0.123%; +0.123%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [67.637µs; 67.663µs] or [-0.019%; +0.019%] None None None
credit_card/is_card_number/ 378282246310005 throughput [14779126.825op/s; 14784759.803op/s] or [-0.019%; +0.019%] None None None
credit_card/is_card_number/37828224631 execution_time [3.916µs; 3.917µs] or [-0.014%; +0.014%] None None None
credit_card/is_card_number/37828224631 throughput [255312658.279op/s; 255382875.851op/s] or [-0.014%; +0.014%] None None None
credit_card/is_card_number/378282246310005 execution_time [64.620µs; 64.647µs] or [-0.021%; +0.021%] None None None
credit_card/is_card_number/378282246310005 throughput [15468726.813op/s; 15475132.261op/s] or [-0.021%; +0.021%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [44.975µs; 45.001µs] or [-0.029%; +0.029%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [22221673.601op/s; 22234512.599op/s] or [-0.029%; +0.029%] None None None
credit_card/is_card_number/x371413321323331 execution_time [5.705µs; 5.708µs] or [-0.021%; +0.021%] None None None
credit_card/is_card_number/x371413321323331 throughput [175199773.779op/s; 175272473.137op/s] or [-0.021%; +0.021%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.916µs; 3.917µs] or [-0.014%; +0.014%] None None None
credit_card/is_card_number_no_luhn/ throughput [255281571.594op/s; 255350716.362op/s] or [-0.014%; +0.014%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [61.161µs; 61.286µs] or [-0.102%; +0.102%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [16317701.464op/s; 16351259.451op/s] or [-0.103%; +0.103%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.385µs; 53.428µs] or [-0.040%; +0.040%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18716768.741op/s; 18731841.970op/s] or [-0.040%; +0.040%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.916µs; 3.917µs] or [-0.014%; +0.014%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255314397.286op/s; 255385929.169op/s] or [-0.014%; +0.014%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.168µs; 50.207µs] or [-0.039%; +0.039%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19917671.481op/s; 19933275.660op/s] or [-0.039%; +0.039%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [44.974µs; 44.998µs] or [-0.026%; +0.026%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [22223172.991op/s; 22234935.175op/s] or [-0.026%; +0.026%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [5.705µs; 5.706µs] or [-0.017%; +0.017%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [175241088.044op/s; 175300049.912op/s] 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 8259CL CPU @ 2.50GHz 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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 31.592µs 33.003µs ± 1.975µs 31.757µs ± 0.078µs 35.671µs 36.413µs 36.548µs 36.591µs 15.22% 0.941 -1.053 5.97% 0.140µ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 [32.730µs; 33.277µs] or [-0.829%; +0.829%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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 123.771µs 126.285µs ± 4.796µs 125.457µs ± 0.592µs 125.971µs 129.209µs 147.759µs 169.360µs 34.99% 7.097 55.458 3.79% 0.339µ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 [125.620µs; 126.950µs] or [-0.526%; +0.526%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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.372µs 2.408µs ± 0.040µs 2.401µs ± 0.008µs 2.408µs 2.426µs 2.591µs 2.594µs 8.03% 3.914 14.716 1.68% 0.003µ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.402µs; 2.413µs] or [-0.233%; +0.233%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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 15.385µs 15.668µs ± 0.164µs 15.632µs ± 0.083µs 15.735µs 15.975µs 16.289µs 16.478µs 5.41% 1.577 4.182 1.05% 0.012µ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.646µs; 15.691µs] or [-0.145%; +0.145%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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.972µs 5.017µs ± 0.019µs 5.016µs ± 0.011µs 5.024µs 5.048µs 5.051µs 5.052µs 0.73% 0.210 -0.510 0.37% 0.001µ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.014µs; 5.019µs] or [-0.051%; +0.051%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 45beb2c 1783608609 paullgd/rust_release/clippy_fixes
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.638µs 288.573µs ± 0.485µs 288.518µs ± 0.128µs 288.650µs 289.038µs 289.843µs 293.219µs 1.63% 5.941 49.770 0.17% 0.034µ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.506µs; 288.641µs] or [-0.023%; +0.023%] None None None

Baseline

Baseline benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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 156.063ns 159.315ns ± 2.516ns 158.838ns ± 1.683ns 160.822ns 163.694ns 167.486ns 170.895ns 7.59% 1.269 2.304 1.58% 0.178ns 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 [158.966ns; 159.663ns] or [-0.219%; +0.219%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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.059µs 1.079µs ± 0.005µs 1.081µs ± 0.002µs 1.082µs 1.084µs 1.085µs 1.090µs 0.86% -1.143 0.738 0.48% 0.000µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [1.078µs; 1.079µs] or [-0.066%; +0.066%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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.894µs 3.916µs ± 0.005µs 3.915µs ± 0.003µs 3.919µs 3.924µs 3.928µs 3.931µs 0.41% 0.099 2.881 0.12% 0.000µs 1 200
credit_card/is_card_number/ throughput 254363443.531op/s 255333232.490op/s ± 294354.461op/s 255408747.753op/s ± 177996.702op/s 255546818.039op/s 255652309.663op/s 255723638.354op/s 256836589.781op/s 0.56% -0.083 2.939 0.11% 20814.004op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 75.380µs 77.861µs ± 0.677µs 77.835µs ± 0.448µs 78.314µs 78.859µs 79.237µs 79.298µs 1.88% -0.401 0.593 0.87% 0.048µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12610620.313op/s 12844377.025op/s ± 112133.830op/s 12847614.495op/s ± 74023.535op/s 12912233.696op/s 13014535.467op/s 13145165.167op/s 13266107.420op/s 3.26% 0.465 0.729 0.87% 7929.059op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 67.468µs 67.631µs ± 0.087µs 67.633µs ± 0.054µs 67.673µs 67.752µs 67.862µs 68.270µs 0.94% 2.155 13.380 0.13% 0.006µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 14647700.534op/s 14786117.712op/s ± 18996.569op/s 14785715.520op/s ± 11708.907op/s 14799834.983op/s 14812489.077op/s 14817521.660op/s 14821872.637op/s 0.24% -2.114 13.015 0.13% 1343.260op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.896µs 3.916µs ± 0.004µs 3.915µs ± 0.003µs 3.918µs 3.923µs 3.929µs 3.933µs 0.46% 0.513 2.744 0.11% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254234284.957op/s 255360307.000op/s ± 287576.501op/s 255403703.354op/s ± 168189.879op/s 255553319.216op/s 255695157.873op/s 255763422.176op/s 256669048.778op/s 0.50% -0.498 2.760 0.11% 20334.729op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 64.355µs 64.612µs ± 0.097µs 64.611µs ± 0.063µs 64.677µs 64.768µs 64.819µs 64.855µs 0.38% -0.068 -0.326 0.15% 0.007µs 1 200
credit_card/is_card_number/378282246310005 throughput 15418921.145op/s 15476980.530op/s ± 23226.701op/s 15477281.672op/s ± 14988.075op/s 15491452.600op/s 15518305.317op/s 15526651.281op/s 15538764.556op/s 0.40% 0.075 -0.325 0.15% 1642.376op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 44.700µs 44.986µs ± 0.097µs 44.995µs ± 0.070µs 45.050µs 45.137µs 45.189µs 45.214µs 0.49% -0.153 -0.283 0.21% 0.007µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 22117137.717op/s 22229114.425op/s ± 47855.634op/s 22224841.154op/s ± 34729.914op/s 22263244.498op/s 22310039.637op/s 22339204.843op/s 22371609.284op/s 0.66% 0.164 -0.278 0.21% 3383.904op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 5.695µs 5.708µs ± 0.011µs 5.705µs ± 0.004µs 5.710µs 5.721µs 5.759µs 5.801µs 1.70% 4.416 27.451 0.20% 0.001µs 1 200
credit_card/is_card_number/x371413321323331 throughput 172369697.899op/s 175207191.191op/s ± 348755.714op/s 175291927.807op/s ± 123934.091op/s 175398328.303op/s 175474045.695op/s 175514409.481op/s 175588228.076op/s 0.17% -4.357 26.791 0.20% 24660.753op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.896µs 3.916µs ± 0.004µs 3.915µs ± 0.003µs 3.919µs 3.924µs 3.927µs 3.933µs 0.45% 0.231 2.483 0.11% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254255722.123op/s 255335349.947op/s ± 285127.601op/s 255397803.597op/s ± 167374.202op/s 255538514.652op/s 255657429.196op/s 255769296.705op/s 256699567.229op/s 0.51% -0.216 2.516 0.11% 20161.566op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 59.965µs 61.207µs ± 0.426µs 61.211µs ± 0.291µs 61.494µs 61.913µs 62.167µs 62.312µs 1.80% -0.125 0.099 0.69% 0.030µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 16048375.283op/s 16338841.811op/s ± 113712.000op/s 16336857.231op/s ± 77299.139op/s 16416919.311op/s 16511043.796op/s 16644772.546op/s 16676465.785op/s 2.08% 0.169 0.134 0.69% 8040.653op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.654µs 53.852µs ± 0.079µs 53.849µs ± 0.052µs 53.907µs 53.975µs 54.072µs 54.094µs 0.45% 0.276 0.335 0.15% 0.006µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18486454.349op/s 18569309.410op/s ± 27193.171op/s 18570462.772op/s ± 17916.428op/s 18587538.450op/s 18608436.894op/s 18630666.404op/s 18637885.229op/s 0.36% -0.267 0.326 0.15% 1922.848op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.902µs 3.916µs ± 0.004µs 3.915µs ± 0.003µs 3.920µs 3.925µs 3.928µs 3.930µs 0.39% 0.673 0.730 0.11% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254426285.164op/s 255331601.329op/s ± 275349.078op/s 255417266.209op/s ± 171026.765op/s 255551107.370op/s 255635468.396op/s 255676802.627op/s 256296370.928op/s 0.34% -0.666 0.728 0.11% 19470.120op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 49.879µs 50.180µs ± 0.129µs 50.171µs ± 0.089µs 50.275µs 50.408µs 50.480µs 50.516µs 0.69% 0.192 -0.490 0.26% 0.009µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19795629.917op/s 19928238.914op/s ± 51387.987op/s 19931699.051op/s ± 35548.841op/s 19964891.740op/s 20010572.800op/s 20024759.935op/s 20048642.015op/s 0.59% -0.180 -0.496 0.26% 3633.679op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 44.756µs 45.028µs ± 0.090µs 45.023µs ± 0.059µs 45.085µs 45.183µs 45.206µs 45.216µs 0.43% -0.065 -0.312 0.20% 0.006µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 22116045.369op/s 22208489.984op/s ± 44620.386op/s 22211009.370op/s ± 29307.655op/s 22237808.714op/s 22285922.429op/s 22304452.431op/s 22343578.916op/s 0.60% 0.075 -0.304 0.20% 3155.138op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 5.696µs 5.706µs ± 0.010µs 5.704µs ± 0.004µs 5.710µs 5.717µs 5.758µs 5.796µs 1.61% 4.849 34.059 0.18% 0.001µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 172526158.922op/s 175250834.212op/s ± 316631.626op/s 175309422.881op/s ± 137628.066op/s 175420908.880op/s 175532914.625op/s 175559044.569op/s 175570589.392op/s 0.15% -4.781 33.285 0.18% 22389.237op/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.916µs; 3.917µs] or [-0.016%; +0.016%] None None None
credit_card/is_card_number/ throughput [255292437.792op/s; 255374027.187op/s] or [-0.016%; +0.016%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [77.767µs; 77.955µs] or [-0.121%; +0.121%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12828836.355op/s; 12859917.696op/s] or [-0.121%; +0.121%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [67.619µs; 67.643µs] or [-0.018%; +0.018%] None None None
credit_card/is_card_number/ 378282246310005 throughput [14783484.970op/s; 14788750.453op/s] or [-0.018%; +0.018%] None None None
credit_card/is_card_number/37828224631 execution_time [3.915µs; 3.917µs] or [-0.016%; +0.016%] None None None
credit_card/is_card_number/37828224631 throughput [255320451.663op/s; 255400162.337op/s] or [-0.016%; +0.016%] None None None
credit_card/is_card_number/378282246310005 execution_time [64.599µs; 64.626µs] or [-0.021%; +0.021%] None None None
credit_card/is_card_number/378282246310005 throughput [15473761.532op/s; 15480199.527op/s] or [-0.021%; +0.021%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [44.973µs; 45.000µs] or [-0.030%; +0.030%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [22222482.095op/s; 22235746.756op/s] or [-0.030%; +0.030%] None None None
credit_card/is_card_number/x371413321323331 execution_time [5.706µs; 5.709µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number/x371413321323331 throughput [175158857.003op/s; 175255525.379op/s] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.916µs; 3.917µs] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/ throughput [255295834.004op/s; 255374865.890op/s] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [61.148µs; 61.266µs] or [-0.096%; +0.096%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [16323082.421op/s; 16354601.201op/s] or [-0.096%; +0.096%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.841µs; 53.863µs] or [-0.020%; +0.020%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18565540.698op/s; 18573078.122op/s] or [-0.020%; +0.020%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.916µs; 3.917µs] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255293440.595op/s; 255369762.063op/s] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.162µs; 50.198µs] or [-0.036%; +0.036%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19921117.033op/s; 19935360.795op/s] or [-0.036%; +0.036%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.015µs; 45.041µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [22202306.028op/s; 22214673.940op/s] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [5.705µs; 5.708µs] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [175206952.114op/s; 175294716.311op/s] or [-0.025%; +0.025%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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 31.980µs 32.834µs ± 1.055µs 32.205µs ± 0.141µs 34.331µs 34.470µs 34.668µs 35.855µs 11.33% 0.930 -0.935 3.21% 0.075µ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 [32.688µs; 32.981µs] or [-0.445%; +0.445%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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 124.599µs 127.645µs ± 5.393µs 126.494µs ± 0.668µs 127.417µs 133.124µs 148.531µs 184.178µs 45.60% 7.394 66.142 4.21% 0.381µ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 [126.898µs; 128.393µs] or [-0.586%; +0.586%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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.291µs 2.354µs ± 0.025µs 2.361µs ± 0.010µs 2.371µs 2.381µs 2.388µs 2.402µs 1.74% -1.040 0.056 1.06% 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.350µs; 2.357µs] or [-0.148%; +0.148%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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 15.251µs 15.681µs ± 0.139µs 15.678µs ± 0.090µs 15.766µs 15.938µs 16.023µs 16.206µs 3.37% 0.377 0.746 0.89% 0.010µ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.662µs; 15.701µs] or [-0.123%; +0.123%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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.917µs 5.014µs ± 0.043µs 5.001µs ± 0.024µs 5.063µs 5.074µs 5.075µs 5.076µs 1.51% 0.025 -0.980 0.86% 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.008µs; 5.020µs] or [-0.119%; +0.119%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 980438f 1783595813 main
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 286.912µs 287.765µs ± 0.646µs 287.656µs ± 0.148µs 287.820µs 288.508µs 291.288µs 292.647µs 1.73% 4.905 29.040 0.22% 0.046µ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 [287.676µs; 287.855µs] or [-0.031%; +0.031%] None None None

@dd-octo-sts

dd-octo-sts Bot commented Jul 9, 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 85.88 MB 85.88 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.88 MB 7.88 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.61 MB 10.61 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 97.10 MB 97.10 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 25.45 MB 25.45 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 88.44 KB 88.44 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 184.53 MB 184.55 MB +0% (+16.00 KB) 👌
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 946.77 MB 946.77 MB -0% (-4 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 8.32 MB 8.32 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 88.44 KB 88.44 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 24.62 MB 24.62 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 49.03 MB 49.03 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 22.05 MB 22.05 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 89.82 KB 89.82 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 188.75 MB 188.76 MB +0% (+8.00 KB) 👌
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 935.45 MB 935.45 MB -0% (-20 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 6.43 MB 6.43 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 89.82 KB 89.82 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 26.43 MB 26.43 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 46.66 MB 46.66 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 76.58 MB 76.58 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.78 MB 8.78 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 92.10 MB 92.10 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.69 MB 10.69 MB 0% (0 B) 👌

@paullegranddc
paullegranddc merged commit e026a3c into main Jul 9, 2026
69 of 70 checks passed
@paullegranddc
paullegranddc deleted the paullgd/rust_release/clippy_fixes branch July 9, 2026 15:26
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.

2 participants