Skip to content

Conversation

@anais-raison
Copy link
Contributor

@anais-raison anais-raison commented Aug 20, 2025

What does this PR do?

Fix the use of the AGENT_CONFIG product in the tracer flare design.
Remove the state field of the TracerFlareManager and replaced it with a simple collecting boolean field.
Added arguments log_level and send_action for the zip_and_send function to let the language tell us what log level is on when creating the flare, and give the AGENT_TASK through the action.
Added a priority system to decide which action should happen first if several changes are received.
Made the LogLevel enum sortable (so log levels can be compared).

How to test the change?

Updated and added more tests to cover new logic and behaviors.

@anais-raison anais-raison self-assigned this Aug 20, 2025
@anais-raison anais-raison requested a review from a team as a code owner August 20, 2025 14:12
@codecov-commenter
Copy link

codecov-commenter commented Aug 20, 2025

Codecov Report

❌ Patch coverage is 82.60870% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.97%. Comparing base (d9b1999) to head (0cf6047).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1186      +/-   ##
==========================================
+ Coverage   71.88%   71.97%   +0.09%     
==========================================
  Files         356      356              
  Lines       56691    56787      +96     
==========================================
+ Hits        40750    40875     +125     
+ Misses      15941    15912      -29     
Components Coverage Δ
datadog-crashtracker 49.28% <ø> (ø)
datadog-crashtracker-ffi 5.93% <ø> (ø)
datadog-alloc 98.73% <ø> (ø)
data-pipeline 87.85% <ø> (ø)
data-pipeline-ffi 88.19% <ø> (ø)
ddcommon 84.54% <ø> (ø)
ddcommon-ffi 73.84% <ø> (ø)
ddtelemetry 59.76% <ø> (ø)
ddtelemetry-ffi 21.24% <ø> (ø)
dogstatsd-client 83.26% <ø> (ø)
datadog-ipc 82.49% <ø> (+0.10%) ⬆️
datadog-profiling 76.90% <ø> (ø)
datadog-profiling-ffi 62.12% <ø> (ø)
datadog-sidecar 37.53% <ø> (ø)
datdog-sidecar-ffi 13.54% <ø> (ø)
spawn-worker 55.35% <ø> (ø)
tinybytes 92.22% <ø> (ø)
datadog-trace-normalization 98.24% <ø> (ø)
datadog-trace-obfuscation 94.17% <ø> (ø)
datadog-trace-protobuf 59.65% <ø> (ø)
datadog-trace-utils 90.16% <ø> (+0.16%) ⬆️
datadog-tracer-flare 64.95% <82.60%> (+8.86%) ⬆️
datadog-log 76.31% <ø> (ø)
🚀 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 Aug 22, 2025

Benchmarks

Comparison

Benchmark execution time: 2025-10-13 13:15:35

Comparing candidate commit 0cf6047 in PR branch anais/fix-tracer-flare-design with baseline commit d9b1999 in branch main.

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

scenario:normalization/normalize_service/normalize_service/[empty string]

  • 🟥 execution_time [+7.525µs; +7.561µs] or [+19.728%; +19.822%]
  • 🟥 throughput [-4337392.021op/s; -4319161.588op/s] or [-16.544%; -16.475%]

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 0cf6047 1760360553 anais/fix-tracer-flare-design
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.666µs 25.816µs ± 10.255µs 17.949µs ± 0.123µs 35.316µs 44.215µs 47.788µs 71.249µs 296.94% 0.974 0.483 39.62% 0.725µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [24.395µs; 27.237µs] or [-5.505%; +5.505%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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.960µs 5.041µs ± 0.055µs 5.043µs ± 0.047µs 5.078µs 5.144µs 5.146µs 5.149µs 2.09% 0.293 -0.800 1.09% 0.004µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
ip_address/quantize_peer_ip_address_benchmark execution_time [5.033µs; 5.049µs] or [-0.152%; +0.152%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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 495.360µs 496.192µs ± 0.523µs 496.166µs ± 0.283µs 496.429µs 496.747µs 497.005µs 501.468µs 1.07% 5.234 50.140 0.11% 0.037µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1994145.852op/s 2015352.911op/s ± 2113.045op/s 2015452.700op/s ± 1149.575op/s 2016659.286op/s 2017725.449op/s 2018053.128op/s 2018734.529op/s 0.16% -5.157 49.114 0.10% 149.415op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 370.950µs 371.625µs ± 0.265µs 371.627µs ± 0.184µs 371.797µs 372.025µs 372.356µs 372.473µs 0.23% 0.256 0.224 0.07% 0.019µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2684757.418op/s 2690882.504op/s ± 1921.568op/s 2690871.249op/s ± 1332.904op/s 2692268.738op/s 2693782.342op/s 2694537.988op/s 2695782.366op/s 0.18% -0.251 0.218 0.07% 135.875op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 168.072µs 169.757µs ± 0.495µs 169.833µs ± 0.119µs 169.910µs 170.109µs 170.385µs 173.452µs 2.13% 2.953 25.824 0.29% 0.035µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5765271.399op/s 5890818.033op/s ± 17040.373op/s 5888121.448op/s ± 4134.224op/s 5896903.612op/s 5913420.199op/s 5938047.909op/s 5949846.667op/s 1.05% -2.788 24.714 0.29% 1204.936op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 45.383µs 45.687µs ± 0.121µs 45.672µs ± 0.075µs 45.760µs 45.920µs 45.962µs 46.014µs 0.75% 0.263 -0.024 0.26% 0.009µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 21732677.852op/s 21888445.056op/s ± 58087.132op/s 21895190.375op/s ± 36215.841op/s 21926654.679op/s 21982871.537op/s 22019551.682op/s 22034790.124op/s 0.64% -0.248 -0.026 0.26% 4107.381op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 46.249µs 46.459µs ± 0.118µs 46.459µs ± 0.052µs 46.509µs 46.572µs 46.606µs 47.718µs 2.71% 5.996 63.173 0.25% 0.008µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 20956376.935op/s 21524476.655op/s ± 53832.519op/s 21524300.009op/s ± 24203.467op/s 21550847.661op/s 21590103.209op/s 21616919.649op/s 21622169.559op/s 0.45% -5.777 60.202 0.25% 3806.534op/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 [496.119µs; 496.264µs] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [2015060.063op/s; 2015645.759op/s] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [371.589µs; 371.662µs] or [-0.010%; +0.010%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2690616.193op/s; 2691148.815op/s] or [-0.010%; +0.010%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [169.689µs; 169.826µs] or [-0.040%; +0.040%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5888456.401op/s; 5893179.665op/s] or [-0.040%; +0.040%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [45.670µs; 45.703µs] or [-0.037%; +0.037%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [21880394.738op/s; 21896495.374op/s] or [-0.037%; +0.037%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.443µs; 46.475µs] or [-0.035%; +0.035%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21517015.985op/s; 21531937.324op/s] or [-0.035%; +0.035%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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 59.461ms 60.219ms ± 2.499ms 60.001ms ± 0.103ms 60.067ms 60.180ms 78.906ms 82.174ms 36.95% 7.931 61.810 4.14% 0.177ms 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 [59.873ms; 60.565ms] or [-0.575%; +0.575%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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.891µs 3.911µs ± 0.003µs 3.911µs ± 0.002µs 3.913µs 3.915µs 3.918µs 3.926µs 0.39% -0.597 12.531 0.07% 0.000µs 1 200
credit_card/is_card_number/ throughput 254720853.041op/s 255686720.023op/s ± 188492.730op/s 255713233.160op/s ± 99950.625op/s 255795117.424op/s 255908370.833op/s 255985524.215op/s 256971649.907op/s 0.49% 0.629 12.661 0.07% 13328.449op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 81.200µs 83.030µs ± 0.525µs 83.175µs ± 0.310µs 83.404µs 83.658µs 83.763µs 84.294µs 1.35% -0.861 0.773 0.63% 0.037µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 11863252.005op/s 12044348.275op/s ± 76556.823op/s 12022885.122op/s ± 44687.778op/s 12090885.386op/s 12173784.879op/s 12279705.131op/s 12315242.576op/s 2.43% 0.899 0.868 0.63% 5413.385op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 74.592µs 75.130µs ± 0.241µs 75.101µs ± 0.169µs 75.287µs 75.571µs 75.751µs 75.780µs 0.90% 0.559 -0.024 0.32% 0.017µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13196138.140op/s 13310413.113op/s ± 42537.471op/s 13315460.806op/s ± 29950.022op/s 13343275.079op/s 13365691.008op/s 13390909.707op/s 13406310.350op/s 0.68% -0.543 -0.044 0.32% 3007.853op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.891µs 3.911µs ± 0.002µs 3.910µs ± 0.001µs 3.912µs 3.915µs 3.916µs 3.918µs 0.18% -1.817 17.502 0.06% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 255261231.469op/s 255717386.341op/s ± 160901.190op/s 255729012.498op/s ± 80551.227op/s 255804310.606op/s 255899022.908op/s 255949994.811op/s 256976453.440op/s 0.49% 1.848 17.764 0.06% 11377.432op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 71.667µs 72.238µs ± 0.261µs 72.197µs ± 0.151µs 72.387µs 72.733µs 72.879µs 72.993µs 1.10% 0.544 -0.048 0.36% 0.018µs 1 200
credit_card/is_card_number/378282246310005 throughput 13699949.231op/s 13843292.188op/s ± 49995.252op/s 13850953.109op/s ± 29055.812op/s 13874134.117op/s 13913471.236op/s 13940574.590op/s 13953361.842op/s 0.74% -0.526 -0.067 0.36% 3535.198op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 52.123µs 52.182µs ± 0.031µs 52.179µs ± 0.019µs 52.200µs 52.233µs 52.276µs 52.326µs 0.28% 1.044 2.814 0.06% 0.002µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 19110996.268op/s 19163545.910op/s ± 11273.904op/s 19164825.837op/s ± 7104.750op/s 19170884.223op/s 19179315.303op/s 19183214.668op/s 19185553.278op/s 0.11% -1.037 2.786 0.06% 797.185op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 5.692µs 5.826µs ± 0.083µs 5.826µs ± 0.067µs 5.894µs 5.964µs 5.998µs 6.004µs 3.05% 0.170 -0.914 1.42% 0.006µs 1 200
credit_card/is_card_number/x371413321323331 throughput 166562228.612op/s 171669741.909op/s ± 2439611.211op/s 171635726.683op/s ± 1963055.609op/s 173570287.093op/s 175564509.806op/s 175629943.779op/s 175672563.590op/s 2.35% -0.125 -0.934 1.42% 172506.563op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.890µs 3.911µs ± 0.003µs 3.911µs ± 0.002µs 3.913µs 3.916µs 3.920µs 3.924µs 0.33% -0.202 10.075 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254868415.334op/s 255685488.037op/s ± 207529.100op/s 255718820.906op/s ± 102694.315op/s 255808072.519op/s 255886490.075op/s 255970552.763op/s 257038295.590op/s 0.52% 0.231 10.215 0.08% 14674.523op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 63.938µs 64.319µs ± 0.102µs 64.307µs ± 0.046µs 64.358µs 64.471µs 64.677µs 64.705µs 0.62% 0.907 4.083 0.16% 0.007µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15454647.495op/s 15547621.882op/s ± 24507.359op/s 15550380.292op/s ± 11240.860op/s 15560937.379op/s 15576041.018op/s 15604454.348op/s 15640046.339op/s 0.58% -0.882 4.061 0.16% 1732.932op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 57.372µs 57.590µs ± 0.193µs 57.525µs ± 0.088µs 57.651µs 57.933µs 58.310µs 58.643µs 1.94% 2.073 5.981 0.33% 0.014µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 17052413.828op/s 17364401.892op/s ± 57699.392op/s 17383773.118op/s ± 26518.977op/s 17404590.034op/s 17418186.863op/s 17425730.736op/s 17430068.611op/s 0.27% -2.036 5.745 0.33% 4079.963op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.895µs 3.911µs ± 0.003µs 3.910µs ± 0.001µs 3.912µs 3.915µs 3.919µs 3.926µs 0.41% 0.701 10.206 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254692951.617op/s 255707087.558op/s ± 182097.169op/s 255732818.991op/s ± 75306.212op/s 255805915.512op/s 255897358.710op/s 255942159.328op/s 256762963.820op/s 0.40% -0.676 10.231 0.07% 12876.214op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 54.573µs 54.785µs ± 0.144µs 54.759µs ± 0.090µs 54.857µs 55.075µs 55.184µs 55.198µs 0.80% 0.950 0.376 0.26% 0.010µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 18116612.776op/s 18253416.118op/s ± 47871.910op/s 18261836.425op/s ± 30073.064op/s 18290398.913op/s 18309773.670op/s 18322538.592op/s 18324088.847op/s 0.34% -0.938 0.349 0.26% 3385.055op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 52.111µs 52.190µs ± 0.030µs 52.189µs ± 0.021µs 52.210µs 52.236µs 52.270µs 52.300µs 0.21% 0.362 0.346 0.06% 0.002µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 19120329.411op/s 19160697.096op/s ± 10910.687op/s 19161173.714op/s ± 7637.320op/s 19168377.927op/s 19176737.084op/s 19181981.927op/s 19189835.144op/s 0.15% -0.358 0.340 0.06% 771.502op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 5.692µs 5.850µs ± 0.078µs 5.852µs ± 0.058µs 5.911µs 5.989µs 6.014µs 6.024µs 2.93% -0.002 -0.579 1.32% 0.005µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 166013676.290op/s 170967171.072op/s ± 2270062.996op/s 170886003.459op/s ± 1699556.038op/s 172581917.167op/s 174688094.108op/s 175613349.241op/s 175683812.877op/s 2.81% 0.059 -0.577 1.32% 160517.694op/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.911µs; 3.911µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ throughput [255660596.744op/s; 255712843.303op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [82.957µs; 83.103µs] or [-0.088%; +0.088%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12033738.236op/s; 12054958.314op/s] or [-0.088%; +0.088%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [75.097µs; 75.163µs] or [-0.044%; +0.044%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13304517.829op/s; 13316308.398op/s] or [-0.044%; +0.044%] None None None
credit_card/is_card_number/37828224631 execution_time [3.910µs; 3.911µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number/37828224631 throughput [255695086.983op/s; 255739685.698op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number/378282246310005 execution_time [72.202µs; 72.274µs] or [-0.050%; +0.050%] None None None
credit_card/is_card_number/378282246310005 throughput [13836363.327op/s; 13850221.049op/s] or [-0.050%; +0.050%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [52.178µs; 52.187µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [19161983.455op/s; 19165108.364op/s] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/x371413321323331 execution_time [5.815µs; 5.838µs] or [-0.197%; +0.197%] None None None
credit_card/is_card_number/x371413321323331 throughput [171331635.259op/s; 172007848.560op/s] or [-0.197%; +0.197%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.911µs; 3.911µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ throughput [255656726.500op/s; 255714249.574op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [64.305µs; 64.333µs] or [-0.022%; +0.022%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15544225.397op/s; 15551018.366op/s] or [-0.022%; +0.022%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [57.563µs; 57.616µs] or [-0.046%; +0.046%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [17356405.311op/s; 17372398.473op/s] or [-0.046%; +0.046%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.910µs; 3.911µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255681850.641op/s; 255732324.474op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [54.765µs; 54.805µs] or [-0.036%; +0.036%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [18246781.532op/s; 18260050.705op/s] or [-0.036%; +0.036%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [52.186µs; 52.194µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [19159184.980op/s; 19162209.213op/s] or [-0.008%; +0.008%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [5.839µs; 5.861µs] or [-0.184%; +0.184%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [170652562.173op/s; 171281779.971op/s] or [-0.184%; +0.184%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching string interning on wordpress profile execution_time 160.703µs 161.265µs ± 0.351µs 161.222µs ± 0.144µs 161.370µs 161.760µs 162.538µs 163.836µs 1.62% 3.085 17.005 0.22% 0.025µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching string interning on wordpress profile execution_time [161.217µs; 161.314µs] or [-0.030%; +0.030%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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 15.219ms 15.262ms ± 0.036ms 15.254ms ± 0.010ms 15.264ms 15.331ms 15.422ms 15.511ms 1.69% 3.617 16.575 0.24% 0.003ms 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 [15.257ms; 15.267ms] 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 0cf6047 1760360553 anais/fix-tracer-flare-design
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.313ms 6.374ms ± 0.034ms 6.369ms ± 0.014ms 6.385ms 6.428ms 6.462ms 6.630ms 4.10% 2.970 17.197 0.53% 0.002ms 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.369ms; 6.378ms] or [-0.074%; +0.074%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time 185.567µs 186.078µs ± 0.342µs 186.030µs ± 0.177µs 186.208µs 186.622µs 187.385µs 188.102µs 1.11% 2.211 8.561 0.18% 0.024µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5316261.754op/s 5374105.418op/s ± 9826.614op/s 5375487.187op/s ± 5125.363op/s 5380472.551op/s 5385691.484op/s 5388220.187op/s 5388876.846op/s 0.25% -2.180 8.360 0.18% 694.847op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.822µs 17.924µs ± 0.054µs 17.921µs ± 0.027µs 17.947µs 17.997µs 18.050µs 18.386µs 2.60% 3.252 25.321 0.30% 0.004µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 54389582.064op/s 55792411.844op/s ± 166921.180op/s 55801726.619op/s ± 84692.645op/s 55890454.713op/s 56028411.198op/s 56102203.701op/s 56111589.448op/s 0.56% -3.104 23.745 0.30% 11803.110op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 9.826µs 9.877µs ± 0.034µs 9.880µs ± 0.030µs 9.904µs 9.933µs 9.947µs 9.987µs 1.07% 0.293 -0.733 0.35% 0.002µs 1 200
normalization/normalize_name/normalize_name/good throughput 100133410.830op/s 101241746.165op/s ± 350165.071op/s 101209645.510op/s ± 308247.036op/s 101591259.063op/s 101710709.125op/s 101749535.881op/s 101773693.566op/s 0.56% -0.281 -0.757 0.35% 24760.410op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time [186.031µs; 186.125µ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 [5372743.543op/s; 5375467.292op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [17.916µs; 17.931µs] or [-0.042%; +0.042%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [55769278.174op/s; 55815545.514op/s] or [-0.041%; +0.041%] None None None
normalization/normalize_name/normalize_name/good execution_time [9.873µs; 9.882µs] or [-0.048%; +0.048%] None None None
normalization/normalize_name/normalize_name/good throughput [101193216.653op/s; 101290275.676op/s] or [-0.048%; +0.048%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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.172µs 3.169µs ± 1.442µs 2.995µs ± 0.028µs 3.016µs 3.389µs 13.780µs 15.263µs 409.57% 7.497 56.893 45.37% 0.102µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [2.970µs; 3.369µs] or [-6.304%; +6.304%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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 32.951µs 33.629µs ± 1.159µs 33.078µs ± 0.054µs 33.260µs 36.120µs 36.171µs 37.010µs 11.89% 1.692 0.948 3.44% 0.082µ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.468µs; 33.789µs] or [-0.478%; +0.478%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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 88.894µs 89.201µs ± 0.161µs 89.171µs ± 0.051µs 89.247µs 89.404µs 89.467µs 90.875µs 1.91% 6.170 58.319 0.18% 0.011µ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.179µs; 89.223µs] or [-0.025%; +0.025%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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 246.741ns 257.572ns ± 13.757ns 250.938ns ± 2.797ns 261.473ns 289.450ns 295.368ns 297.853ns 18.70% 1.496 0.909 5.33% 0.973ns 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 [255.665ns; 259.478ns] or [-0.740%; +0.740%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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.411µs 2.448µs ± 0.037µs 2.432µs ± 0.010µs 2.465µs 2.535µs 2.543µs 2.547µs 4.71% 1.332 0.524 1.49% 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.443µs; 2.453µs] or [-0.207%; +0.207%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0cf6047 1760360553 anais/fix-tracer-flare-design
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.675ms 10.704ms ± 0.014ms 10.703ms ± 0.007ms 10.711ms 10.723ms 10.734ms 10.799ms 0.90% 2.240 12.690 0.13% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [10.702ms; 10.706ms] or [-0.018%; +0.018%] None None None

Baseline

Omitted due to size.

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Sep 23, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 0cf6047 | Docs | Was this helpful? Give us feedback!

@dd-octo-sts
Copy link

dd-octo-sts bot commented Sep 29, 2025

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.25 MB 7.25 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 71.33 MB 71.33 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 83.64 MB 83.64 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.20 MB 9.20 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 18.59 MB 18.59 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 65.77 KB 65.77 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 129.39 MB 129.59 MB +.15% (+208.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 676.00 MB 676.00 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 5.93 MB 5.93 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 65.77 KB 65.77 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 17.52 MB 17.52 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 32.48 MB 32.48 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 15.85 MB 15.85 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 66.79 KB 66.79 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 131.80 MB 131.83 MB +.02% (+40.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 664.83 MB 664.83 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.54 MB 4.54 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 66.79 KB 66.79 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 18.66 MB 18.66 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 30.50 MB 30.50 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 63.94 MB 63.94 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.56 MB 8.56 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 78.36 MB 78.36 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.90 MB 9.90 MB 0% (0 B) 👌

Copy link
Contributor

@VianneyRuhlmann VianneyRuhlmann left a comment

Choose a reason for hiding this comment

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

Some nits about docs and naming but LGTM

Copy link
Contributor

@ekump ekump left a comment

Choose a reason for hiding this comment

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

Conditional LGTM, providing you address @VianneyRuhlmann's comments / suggestions. In particular setting tracer_flare.collecting = false; on Unset seems important.

@anais-raison
Copy link
Contributor Author

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Oct 13, 2025

View all feedbacks in Devflow UI.

2025-10-13 13:40:52 UTC ℹ️ Start processing command /merge


2025-10-13 13:40:57 UTC ℹ️ MergeQueue: pull request added to the queue

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


2025-10-13 14:01:32 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit 53c3ccb into main Oct 13, 2025
37 checks passed
@dd-mergequeue dd-mergequeue bot deleted the anais/fix-tracer-flare-design branch October 13, 2025 14:01
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.

5 participants