Skip to content

Conversation

@morrisonlevi
Copy link
Contributor

@morrisonlevi morrisonlevi commented Nov 14, 2025

What does this PR do?

This adds ParallelSet, ParallelSliceSet, and ParallelStringSet. It also adds SetOps and Sharded as helpers for those. The SetOps trait abstracts some of the differences in Set<T> and SliceSet<T> so that Sharded can work with either.

Motivation

This is another stepping stone for shipping my new profiling API that has long-lived data. These structures are used by the profiles dictionary.

Additional Notes

I ran this locally under thread sanitizer with no issues:

cd libdd-profiling
export RUSTFLAGS="-Zsanitizer=thread" RUSTDOCFLAGS="-Zsanitizer=thread"
cargo +nightly test -Zbuild-std --target aarch64-apple-darwin

You can run it similarly on your machine by changing the target, if necessary.

How to test the change?

Everything tests as normal.

@codecov-commenter
Copy link

codecov-commenter commented Nov 14, 2025

Codecov Report

❌ Patch coverage is 76.69774% with 175 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.98%. Comparing base (3e1bd42) to head (2f6bdcf).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1347      +/-   ##
==========================================
+ Coverage   70.87%   70.98%   +0.10%     
==========================================
  Files         385      390       +5     
  Lines       61838    62586     +748     
==========================================
+ Hits        43828    44425     +597     
- Misses      18010    18161     +151     
Components Coverage Δ
datadog-crashtracker ∅ <ø> (∅)
datadog-crashtracker-ffi ∅ <ø> (∅)
datadog-alloc ∅ <ø> (∅)
data-pipeline ∅ <ø> (∅)
data-pipeline-ffi ∅ <ø> (∅)
ddcommon ∅ <ø> (∅)
ddcommon-ffi ∅ <ø> (∅)
ddtelemetry ∅ <ø> (∅)
ddtelemetry-ffi ∅ <ø> (∅)
dogstatsd-client ∅ <ø> (∅)
datadog-ipc 82.61% <ø> (ø)
datadog-profiling 0.00% <ø> (ø)
datadog-profiling-ffi ∅ <ø> (∅)
datadog-sidecar 36.17% <ø> (ø)
datdog-sidecar-ffi 12.32% <ø> (ø)
spawn-worker 55.18% <ø> (ø)
tinybytes ∅ <ø> (∅)
datadog-trace-normalization ∅ <ø> (∅)
datadog-trace-obfuscation 94.17% <ø> (ø)
datadog-trace-protobuf ∅ <ø> (∅)
datadog-trace-utils ∅ <ø> (∅)
datadog-tracer-flare 61.06% <ø> (ø)
datadog-log ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pr-commenter
Copy link

pr-commenter bot commented Nov 14, 2025

Benchmarks

Comparison

Benchmark execution time: 2025-11-14 18:22:12

