libdatadog icon indicating copy to clipboard operation
libdatadog copied to clipboard

feat(profiling): add ProfilesDictionary

Open morrisonlevi opened this issue 3 weeks ago • 3 comments

What does this PR do?

This adds the ProfilesDictionary data structure, which holds deduplicated functions, mappings, and strings and gives back IDs to the inserted elements.

Motivation

This is another stepping stone for my new profiling API with long-lived functions, mappings, and strings.

Additional Notes

This is stacked on top of PR #1347.

How to test the change?

Regular testing applies, just additions here (that are currently unused).

morrisonlevi avatar Nov 15 '25 02:11 morrisonlevi

Benchmarks

Comparison

Benchmark execution time: 2025-12-03 21:47:17

Comparing candidate commit eae2db25 in PR branch levi/profiles_dictionary with baseline commit aeae62b6 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 eae2db25 1764797540 levi/profiles_dictionary
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 86.047µs 86.437µs ± 0.171µs 86.408µs ± 0.051µs 86.475µs 86.615µs 86.997µs 88.141µs 2.01% 5.607 49.916 0.20% 0.012µ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 [86.413µs; 86.460µs] or [-0.027%; +0.027%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.616ms 10.647ms ± 0.017ms 10.646ms ± 0.009ms 10.654ms 10.670ms 10.693ms 10.788ms 1.34% 3.184 21.958 0.16% 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.644ms; 10.649ms] or [-0.023%; +0.023%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.006µs 3.915µs ± 0.002µs 3.917µs 3.920µs 3.923µs 3.975µs 1.53% 6.863 61.661 0.16% 0.000µs 1 200
credit_card/is_card_number/ throughput 251562762.250op/s 255361334.629op/s ± 403622.207op/s 255403767.210op/s ± 108425.532op/s 255501146.517op/s 255617791.471op/s 255724746.655op/s 256809653.871op/s 0.55% -6.783 60.878 0.16% 28540.400op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 77.874µs 79.348µs ± 0.604µs 79.307µs ± 0.371µs 79.692µs 80.496µs 80.885µs 81.556µs 2.84% 0.410 0.681 0.76% 0.043µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12261462.253op/s 12603359.514op/s ± 95712.735op/s 12609264.035op/s ± 58782.555op/s 12664526.775op/s 12747169.901op/s 12814933.798op/s 12841204.040op/s 1.84% -0.353 0.600 0.76% 6767.912op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 71.457µs 71.770µs ± 0.376µs 71.606µs ± 0.105µs 71.893µs 72.522µs 73.166µs 73.488µs 2.63% 2.157 4.994 0.52% 0.027µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13607622.835op/s 13933829.746op/s ± 72203.313op/s 13965296.936op/s ± 20420.150op/s 13979338.538op/s 13989122.548op/s 13993786.157op/s 13994388.250op/s 0.21% -2.121 4.794 0.52% 5105.545op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.895µs 3.916µs ± 0.003µs 3.917µs ± 0.002µs 3.918µs 3.921µs 3.922µs 3.924µs 0.18% -1.690 11.471 0.08% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254856512.791op/s 255332961.497op/s ± 195637.021op/s 255325178.886op/s ± 114205.331op/s 255455320.869op/s 255600392.172op/s 255675132.610op/s 256732779.460op/s 0.55% 1.714 11.675 0.08% 13833.626op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 68.236µs 68.586µs ± 0.480µs 68.374µs ± 0.079µs 68.643µs 69.440µs 70.771µs 71.110µs 4.00% 2.850 9.431 0.70% 0.034µs 1 200
credit_card/is_card_number/378282246310005 throughput 14062807.774op/s 14580940.500op/s ± 100035.635op/s 14625418.254op/s ± 17016.993op/s 14636231.626op/s 14645975.401op/s 14652188.415op/s 14655116.427op/s 0.20% -2.783 8.944 0.68% 7073.588op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 45.472µs 45.701µs ± 0.098µs 45.698µs ± 0.066µs 45.768µs 45.867µs 45.949µs 45.964µs 0.58% 0.172 -0.220 0.21% 0.007µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21756256.414op/s 21881310.829op/s ± 46777.578op/s 21882573.831op/s ± 31746.231op/s 21912668.810op/s 21953997.067op/s 21978286.548op/s 21991329.993op/s 0.50% -0.161 -0.227 0.21% 3307.674op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.552µs 6.617µs ± 0.023µs 6.618µs ± 0.016µs 6.635µs 6.640µs 6.648µs 6.758µs 2.12% 1.266 9.018 0.35% 0.002µs 1 200
credit_card/is_card_number/x371413321323331 throughput 147963164.311op/s 151116578.885op/s ± 530566.617op/s 151106387.583op/s ± 366627.478op/s 151400700.575op/s 151913499.486op/s 152366303.860op/s 152619179.137op/s 1.00% -1.169 8.463 0.35% 37516.725op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.893µs 3.915µs ± 0.003µs 3.914µs ± 0.002µs 3.916µs 3.920µs 3.922µs 3.922µs 0.20% -1.027 9.741 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254979459.434op/s 255447582.080op/s ± 202955.660op/s 255477109.251op/s ± 110294.288op/s 255567910.787op/s 255684449.494op/s 255747176.833op/s 256839056.103op/s 0.53% 1.052 9.928 0.08% 14351.132op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 65.595µs 65.740µs ± 0.080µs 65.730µs ± 0.051µs 65.789µs 65.856µs 65.901µs 66.239µs 0.77% 2.096 10.209 0.12% 0.006µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15096901.386op/s 15211511.499op/s ± 18544.543op/s 15213850.809op/s ± 11894.501op/s 15224651.679op/s 15233648.549op/s 15240131.654op/s 15245076.563op/s 0.21% -2.068 9.999 0.12% 1311.297op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.359µs 53.443µs ± 0.035µs 53.442µs ± 0.024µs 53.464µs 53.501µs 53.541µs 53.567µs 0.23% 0.397 0.376 0.07% 0.003µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18668215.467op/s 18711369.106op/s ± 12409.509op/s 18712016.101op/s ± 8299.095op/s 18720681.409op/s 18729111.352op/s 18736279.844op/s 18740829.579op/s 0.15% -0.393 0.370 0.07% 877.485op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.897µs 3.915µs ± 0.003µs 3.915µs ± 0.002µs 3.916µs 3.919µs 3.920µs 3.921µs 0.16% -1.381 9.476 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 255010889.115op/s 255432669.756op/s ± 167498.986op/s 255424751.875op/s ± 102995.464op/s 255537972.963op/s 255660937.297op/s 255699996.589op/s 256580099.587op/s 0.45% 1.400 9.622 0.07% 11843.967op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 50.153µs 50.218µs ± 0.089µs 50.205µs ± 0.017µs 50.222µs 50.273µs 50.423µs 51.074µs 1.73% 8.153 72.801 0.18% 0.006µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19579270.839op/s 19913260.593op/s ± 34883.883op/s 19918462.778op/s ± 6738.019op/s 19924839.521op/s 19930857.464op/s 19934789.119op/s 19939183.496op/s 0.10% -8.109 72.223 0.17% 2466.663op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 45.464µs 45.714µs ± 0.087µs 45.710µs ± 0.058µs 45.772µs 45.848µs 45.878µs 45.916µs 0.45% -0.228 -0.203 0.19% 0.006µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 21778731.666op/s 21875238.014op/s ± 41798.690op/s 21877059.715op/s ± 27896.637op/s 21899014.034op/s 21953166.508op/s 21966807.452op/s 21995610.520op/s 0.54% 0.238 -0.195 0.19% 2955.614op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.538µs 6.621µs ± 0.018µs 6.623µs ± 0.011µs 6.636µs 6.642µs 6.646µs 6.650µs 0.41% -1.304 2.335 0.28% 0.001µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 150373025.484op/s 151030229.325op/s ± 422903.984op/s 150988857.262op/s ± 252553.251op/s 151221277.985op/s 151880149.575op/s 152303383.327op/s 152942541.721op/s 1.29% 1.326 2.428 0.28% 29903.827op/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.022%; +0.022%] None None None
credit_card/is_card_number/ throughput [255305396.473op/s; 255417272.785op/s] or [-0.022%; +0.022%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [79.265µs; 79.432µs] or [-0.106%; +0.106%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12590094.649op/s; 12616624.378op/s] or [-0.105%; +0.105%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [71.718µs; 71.822µs] or [-0.073%; +0.073%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13923823.061op/s; 13943836.431op/s] or [-0.072%; +0.072%] None None None
credit_card/is_card_number/37828224631 execution_time [3.916µs; 3.917µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/37828224631 throughput [255305848.087op/s; 255360074.906op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/378282246310005 execution_time [68.519µs; 68.652µs] or [-0.097%; +0.097%] None None None
credit_card/is_card_number/378282246310005 throughput [14567076.523op/s; 14594804.477op/s] or [-0.095%; +0.095%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.688µs; 45.715µs] or [-0.030%; +0.030%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [21874827.906op/s; 21887793.751op/s] or [-0.030%; +0.030%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.614µs; 6.621µs] or [-0.049%; +0.049%] None None None
credit_card/is_card_number/x371413321323331 throughput [151043047.455op/s; 151190110.315op/s] or [-0.049%; +0.049%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.914µs; 3.915µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ throughput [255419454.377op/s; 255475709.782op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [65.729µs; 65.751µs] or [-0.017%; +0.017%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15208941.404op/s; 15214081.594op/s] or [-0.017%; +0.017%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.439µs; 53.448µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18709649.268op/s; 18713088.945op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.915µs; 3.915µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255409456.007op/s; 255455883.504op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.206µs; 50.230µs] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19908426.022op/s; 19918095.164op/s] or [-0.024%; +0.024%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.702µs; 45.726µs] or [-0.026%; +0.026%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [21869445.118op/s; 21881030.910op/s] or [-0.026%; +0.026%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.619µs; 6.624µs] or [-0.039%; +0.039%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [150971618.900op/s; 151088839.750op/s] or [-0.039%; +0.039%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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 61.436ms 62.016ms ± 2.072ms 61.714ms ± 0.152ms 61.921ms 62.335ms 73.415ms 84.492ms 36.91% 8.798 81.915 3.33% 0.147ms 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 [61.729ms; 62.303ms] or [-0.463%; +0.463%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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 5.013µs 5.080µs ± 0.048µs 5.050µs ± 0.020µs 5.117µs 5.157µs 5.160µs 5.188µs 2.74% 0.431 -1.418 0.93% 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.073µs; 5.086µs] or [-0.130%; +0.130%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.335µs 2.396µs ± 0.018µs 2.395µs ± 0.004µs 2.400µs 2.426µs 2.436µs 2.438µs 1.79% -0.917 3.397 0.73% 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.394µs; 2.399µs] or [-0.102%; +0.102%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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 244.688ns 256.529ns ± 14.199ns 250.507ns ± 4.433ns 259.570ns 289.510ns 293.499ns 297.084ns 18.59% 1.425 0.708 5.52% 1.004ns 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 [254.561ns; 258.497ns] or [-0.767%; +0.767%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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 205.796µs 206.246µs ± 0.224µs 206.243µs ± 0.153µs 206.378µs 206.607µs 206.834µs 206.976µs 0.36% 0.396 -0.048 0.11% 0.016µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4831466.690op/s 4848573.115op/s ± 5267.107op/s 4848656.398op/s ± 3605.667op/s 4852484.313op/s 4856252.211op/s 4858643.302op/s 4859184.127op/s 0.22% -0.390 -0.057 0.11% 372.441op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.221µs 18.295µs ± 0.082µs 18.265µs ± 0.020µs 18.290µs 18.486µs 18.547µs 18.657µs 2.15% 2.104 3.769 0.45% 0.006µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 53598919.734op/s 54661789.316op/s ± 243342.986op/s 54750566.313op/s ± 59652.156op/s 54797144.657op/s 54850962.676op/s 54878741.065op/s 54881173.037op/s 0.24% -2.087 3.673 0.44% 17206.948op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.610µs 10.815µs ± 0.071µs 10.810µs ± 0.049µs 10.866µs 10.938µs 10.972µs 10.987µs 1.63% 0.066 -0.182 0.65% 0.005µs 1 200
normalization/normalize_name/normalize_name/good throughput 91017731.088op/s 92464625.642op/s ± 605676.945op/s 92505108.982op/s ± 419926.407op/s 92899977.570op/s 93368225.967op/s 93898096.660op/s 94250367.828op/s 1.89% -0.030 -0.167 0.65% 42827.828op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time [206.215µs; 206.278µs] or [-0.015%; +0.015%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [4847843.145op/s; 4849303.085op/s] or [-0.015%; +0.015%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.283µs; 18.306µs] or [-0.062%; +0.062%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [54628064.318op/s; 54695514.313op/s] or [-0.062%; +0.062%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.806µs; 10.825µs] or [-0.091%; +0.091%] None None None
normalization/normalize_name/normalize_name/good throughput [92380684.642op/s; 92548566.641op/s] or [-0.091%; +0.091%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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 161.003µs 161.550µs ± 0.259µs 161.512µs ± 0.156µs 161.680µs 161.959µs 162.282µs 163.115µs 0.99% 1.535 6.211 0.16% 0.018µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching string interning on wordpress profile execution_time [161.514µs; 161.586µ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 eae2db25 1764797540 levi/profiles_dictionary
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.095ms 6.396ms ± 0.073ms 6.407ms ± 0.018ms 6.422ms 6.464ms 6.517ms 6.947ms 8.42% 0.803 18.090 1.14% 0.005ms 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.386ms; 6.406ms] or [-0.158%; +0.158%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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 145.072µs 147.028µs ± 1.729µs 146.789µs ± 0.544µs 147.343µs 148.408µs 154.078µs 163.141µs 11.14% 5.881 45.745 1.17% 0.122µ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.788µs; 147.268µs] or [-0.163%; +0.163%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.205µs 3.270µs ± 1.453µs 3.024µs ± 0.034µs 3.059µs 3.702µs 14.276µs 14.992µs 395.70% 7.239 54.002 44.34% 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.068µs; 3.471µs] or [-6.161%; +6.161%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.173ns 192.858ns ± 1.997ns 192.601ns ± 1.518ns 194.054ns 196.433ns 198.454ns 200.565ns 4.13% 0.811 0.428 1.03% 0.141ns 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.581ns; 193.135ns] or [-0.144%; +0.144%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.982µs 534.821µs ± 0.859µs 534.700µs ± 0.260µs 535.046µs 535.550µs 535.973µs 545.406µs 2.00% 9.443 113.608 0.16% 0.061µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1833497.503op/s 1869789.802op/s ± 2958.604op/s 1870209.136op/s ± 910.930op/s 1870953.719op/s 1872097.011op/s 1872552.322op/s 1872721.889op/s 0.13% -9.316 111.514 0.16% 209.205op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 380.199µs 380.849µs ± 0.335µs 380.808µs ± 0.207µs 381.041µs 381.492µs 381.755µs 382.003µs 0.31% 0.723 0.407 0.09% 0.024µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2617778.701op/s 2625715.494op/s ± 2309.465op/s 2625994.802op/s ± 1430.290op/s 2627331.703op/s 2628878.947op/s 2629695.508op/s 2630201.552op/s 0.16% -0.718 0.397 0.09% 163.304op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 194.036µs 194.686µs ± 0.319µs 194.625µs ± 0.262µs 194.949µs 195.189µs 195.296µs 195.339µs 0.37% 0.091 -0.966 0.16% 0.023µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5119306.102op/s 5136497.223op/s ± 8409.884op/s 5138098.571op/s ± 6925.236op/s 5142838.103op/s 5150008.534op/s 5153047.448op/s 5153691.908op/s 0.30% -0.085 -0.966 0.16% 594.669op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 37.001µs 37.179µs ± 0.075µs 37.178µs ± 0.051µs 37.228µs 37.309µs 37.378µs 37.399µs 0.59% 0.344 -0.008 0.20% 0.005µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26738736.890op/s 26896784.597op/s ± 54076.236op/s 26897627.630op/s ± 36772.033op/s 26936323.296op/s 26976214.975op/s 26994088.214op/s 27026504.673op/s 0.48% -0.333 -0.023 0.20% 3823.767op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 44.943µs 45.128µs ± 0.111µs 45.130µs ± 0.057µs 45.180µs 45.247µs 45.273µs 46.270µs 2.53% 5.315 53.505 0.25% 0.008µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21612156.406op/s 22159542.345op/s ± 53996.005op/s 22158236.895op/s ± 27898.342op/s 22188956.652op/s 22228808.812op/s 22242554.943op/s 22250340.059op/s 0.42% -5.117 50.910 0.24% 3818.094op/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.702µs; 534.940µs] or [-0.022%; +0.022%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1869379.768op/s; 1870199.836op/s] or [-0.022%; +0.022%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [380.802µs; 380.895µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2625395.424op/s; 2626035.564op/s] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [194.642µs; 194.730µs] or [-0.023%; +0.023%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5135331.695op/s; 5137662.752op/s] or [-0.023%; +0.023%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [37.169µs; 37.190µs] or [-0.028%; +0.028%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26889290.151op/s; 26904279.043op/s] or [-0.028%; +0.028%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [45.112µs; 45.143µs] or [-0.034%; +0.034%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [22152059.018op/s; 22167025.672op/s] or [-0.034%; +0.034%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.815µs 25.191µs ± 8.858µs 18.037µs ± 0.188µs 32.393µs 41.017µs 41.996µs 62.511µs 246.58% 0.925 0.469 35.08% 0.626µ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.963µs; 26.419µs] or [-4.873%; +4.873%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.860ms 14.913ms ± 0.030ms 14.908ms ± 0.014ms 14.923ms 14.954ms 15.050ms 15.082ms 1.17% 2.493 9.721 0.20% 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.909ms; 14.917ms] or [-0.028%; +0.028%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz eae2db25 1764797540 levi/profiles_dictionary
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.668µs 34.373µs ± 1.304µs 33.764µs ± 0.053µs 33.904µs 37.211µs 37.227µs 37.294µs 10.45% 1.694 0.898 3.78% 0.092µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
redis/obfuscate_redis_string execution_time [34.192µs; 34.554µs] or [-0.526%; +0.526%] None None None

Baseline

Omitted due to size.

pr-commenter[bot] avatar Nov 15 '25 03:11 pr-commenter[bot]

Codecov Report

:x: Patch coverage is 72.94118% with 46 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 71.19%. Comparing base (aeae62b) to head (eae2db2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1349      +/-   ##
==========================================
+ Coverage   71.17%   71.19%   +0.02%     
==========================================
  Files         395      399       +4     
  Lines       63389    63559     +170     
==========================================
+ Hits        45114    45248     +134     
- Misses      18275    18311      +36     
Components Coverage Δ
libdd-crashtracker 59.98% <ø> (+0.01%) :arrow_up:
libdd-crashtracker-ffi 15.43% <ø> (ø)
libdd-alloc 98.73% <ø> (ø)
libdd-data-pipeline 86.00% <ø> (ø)
libdd-data-pipeline-ffi 77.63% <ø> (ø)
libdd-common 81.15% <ø> (ø)
libdd-common-ffi 74.96% <ø> (ø)
libdd-telemetry 60.02% <ø> (ø)
libdd-telemetry-ffi 21.24% <ø> (ø)
libdd-dogstatsd-client 83.75% <ø> (ø)
datadog-ipc 82.71% <ø> (+0.10%) :arrow_up:
libdd-profiling 79.66% <72.94%> (-0.09%) :arrow_down:
libdd-profiling-ffi 62.13% <ø> (ø)
datadog-sidecar 36.37% <ø> (ø)
datdog-sidecar-ffi 13.32% <ø> (ø)
spawn-worker 55.18% <ø> (ø)
libdd-tinybytes 92.44% <ø> (ø)
libdd-trace-normalization 98.24% <ø> (ø)
datadog-trace-obfuscation 94.17% <ø> (ø)
libdd-trace-protobuf 59.65% <ø> (ø)
libdd-trace-utils 90.06% <ø> (ø)
datadog-tracer-flare 61.06% <ø> (ø)
libdd-log 75.57% <ø> (ø)
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Nov 15 '25 03:11 codecov-commenter

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.44 MB 7.44 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 86.25 MB 86.25 MB 0% (0 B) 👌
aarch64-apple-darwin
Artifact Baseline Commit Change
/aarch64-apple-darwin/lib/libdatadog_profiling.a 58.31 MB 58.31 MB 0% (0 B) 👌
/aarch64-apple-darwin/lib/libdatadog_profiling.dylib 8.43 MB 8.43 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.54 MB 9.54 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 100.03 MB 100.03 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 19.69 MB 19.69 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 69.82 KB 69.82 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 139.40 MB 139.75 MB +.25% (+360.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 740.81 MB 742.48 MB +.22% (+1.66 MB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 6.37 MB 6.37 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 69.82 KB 69.82 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 19.73 MB 19.73 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 38.75 MB 38.75 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 16.80 MB 16.80 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 70.90 KB 70.90 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 142.01 MB 142.33 MB +.23% (+336.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 729.52 MB 730.73 MB +.16% (+1.20 MB) 🔍
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.88 MB 4.88 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 70.90 KB 70.90 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 20.97 MB 20.97 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 36.51 MB 36.51 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 74.59 MB 74.59 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.86 MB 8.86 MB 0% (0 B) 👌
x86_64-apple-darwin
Artifact Baseline Commit Change
/x86_64-apple-darwin/lib/libdatadog_profiling.a 59.67 MB 59.67 MB 0% (0 B) 👌
/x86_64-apple-darwin/lib/libdatadog_profiling.dylib 9.49 MB 9.49 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 94.25 MB 94.25 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.30 MB 10.30 MB 0% (0 B) 👌

dd-octo-sts[bot] avatar Nov 15 '25 03:11 dd-octo-sts[bot]

/merge

morrisonlevi avatar Dec 03 '25 22:12 morrisonlevi

View all feedbacks in Devflow UI.

2025-12-03 22:01:31 UTC :information_source: Start processing command /merge


2025-12-03 22:01:36 UTC :information_source: MergeQueue: pull request added to the queue

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


2025-12-03 22:26:09 UTC :information_source: MergeQueue: This merge request was merged