Skip to content

feat(sidecar): add telemetry clients expiration #1077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Leiyks
Copy link
Contributor

@Leiyks Leiyks commented May 28, 2025

What does this PR do?

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

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

How to test the change?

Describe here in detail how the change can be validated.

@pr-commenter
Copy link

pr-commenter bot commented May 28, 2025

Benchmarks

Comparison

Benchmark execution time: 2025-06-18 14:21:48

Comparing candidate commit 74e40d7 in PR branch leiyks-reduce-telemetry-size with baseline commit a51462a in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 52 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 74e40d7 1750255793 leiyks-reduce-telemetry-size
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 71.920ms 72.163ms ± 0.154ms 72.119ms ± 0.079ms 72.246ms 72.404ms 72.597ms 73.265ms 1.59% 2.528 12.962 0.21% 0.011ms 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 [72.142ms; 72.185ms] or [-0.030%; +0.030%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.026µs 5.098µs ± 0.044µs 5.077µs ± 0.027µs 5.138µs 5.180µs 5.182µs 5.186µs 2.16% 0.564 -0.978 0.85% 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.091µs; 5.104µs] or [-0.119%; +0.119%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.278ns 256.010ns ± 12.994ns 250.743ns ± 2.223ns 255.434ns 288.185ns 296.311ns 297.258ns 18.55% 1.997 2.666 5.06% 0.919ns 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.209ns; 257.811ns] or [-0.703%; +0.703%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.846µs 34.448µs ± 1.042µs 33.954µs ± 0.045µs 34.156µs 36.648µs 36.696µs 38.403µs 13.10% 1.749 1.366 3.02% 0.074µ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.304µs; 34.593µs] or [-0.419%; +0.419%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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 8.249ms 8.267ms ± 0.011ms 8.264ms ± 0.006ms 8.273ms 8.289ms 8.296ms 8.302ms 0.45% 0.999 0.748 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 [8.266ms; 8.269ms] or [-0.018%; +0.018%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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 83.986µs 85.091µs ± 3.873µs 84.503µs ± 0.062µs 84.570µs 84.741µs 111.711µs 112.039µs 32.59% 6.661 42.956 4.54% 0.274µ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 [84.555µs; 85.628µs] or [-0.631%; +0.631%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.890µs 3.911µs ± 0.003µs 3.910µs ± 0.002µs 3.912µs 3.915µs 3.918µs 3.919µs 0.22% -1.772 17.579 0.07% 0.000µs 1 200
credit_card/is_card_number/ throughput 255155778.241op/s 255707962.922op/s ± 175609.390op/s 255723935.782op/s ± 98424.613op/s 255808769.889op/s 255908815.196op/s 255924774.895op/s 257080470.712op/s 0.53% 1.806 17.862 0.07% 12417.459op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 78.492µs 80.285µs ± 0.770µs 80.236µs ± 0.498µs 80.717µs 81.588µs 82.232µs 82.568µs 2.91% 0.431 0.131 0.96% 0.054µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12111274.123op/s 12456741.115op/s ± 118987.035op/s 12463300.592op/s ± 77395.673op/s 12544077.065op/s 12622594.034op/s 12708274.144op/s 12740129.788op/s 2.22% -0.376 0.076 0.95% 8413.654op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 74.351µs 74.944µs ± 0.156µs 74.918µs ± 0.089µs 75.031µs 75.196µs 75.367µs 75.464µs 0.73% 0.280 1.667 0.21% 0.011µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13251364.742op/s 13343421.903op/s ± 27709.734op/s 13347972.939op/s ± 15866.027op/s 13359564.939op/s 13378478.515op/s 13412079.416op/s 13449692.579op/s 0.76% -0.257 1.675 0.21% 1959.374op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.890µs 3.911µs ± 0.003µs 3.911µs ± 0.002µs 3.913µs 3.916µs 3.919µs 3.931µs 0.50% -0.829 13.879 0.09% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254418342.160op/s 255674787.036op/s ± 227111.868op/s 255684876.240op/s ± 117918.113op/s 255798821.480op/s 255920479.485op/s 256005332.406op/s 257037623.794op/s 0.53% 0.870 13.959 0.09% 16059.234op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 71.604µs 72.074µs ± 0.163µs 72.067µs ± 0.091µs 72.162µs 72.362µs 72.504µs 72.584µs 0.72% 0.288 0.776 0.23% 0.012µs 1 200
credit_card/is_card_number/378282246310005 throughput 13777214.707op/s 13874709.367op/s ± 31390.495op/s 13875950.896op/s ± 17626.104op/s 13893151.028op/s 13925648.539op/s 13948580.512op/s 13965742.335op/s 0.65% -0.270 0.768 0.23% 2219.643op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 52.129µs 52.179µs ± 0.029µs 52.176µs ± 0.019µs 52.195µs 52.233µs 52.269µs 52.274µs 0.19% 0.881 0.755 0.06% 0.002µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 19129808.905op/s 19164631.053op/s ± 10626.878op/s 19165836.896op/s ± 6870.238op/s 19172242.428op/s 19179129.943op/s 19182601.687op/s 19183214.687op/s 0.09% -0.878 0.747 0.06% 751.434op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 5.692µs 5.868µs ± 0.074µs 5.864µs ± 0.055µs 5.923µs 5.995µs 6.035µs 6.039µs 2.99% 0.079 -0.522 1.26% 0.005µs 1 200
credit_card/is_card_number/x371413321323331 throughput 165586646.782op/s 170447449.742op/s ± 2158277.946op/s 170541535.889op/s ± 1595927.488op/s 171967844.502op/s 174330418.828op/s 174717572.240op/s 175679560.482op/s 3.01% -0.023 -0.526 1.26% 152613.297op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.889µs 3.911µs ± 0.003µs 3.911µs ± 0.001µs 3.912µs 3.915µs 3.919µs 3.919µs 0.21% -2.093 22.453 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 255157738.774op/s 255695561.163op/s ± 172582.906op/s 255700115.065op/s ± 77104.077op/s 255777948.335op/s 255873071.294op/s 255940638.755op/s 257117798.967op/s 0.55% 2.134 22.798 0.07% 12203.454op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 64.114µs 64.289µs ± 0.073µs 64.278µs ± 0.044µs 64.328µs 64.417µs 64.526µs 64.643µs 0.57% 1.114 2.849 0.11% 0.005µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15469516.178op/s 15554869.493op/s ± 17651.723op/s 15557499.246op/s ± 10576.081op/s 15567219.717op/s 15579062.986op/s 15582383.107op/s 15597139.485op/s 0.25% -1.101 2.796 0.11% 1248.165op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 57.344µs 57.503µs ± 0.124µs 57.474µs ± 0.052µs 57.537µs 57.706µs 57.899µs 58.276µs 1.39% 2.975 13.595 0.22% 0.009µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 17159825.928op/s 17390578.468op/s ± 37299.585op/s 17399117.865op/s ± 15656.488op/s 17412449.467op/s 17425838.163op/s 17431121.691op/s 17438603.837op/s 0.23% -2.932 13.238 0.21% 2637.479op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.892µs 3.910µs ± 0.002µs 3.910µs ± 0.001µs 3.911µs 3.913µs 3.915µs 3.916µs 0.17% -2.332 22.923 0.06% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 255344968.356op/s 255761642.978op/s ± 142936.908op/s 255769441.404op/s ± 74713.985op/s 255840264.426op/s 255913027.122op/s 255957089.988op/s 256954090.132op/s 0.46% 2.364 23.226 0.06% 10107.166op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 54.549µs 54.710µs ± 0.100µs 54.694µs ± 0.063µs 54.761µs 54.897µs 55.039µs 55.180µs 0.89% 1.281 2.383 0.18% 0.007µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 18122502.771op/s 18278368.576op/s ± 33300.421op/s 18283518.324op/s ± 21001.977op/s 18303373.313op/s 18317566.271op/s 18322121.123op/s 18332077.469op/s 0.27% -1.266 2.311 0.18% 2354.695op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 52.111µs 52.182µs ± 0.039µs 52.177µs ± 0.025µs 52.205µs 52.239µs 52.303µs 52.397µs 0.42% 1.389 4.351 0.08% 0.003µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 19085020.386op/s 19163828.536op/s ± 14485.540op/s 19165705.844op/s ± 9342.835op/s 19174587.441op/s 19181891.336op/s 19185885.121op/s 19189662.529op/s 0.12% -1.379 4.293 0.08% 1024.282op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 5.692µs 5.874µs ± 0.078µs 5.879µs ± 0.057µs 5.932µs 5.998µs 6.025µs 6.033µs 2.62% -0.091 -0.755 1.33% 0.006µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 165741310.145op/s 170263181.106op/s ± 2269470.235op/s 170084087.736op/s ± 1673634.577op/s 172243780.260op/s 173765529.657op/s 175677793.472op/s 175693605.217op/s 3.30% 0.140 -0.730 1.33% 160475.779op/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.910µs; 3.911µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ throughput [255683625.149op/s; 255732300.694op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [80.178µs; 80.392µs] or [-0.133%; +0.133%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12440250.657op/s; 12473231.574op/s] or [-0.132%; +0.132%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [74.922µs; 74.965µs] or [-0.029%; +0.029%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13339581.601op/s; 13347262.206op/s] or [-0.029%; +0.029%] None None None
credit_card/is_card_number/37828224631 execution_time [3.911µs; 3.912µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/37828224631 throughput [255643311.516op/s; 255706262.557op/s] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/378282246310005 execution_time [72.051µs; 72.097µs] or [-0.031%; +0.031%] None None None
credit_card/is_card_number/378282246310005 throughput [13870358.946op/s; 13879059.787op/s] or [-0.031%; +0.031%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [52.175µs; 52.183µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [19163158.270op/s; 19166103.837op/s] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/x371413321323331 execution_time [5.858µs; 5.878µs] or [-0.176%; +0.176%] None None None
credit_card/is_card_number/x371413321323331 throughput [170148333.176op/s; 170746566.308op/s] or [-0.175%; +0.175%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.911µs; 3.911µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ throughput [255671642.832op/s; 255719479.494op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [64.279µs; 64.299µs] or [-0.016%; +0.016%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15552423.134op/s; 15557315.852op/s] or [-0.016%; +0.016%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [57.485µs; 57.520µs] or [-0.030%; +0.030%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [17385409.104op/s; 17395747.832op/s] or [-0.030%; +0.030%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.910µs; 3.910µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255741833.297op/s; 255781452.659op/s] or [-0.008%; +0.008%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [54.696µs; 54.724µs] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [18273753.458op/s; 18282983.694op/s] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [52.176µs; 52.187µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [19161820.979op/s; 19165836.092op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [5.863µs; 5.885µs] or [-0.184%; +0.184%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [169948654.359op/s; 170577707.854op/s] or [-0.185%; +0.185%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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 154.910µs 155.731µs ± 0.443µs 155.660µs ± 0.180µs 155.863µs 156.285µs 157.511µs 158.897µs 2.08% 3.050 16.082 0.28% 0.031µ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 [155.670µs; 155.793µs] or [-0.039%; +0.039%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.407µs 2.432µs ± 0.009µs 2.431µs ± 0.005µs 2.437µs 2.450µs 2.453µs 2.460µs 1.18% 0.475 0.335 0.36% 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.431µs; 2.433µs] or [-0.050%; +0.050%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.412µs 205.053µs ± 0.407µs 205.014µs ± 0.277µs 205.280µs 205.865µs 206.133µs 206.449µs 0.70% 0.701 0.239 0.20% 0.029µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4843816.377op/s 4876815.099op/s ± 9677.558op/s 4877721.134op/s ± 6591.479op/s 4884359.328op/s 4890191.833op/s 4891738.600op/s 4892091.049op/s 0.29% -0.691 0.215 0.20% 684.307op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.567µs 18.691µs ± 0.089µs 18.666µs ± 0.033µs 18.706µs 18.879µs 19.009µs 19.025µs 1.92% 1.703 2.810 0.48% 0.006µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 52562019.843op/s 53503056.609op/s ± 253687.774op/s 53573755.398op/s ± 96102.731op/s 53654301.274op/s 53755102.657op/s 53852478.283op/s 53858112.173op/s 0.53% -1.676 2.703 0.47% 17938.435op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.782µs 10.881µs ± 0.040µs 10.878µs ± 0.025µs 10.903µs 10.952µs 10.987µs 10.989µs 1.02% 0.290 0.095 0.36% 0.003µs 1 200
normalization/normalize_name/normalize_name/good throughput 91001165.649op/s 91903319.185op/s ± 335611.735op/s 91928921.438op/s ± 213306.855op/s 92133585.567op/s 92417308.029op/s 92603656.326op/s 92750914.234op/s 0.89% -0.268 0.081 0.36% 23731.333op/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 [204.996µs; 205.109µs] or [-0.028%; +0.028%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [4875473.883op/s; 4878156.316op/s] or [-0.028%; +0.028%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.679µs; 18.703µs] or [-0.066%; +0.066%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [53467897.924op/s; 53538215.295op/s] or [-0.066%; +0.066%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.876µs; 10.887µs] or [-0.051%; +0.051%] None None None
normalization/normalize_name/normalize_name/good throughput [91856806.626op/s; 91949831.743op/s] or [-0.051%; +0.051%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.695µs 25.809µs ± 9.690µs 17.927µs ± 0.158µs 34.670µs 43.057µs 44.439µs 61.756µs 244.48% 0.760 -0.302 37.45% 0.685µ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.466µs; 27.152µs] or [-5.203%; +5.203%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.916µs 534.619µs ± 0.795µs 534.517µs ± 0.243µs 534.820µs 535.313µs 535.762µs 544.437µs 1.86% 9.514 114.487 0.15% 0.056µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1836759.213op/s 1870493.973op/s ± 2743.945op/s 1870847.990op/s ± 850.904op/s 1871549.760op/s 1872630.781op/s 1872907.655op/s 1872952.560op/s 0.11% -9.399 112.567 0.15% 194.026op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 380.476µs 381.220µs ± 0.419µs 381.154µs ± 0.222µs 381.410µs 381.755µs 382.336µs 384.082µs 0.77% 3.312 19.700 0.11% 0.030µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2603608.624op/s 2623163.531op/s ± 2873.044op/s 2623610.257op/s ± 1525.837op/s 2624917.993op/s 2626053.749op/s 2626955.862op/s 2628286.072op/s 0.18% -3.277 19.392 0.11% 203.155op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 189.668µs 190.027µs ± 0.240µs 190.003µs ± 0.122µs 190.125µs 190.359µs 190.591µs 192.253µs 1.18% 4.217 35.243 0.13% 0.017µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5201488.319op/s 5262412.849op/s ± 6623.238op/s 5263072.663op/s ± 3386.511op/s 5266424.713op/s 5269750.666op/s 5271370.541op/s 5272363.541op/s 0.18% -4.144 34.346 0.13% 468.334op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 37.221µs 37.436µs ± 0.069µs 37.436µs ± 0.045µs 37.486µs 37.550µs 37.597µs 37.602µs 0.44% -0.214 0.180 0.18% 0.005µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26594513.296op/s 26712067.277op/s ± 49555.097op/s 26712320.060op/s ± 32416.299op/s 26738992.958op/s 26797824.481op/s 26834002.922op/s 26866197.274op/s 0.58% 0.225 0.190 0.19% 3504.075op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 45.824µs 45.924µs ± 0.100µs 45.917µs ± 0.036µs 45.950µs 46.011µs 46.046µs 47.144µs 2.67% 9.231 110.101 0.22% 0.007µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21211631.988op/s 21775167.843op/s ± 46380.384op/s 21778513.246op/s ± 16848.168op/s 21796260.065op/s 21812193.115op/s 21819278.336op/s 21822398.170op/s 0.20% -9.057 107.249 0.21% 3279.588op/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.509µs; 534.730µs] or [-0.021%; +0.021%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1870113.688op/s; 1870874.257op/s] or [-0.020%; +0.020%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [381.161µs; 381.278µs] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2622765.354op/s; 2623561.707op/s] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [189.994µs; 190.061µs] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5261494.932op/s; 5263330.767op/s] or [-0.017%; +0.017%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [37.427µs; 37.446µs] or [-0.026%; +0.026%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26705199.417op/s; 26718935.137op/s] or [-0.026%; +0.026%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [45.910µs; 45.938µs] or [-0.030%; +0.030%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21768739.967op/s; 21781595.718op/s] or [-0.030%; +0.030%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 74e40d7 1750255793 leiyks-reduce-telemetry-size
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.189µs 3.257µs ± 1.463µs 3.024µs ± 0.024µs 3.055µs 3.705µs 14.384µs 14.912µs 393.08% 7.261 54.063 44.79% 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.054µs; 3.460µs] or [-6.224%; +6.224%] None None None

Baseline

Omitted due to size.

@codecov-commenter
Copy link

codecov-commenter commented May 28, 2025

Codecov Report

Attention: Patch coverage is 0% with 361 lines in your changes missing coverage. Please review.

Project coverage is 70.93%. Comparing base (a51462a) to head (74e40d7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1077      +/-   ##
==========================================
- Coverage   71.00%   70.93%   -0.07%     
==========================================
  Files         336      334       -2     
  Lines       51191    50954     -237     
==========================================
- Hits        36347    36144     -203     
+ Misses      14844    14810      -34     
Components Coverage Δ
datadog-crashtracker 44.45% <ø> (+0.02%) ⬆️
datadog-crashtracker-ffi 6.03% <ø> (ø)
datadog-alloc 98.73% <ø> (ø)
data-pipeline 89.23% <ø> (ø)
data-pipeline-ffi 88.94% <ø> (ø)
ddcommon 78.63% <ø> (ø)
ddcommon-ffi 67.87% <ø> (ø)
ddtelemetry 60.08% <0.00%> (-0.07%) ⬇️
ddtelemetry-ffi 21.32% <ø> (ø)
dogstatsd-client 83.26% <ø> (ø)
datadog-ipc 82.58% <ø> (ø)
datadog-profiling 77.17% <ø> (ø)
datadog-profiling-ffi 62.12% <ø> (ø)
datadog-sidecar 39.24% <0.00%> (-1.94%) ⬇️
datdog-sidecar-ffi 0.29% <0.00%> (-2.63%) ⬇️
spawn-worker 55.35% <ø> (ø)
tinybytes 90.96% <ø> (ø)
datadog-trace-normalization 98.24% <ø> (ø)
datadog-trace-obfuscation 94.17% <ø> (ø)
datadog-trace-protobuf 77.10% <ø> (ø)
datadog-trace-utils 89.07% <ø> (ø)
datadog-tracer-flare 60.47% <ø> (ø)
datadog-log 76.31% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Leiyks Leiyks force-pushed the leiyks-reduce-telemetry-size branch from 88e2fff to d0dd988 Compare June 3, 2025 14:07
@r1viollet
Copy link
Contributor

r1viollet commented Jun 3, 2025

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 9.16 MB 9.16 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so.debug 21.98 MB 21.98 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 69.92 MB 69.92 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.08 MB 9.08 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so.debug 26.02 MB 26.02 MB +0% (+8 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 82.10 MB 82.10 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 16.01 MB 16.01 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 62.65 KB 62.65 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 109.13 MB 109.16 MB +.02% (+24.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 583.85 MB 583.85 MB +0% (+296 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 5.01 MB 5.01 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 62.65 KB 62.65 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 15.54 MB 15.54 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 28.57 MB 28.57 MB +0% (+108 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 13.58 MB 13.58 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 63.60 KB 63.60 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 110.92 MB 110.94 MB +.01% (+16.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 574.65 MB 574.65 MB -0% (-164 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 3.78 MB 3.78 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 63.60 KB 63.60 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 16.51 MB 16.51 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 26.77 MB 26.77 MB +0% (+76 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 62.68 MB 62.68 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.80 MB 9.80 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so.debug 20.84 MB 20.84 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 77.12 MB 77.12 MB +0% (+8 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.70 MB 9.70 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so.debug 23.96 MB 23.96 MB +0% (+8 B) 👌

@Leiyks Leiyks force-pushed the leiyks-reduce-telemetry-size branch 4 times, most recently from 8108039 to e69e142 Compare June 17, 2025 13:23
@Leiyks Leiyks force-pushed the leiyks-reduce-telemetry-size branch from e69e142 to 2671326 Compare June 18, 2025 11:35
@Leiyks Leiyks force-pushed the leiyks-reduce-telemetry-size branch from 9257c8b to 97e94de Compare June 18, 2025 12:57
@Leiyks Leiyks force-pushed the leiyks-reduce-telemetry-size branch from 97e94de to bd0fe85 Compare June 18, 2025 14:00
Signed-off-by: Alexandre Rulleau <[email protected]>
@Leiyks Leiyks force-pushed the leiyks-reduce-telemetry-size branch from bd0fe85 to 74e40d7 Compare June 18, 2025 14:09
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.

4 participants