Comparing candidate commit 2f6bdcf in PR branch levi/sharded with baseline commit 3e1bd42 in branch main.

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

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 2f6bdcf 1763143643 levi/sharded
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.523µs 33.886µs ± 0.594µs 33.615µs ± 0.054µs 33.749µs 35.048µs 35.145µs 37.561µs 11.74% 2.336 6.821 1.75% 0.042µ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 [33.804µs; 33.968µs] or [-0.243%; +0.243%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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 533.883µs 534.745µs ± 0.902µs 534.569µs ± 0.269µs 534.919µs 535.474µs 538.376µs 542.682µs 1.52% 6.091 46.774 0.17% 0.064µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1842699.377op/s 1870056.372op/s ± 3121.741op/s 1870667.033op/s ± 942.120op/s 1871459.931op/s 1872378.391op/s 1872791.365op/s 1873069.980op/s 0.13% -6.033 46.084 0.17% 220.740op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 380.160µs 381.032µs ± 0.340µs 381.016µs ± 0.249µs 381.269µs 381.616µs 381.779µs 382.003µs 0.26% 0.174 -0.280 0.09% 0.024µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2617783.766op/s 2624456.258op/s ± 2344.073op/s 2624561.249op/s ± 1712.028op/s 2626240.678op/s 2627994.847op/s 2629279.259op/s 2630473.186op/s 0.23% -0.170 -0.282 0.09% 165.751op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 194.568µs 195.278µs ± 0.473µs 195.127µs ± 0.188µs 195.371µs 196.220µs 196.426µs 196.549µs 0.73% 1.026 -0.077 0.24% 0.033µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5087779.595op/s 5120941.130op/s ± 12367.013op/s 5124865.328op/s ± 4939.712op/s 5129041.801op/s 5135198.388op/s 5137386.744op/s 5139598.251op/s 0.29% -1.020 -0.088 0.24% 874.480op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 36.996µs 37.161µs ± 0.076µs 37.164µs ± 0.055µs 37.207µs 37.293µs 37.360µs 37.395µs 0.62% 0.303 -0.113 0.20% 0.005µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26741185.437op/s 26910404.397op/s ± 54696.913op/s 26907431.865op/s ± 39654.242op/s 26954224.362op/s 26996282.274op/s 27020486.281op/s 27029783.521op/s 0.45% -0.292 -0.127 0.20% 3867.656op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 44.973µs 45.176µs ± 0.282µs 45.049µs ± 0.075µs 45.356µs 45.458µs 45.626µs 47.676µs 5.83% 4.355 32.924 0.62% 0.020µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 20974953.549op/s 22136397.015op/s ± 134617.550op/s 22198028.866op/s ± 36795.866op/s 22231390.937op/s 22234093.730op/s 22235231.248op/s 22235757.997op/s 0.17% -4.069 29.613 0.61% 9518.898op/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 [534.620µs; 534.870µs] or [-0.023%; +0.023%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1869623.729op/s; 1870489.016op/s] or [-0.023%; +0.023%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [380.984µs; 381.079µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2624131.392op/s; 2624781.124op/s] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [195.212µs; 195.343µs] or [-0.034%; +0.034%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5119227.181op/s; 5122655.080op/s] or [-0.033%; +0.033%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [37.150µs; 37.171µs] or [-0.028%; +0.028%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26902823.931op/s; 26917984.863op/s] or [-0.028%; +0.028%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [45.137µs; 45.215µs] or [-0.086%; +0.086%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [22117740.317op/s; 22155053.713op/s] or [-0.084%; +0.084%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.923µs 4.985µs ± 0.045µs 4.967µs ± 0.030µs 5.023µs 5.060µs 5.065µs 5.067µs 2.02% 0.432 -1.305 0.90% 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 [4.979µs; 4.991µs] or [-0.125%; +0.125%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.642µs 146.670µs ± 1.860µs 146.321µs ± 0.471µs 146.846µs 148.382µs 153.515µs 165.171µs 12.88% 6.421 54.581 1.26% 0.132µ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.412µs; 146.928µs] or [-0.176%; +0.176%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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 62.090ms 62.572ms ± 2.137ms 62.273ms ± 0.055ms 62.356ms 62.680ms 76.202ms 84.238ms 35.27% 8.413 72.094 3.41% 0.151ms 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 [62.275ms; 62.868ms] or [-0.473%; +0.473%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.240µs 159.900µs ± 0.290µs 159.846µs ± 0.162µs 160.042µs 160.541µs 160.825µs 161.083µs 0.77% 1.096 1.828 0.18% 0.021µ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 [159.860µs; 159.940µs] or [-0.025%; +0.025%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.820ms 14.889ms ± 0.035ms 14.885ms ± 0.016ms 14.898ms 14.942ms 15.013ms 15.090ms 1.38% 2.383 8.799 0.24% 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.884ms; 14.894ms] or [-0.033%; +0.033%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.613ms 10.648ms ± 0.015ms 10.646ms ± 0.008ms 10.654ms 10.673ms 10.690ms 10.726ms 0.76% 1.435 5.423 0.14% 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.646ms; 10.650ms] or [-0.019%; +0.019%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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 89.181µs 89.389µs ± 0.142µs 89.367µs ± 0.058µs 89.435µs 89.562µs 89.630µs 90.791µs 1.59% 5.430 47.785 0.16% 0.010µ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 [89.370µs; 89.409µs] or [-0.022%; +0.022%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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 243.268ns 252.773ns ± 13.475ns 246.631ns ± 2.423ns 255.095ns 282.553ns 299.820ns 301.301ns 22.17% 2.102 3.705 5.32% 0.953ns 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.906ns; 254.641ns] or [-0.739%; +0.739%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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 204.871µs 205.418µs ± 0.376µs 205.359µs ± 0.198µs 205.585µs 205.895µs 206.317µs 208.161µs 1.36% 3.256 19.416 0.18% 0.027µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4803973.223op/s 4868142.957op/s ± 8854.512op/s 4869516.694op/s ± 4692.803op/s 4873886.379op/s 4877822.800op/s 4879346.983op/s 4881109.368op/s 0.24% -3.198 18.881 0.18% 626.109op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.175µs 18.275µs ± 0.075µs 18.259µs ± 0.021µs 18.287µs 18.383µs 18.506µs 18.973µs 3.91% 5.045 37.955 0.41% 0.005µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 52707807.288op/s 54721876.656op/s ± 220613.697op/s 54768819.412op/s ± 61807.023op/s 54813285.806op/s 54915003.075op/s 54940285.674op/s 55020813.857op/s 0.46% -4.872 35.625 0.40% 15599.744op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.646µs 10.821µs ± 0.062µs 10.819µs ± 0.039µs 10.858µs 10.926µs 10.971µs 10.987µs 1.55% 0.181 -0.089 0.57% 0.004µs 1 200
normalization/normalize_name/normalize_name/good throughput 91016914.925op/s 92416471.448op/s ± 527726.936op/s 92428783.086op/s ± 334755.091op/s 92762512.963op/s 93249624.513op/s 93508973.094op/s 93931786.443op/s 1.63% -0.149 -0.092 0.57% 37315.929op/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 [205.366µs; 205.470µ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 [4866915.807op/s; 4869370.107op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.264µs; 18.285µs] or [-0.057%; +0.057%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [54691301.719op/s; 54752451.592op/s] or [-0.056%; +0.056%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.812µs; 10.830µs] or [-0.079%; +0.079%] None None None
normalization/normalize_name/normalize_name/good throughput [92343333.570op/s; 92489609.326op/s] or [-0.079%; +0.079%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.892µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.914µs 3.919µs 3.920µs 3.924µs 0.28% -0.896 9.686 0.08% 0.000µs 1 200
credit_card/is_card_number/ throughput 254871805.764op/s 255553454.696op/s ± 200180.804op/s 255579285.299op/s ± 103846.201op/s 255672061.182op/s 255793029.130op/s 255859201.748op/s 256907350.123op/s 0.52% 0.922 9.854 0.08% 14154.920op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 80.405µs 81.570µs ± 0.507µs 81.524µs ± 0.309µs 81.852µs 82.404µs 82.973µs 83.002µs 1.81% 0.348 0.265 0.62% 0.036µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12047883.579op/s 12259852.893op/s ± 75982.988op/s 12266394.393op/s ± 46619.231op/s 12307573.058op/s 12377751.169op/s 12427948.566op/s 12437095.346op/s 1.39% -0.308 0.226 0.62% 5372.809op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 75.047µs 75.738µs ± 0.261µs 75.705µs ± 0.087µs 75.833µs 76.068µs 76.353µs 77.568µs 2.46% 3.177 21.146 0.34% 0.018µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 12891854.209op/s 13203607.595op/s ± 44940.617op/s 13209191.433op/s ± 15138.495op/s 13222204.187op/s 13256917.181op/s 13296376.908op/s 13324932.281op/s 0.88% -3.044 20.110 0.34% 3177.782op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.896µs 3.914µs ± 0.003µs 3.914µs ± 0.002µs 3.916µs 3.918µs 3.920µs 3.929µs 0.36% -0.568 6.735 0.08% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254546432.317op/s 255483163.378op/s ± 204687.776op/s 255473591.671op/s ± 128197.545op/s 255603003.336op/s 255780883.125op/s 255813660.174op/s 256701299.917op/s 0.48% 0.588 6.801 0.08% 14473.611op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 72.072µs 72.798µs ± 0.184µs 72.824µs ± 0.107µs 72.913µs 73.072µs 73.127µs 73.178µs 0.49% -0.894 1.291 0.25% 0.013µs 1 200
credit_card/is_card_number/378282246310005 throughput 13665329.544op/s 13736710.223op/s ± 34809.234op/s 13731729.277op/s ± 20090.481op/s 13755819.061op/s 13801781.948op/s 13832917.504op/s 13875036.196op/s 1.04% 0.913 1.344 0.25% 2461.385op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 53.071µs 53.134µs ± 0.032µs 53.132µs ± 0.022µs 53.153µs 53.187µs 53.233µs 53.246µs 0.22% 0.590 0.521 0.06% 0.002µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 18780634.046op/s 18820286.192op/s ± 11187.484op/s 18821117.872op/s ± 7706.039op/s 18828946.616op/s 18835655.237op/s 18840459.119op/s 18842665.537op/s 0.11% -0.587 0.512 0.06% 791.075op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.429µs 6.438µs ± 0.005µs 6.437µs ± 0.003µs 6.442µs 6.448µs 6.452µs 6.459µs 0.34% 1.030 1.320 0.08% 0.000µs 1 200
credit_card/is_card_number/x371413321323331 throughput 154818869.400op/s 155324670.796op/s ± 121400.593op/s 155347303.254op/s ± 77782.855op/s 155416725.734op/s 155478187.331op/s 155506347.438op/s 155534359.172op/s 0.12% -1.025 1.301 0.08% 8584.318op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.896µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.915µs 3.917µs 3.920µs 3.922µs 0.25% -0.748 8.296 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254943240.718op/s 255561350.303op/s ± 172084.922op/s 255586121.683op/s ± 112898.959op/s 255666012.965op/s 255766346.625op/s 255817952.291op/s 256678511.771op/s 0.43% 0.768 8.412 0.07% 12168.242op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 64.947µs 65.158µs ± 0.101µs 65.141µs ± 0.067µs 65.221µs 65.358µs 65.401µs 65.423µs 0.43% 0.574 -0.288 0.16% 0.007µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15285241.464op/s 15347355.161op/s ± 23884.515op/s 15351350.803op/s ± 15745.176op/s 15364521.016op/s 15381298.655op/s 15385870.464op/s 15397093.029op/s 0.30% -0.568 -0.295 0.16% 1688.890op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 58.170µs 58.395µs ± 0.116µs 58.371µs ± 0.067µs 58.450µs 58.614µs 58.718µs 58.835µs 0.79% 0.894 0.800 0.20% 0.008µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 16996783.062op/s 17124915.327op/s ± 34064.792op/s 17131836.710op/s ± 19777.088op/s 17146772.134op/s 17168167.471op/s 17185374.164op/s 17191081.267op/s 0.35% -0.882 0.769 0.20% 2408.745op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.893µs 3.917µs ± 0.002µs 3.917µs ± 0.001µs 3.918µs 3.919µs 3.921µs 3.932µs 0.37% -3.936 57.771 0.06% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254354540.786op/s 255298086.042op/s ± 152473.229op/s 255302455.781op/s ± 45712.745op/s 255346141.317op/s 255406060.828op/s 255558590.751op/s 256845505.269op/s 0.60% 4.015 58.358 0.06% 10781.485op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 55.114µs 55.488µs ± 0.162µs 55.461µs ± 0.091µs 55.584µs 55.766µs 55.936µs 56.344µs 1.59% 1.192 3.232 0.29% 0.011µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 17748217.898op/s 18022119.852op/s ± 52533.571op/s 18030608.309op/s ± 29791.555op/s 18058419.136op/s 18087685.994op/s 18106713.354op/s 18144061.038op/s 0.63% -1.159 3.059 0.29% 3714.684op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 52.723µs 53.051µs ± 0.164µs 53.129µs ± 0.079µs 53.185µs 53.224µs 53.250µs 53.401µs 0.51% -0.543 -1.196 0.31% 0.012µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 18726135.324op/s 18849824.436op/s ± 58351.077op/s 18822056.923op/s ± 28105.553op/s 18902975.803op/s 18949724.939op/s 18962111.744op/s 18967149.399op/s 0.77% 0.547 -1.192 0.31% 4126.044op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.431µs 6.441µs ± 0.005µs 6.441µs ± 0.004µs 6.444µs 6.451µs 6.453µs 6.455µs 0.21% 0.297 -0.523 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 154926765.928op/s 155250270.801op/s ± 123271.032op/s 155254153.449op/s ± 90348.853op/s 155349160.245op/s 155432135.192op/s 155463119.726op/s 155502433.067op/s 0.16% -0.294 -0.527 0.08% 8716.578op/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.913µs; 3.914µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/ throughput [255525711.561op/s; 255581197.830op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [81.500µs; 81.640µs] or [-0.086%; +0.086%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12249322.381op/s; 12270383.404op/s] or [-0.086%; +0.086%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [75.702µs; 75.774µs] or [-0.048%; +0.048%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13197379.258op/s; 13209835.932op/s] or [-0.047%; +0.047%] None None None
credit_card/is_card_number/37828224631 execution_time [3.914µs; 3.915µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/37828224631 throughput [255454795.621op/s; 255511531.136op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/378282246310005 execution_time [72.773µs; 72.824µs] or [-0.035%; +0.035%] None None None
credit_card/is_card_number/378282246310005 throughput [13731885.998op/s; 13741534.448op/s] or [-0.035%; +0.035%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [53.130µs; 53.139µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [18818735.715op/s; 18821836.670op/s] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.437µs; 6.439µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/x371413321323331 throughput [155307845.841op/s; 155341495.750op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.913µs; 3.913µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ throughput [255537500.988op/s; 255585199.618op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [65.144µs; 65.172µs] or [-0.022%; +0.022%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15344044.997op/s; 15350665.325op/s] or [-0.022%; +0.022%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [58.379µs; 58.411µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [17120194.274op/s; 17129636.379op/s] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.917µs; 3.917µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255276954.719op/s; 255319217.365op/s] or [-0.008%; +0.008%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [55.465µs; 55.510µs] or [-0.041%; +0.041%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [18014839.204op/s; 18029400.499op/s] or [-0.040%; +0.040%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [53.029µs; 53.074µs] or [-0.043%; +0.043%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [18841737.538op/s; 18857911.334op/s] or [-0.043%; +0.043%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.441µs; 6.442µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [155233186.621op/s; 155267354.980op/s] or [-0.011%; +0.011%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.434µs 25.158µs ± 9.368µs 17.651µs ± 0.185µs 33.300µs 42.086µs 42.846µs 67.378µs 281.71% 0.907 0.510 37.14% 0.662µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [23.860µs; 26.457µs] or [-5.160%; +5.160%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.365µs 2.414µs ± 0.015µs 2.414µs ± 0.009µs 2.423µs 2.440µs 2.450µs 2.452µs 1.58% -0.167 0.703 0.62% 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.412µs; 2.416µs] or [-0.086%; +0.086%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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 6.083ms 6.359ms ± 0.118ms 6.409ms ± 0.039ms 6.437ms 6.479ms 6.555ms 6.578ms 2.63% -0.872 -0.507 1.85% 0.008ms 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 [6.342ms; 6.375ms] or [-0.257%; +0.257%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.209ns 192.833ns ± 1.900ns 192.638ns ± 1.329ns 193.833ns 195.790ns 198.791ns 202.428ns 5.08% 1.399 3.406 0.98% 0.134ns 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.569ns; 193.096ns] or [-0.137%; +0.137%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2f6bdcf 1763143643 levi/sharded
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.220µs 3.220µs ± 1.416µs 2.977µs ± 0.032µs 3.023µs 3.677µs 14.008µs 14.628µs 391.33% 7.250 54.120 43.85% 0.100µ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.024µs; 3.417µs] or [-6.092%; +6.092%] None None None

Baseline

Omitted due to size.

@dd-octo-sts
Copy link

dd-octo-sts bot commented Nov 14, 2025

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.32 MB 7.32 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 84.53 MB 84.53 MB -0% (-968 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 98.10 MB 98.09 MB -0% (-4.03 KB) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.36 MB 9.36 MB -0% (-528 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 18.92 MB 18.93 MB +.03% (+6.00 KB) 🔍
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 65.49 KB 65.49 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 132.79 MB 133.23 MB +.32% (+448.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 709.49 MB 712.21 MB +.38% (+2.71 MB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 6.18 MB 6.18 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 65.49 KB 65.49 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 19.25 MB 19.26 MB +.04% (+8.00 KB) 🔍
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 37.83 MB 37.83 MB +.01% (+6.31 KB) 🔍
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 16.06 MB 16.08 MB +.11% (+18.50 KB) 🔍
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 66.50 KB 66.50 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 134.97 MB 135.47 MB +.37% (+512.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 697.83 MB 700.71 MB +.41% (+2.87 MB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.74 MB 4.74 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 66.50 KB 66.50 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 20.43 MB 20.44 MB +.03% (+8.00 KB) 🔍
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 35.60 MB 35.60 MB +0% (+980 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 72.97 MB 72.98 MB +.01% (+10.29 KB) 🔍
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.71 MB 8.71 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 92.47 MB 92.47 MB -0% (-704 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.10 MB 10.10 MB -0% (-96 B) 👌

@morrisonlevi morrisonlevi added the profiling Relates to the profiling* modules. label Nov 14, 2025
@morrisonlevi morrisonlevi marked this pull request as ready for review November 14, 2025 19:39
@morrisonlevi morrisonlevi requested review from a team as code owners November 14, 2025 19:39
@morrisonlevi
Copy link
Contributor Author

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Nov 17, 2025

View all feedbacks in Devflow UI.

2025-11-17 17:04:23 UTC ℹ️ Start processing command /merge


2025-11-17 17:04:28 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 35m (p90).


2025-11-17 17:39:11 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit af93f6f into main Nov 17, 2025
38 checks passed
@dd-mergequeue dd-mergequeue bot deleted the levi/sharded branch November 17, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mergequeue-status: done profiling Relates to the profiling* modules.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants