Skip to content

Conversation

@ekump
Copy link
Contributor

@ekump ekump commented Apr 14, 2025

What does this PR do?

This is a temporary stopgap while we investigate some flaky integration tests on CI. Tracing integration tests spin up a docker container running the apm test agent. In theory, these containers should be isolated. But when the tests are run on a GH runner there are occasional test failures that indicate a network connection issue if multiple containers are running at the same time. We are investigating a proper fix, but in the meantime this should alleviate flaky failures. The runtime of the suite should only increase by a few seconds as there just a handful of integration tests.

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.

@ekump ekump requested a review from a team as a code owner April 14, 2025 21:13
@pr-commenter
Copy link

pr-commenter bot commented Apr 14, 2025

Benchmarks

Comparison

Benchmark execution time: 2025-04-15 12:14:51

Comparing candidate commit 9350442 in PR branch ekump/run-tracing-integration-tests-single-threaded with baseline commit b862c47 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 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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.113µs 33.187µs ± 1.324µs 32.362µs ± 0.094µs 34.853µs 35.645µs 35.714µs 35.799µs 10.62% 0.945 -1.000 3.98% 0.094µ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.004µs; 33.371µs] or [-0.553%; +0.553%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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 208.557µs 208.998µs ± 0.142µs 209.009µs ± 0.094µs 209.095µs 209.227µs 209.273µs 209.328µs 0.15% -0.259 -0.110 0.07% 0.010µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4777184.168op/s 4784736.417op/s ± 3243.726op/s 4784491.550op/s ± 2160.986op/s 4786809.786op/s 4790308.759op/s 4791511.342op/s 4794855.440op/s 0.22% 0.262 -0.107 0.07% 229.366op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.608µs 18.684µs ± 0.032µs 18.682µs ± 0.024µs 18.707µs 18.730µs 18.757µs 18.800µs 0.63% 0.294 0.119 0.17% 0.002µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 53190170.637op/s 53521989.448op/s ± 92105.034op/s 53527629.570op/s ± 68470.894op/s 53585043.780op/s 53667455.398op/s 53693542.934op/s 53739935.148op/s 0.40% -0.284 0.101 0.17% 6512.809op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.807µs 10.914µs ± 0.034µs 10.913µs ± 0.017µs 10.936µs 10.958µs 10.984µs 11.039µs 1.15% -0.345 1.792 0.31% 0.002µs 1 200
normalization/normalize_name/normalize_name/good throughput 90586148.124op/s 91628805.184op/s ± 287862.515op/s 91630149.703op/s ± 139853.111op/s 91733020.232op/s 92228703.073op/s 92499122.410op/s 92534461.969op/s 0.99% 0.379 1.781 0.31% 20354.954op/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 [208.978µs; 209.018µs] or [-0.009%; +0.009%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [4784286.867op/s; 4785185.966op/s] or [-0.009%; +0.009%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.680µs; 18.688µs] or [-0.024%; +0.024%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [53509224.576op/s; 53534754.320op/s] or [-0.024%; +0.024%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.909µs; 10.918µs] or [-0.043%; +0.043%] None None None
normalization/normalize_name/normalize_name/good throughput [91588910.208op/s; 91668700.160op/s] or [-0.044%; +0.044%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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.448µs ± 0.031µs 2.436µs ± 0.015µs 2.455µs 2.513µs 2.535µs 2.538µs 4.16% 1.163 0.332 1.26% 0.002µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
tags/replace_trace_tags execution_time [2.444µs; 2.452µs] or [-0.176%; +0.176%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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 66.788µs 66.970µs ± 0.180µs 66.947µs ± 0.038µs 66.991µs 67.089µs 67.393µs 69.105µs 3.22% 8.831 98.559 0.27% 0.013µ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 [66.945µs; 66.995µs] or [-0.037%; +0.037%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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.912µs ± 0.003µs 3.912µs ± 0.001µs 3.913µs 3.915µs 3.916µs 3.918µs 0.14% -2.095 11.792 0.06% 0.000µs 1 200
credit_card/is_card_number/ throughput 255258132.783op/s 255645567.391op/s ± 164709.408op/s 255622980.506op/s ± 57967.070op/s 255687873.546op/s 255934216.850op/s 256016744.093op/s 256815611.013op/s 0.47% 2.113 11.944 0.06% 11646.714op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 76.620µs 77.537µs ± 0.434µs 77.446µs ± 0.298µs 77.834µs 78.276µs 78.808µs 78.986µs 1.99% 0.667 0.245 0.56% 0.031µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12660475.204op/s 12897471.399op/s ± 71908.163op/s 12912207.847op/s ± 49861.671op/s 12948813.479op/s 12990545.920op/s 13029868.219op/s 13051423.926op/s 1.08% -0.637 0.184 0.56% 5084.675op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 70.803µs 71.380µs ± 0.265µs 71.353µs ± 0.174µs 71.538µs 71.836µs 72.074µs 72.602µs 1.75% 0.844 1.802 0.37% 0.019µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13773658.842op/s 14009624.338op/s ± 51866.198op/s 14014875.405op/s ± 34030.560op/s 14046759.918op/s 14078104.275op/s 14102108.292op/s 14123606.984op/s 0.78% -0.811 1.673 0.37% 3667.494op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.896µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.915µs 3.917µs 3.919µs 3.921µs 0.19% -0.921 3.408 0.08% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 255056958.230op/s 255568760.487op/s ± 205070.342op/s 255546846.256op/s ± 101842.061op/s 255654364.920op/s 255932001.427op/s 256037563.355op/s 256665211.963op/s 0.44% 0.932 3.458 0.08% 14500.663op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 67.150µs 68.025µs ± 0.435µs 67.966µs ± 0.276µs 68.300µs 68.843µs 69.086µs 69.244µs 1.88% 0.379 -0.166 0.64% 0.031µs 1 200
credit_card/is_card_number/378282246310005 throughput 14441756.837op/s 14701059.890op/s ± 93744.430op/s 14713283.892op/s ± 59850.522op/s 14762492.584op/s 14849611.998op/s 14884990.890op/s 14891978.451op/s 1.21% -0.347 -0.197 0.64% 6628.732op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 51.758µs 51.831µs ± 0.028µs 51.827µs ± 0.013µs 51.843µs 51.883µs 51.920µs 51.985µs 0.31% 1.236 4.862 0.05% 0.002µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 19236249.147op/s 19293402.094op/s ± 10538.704op/s 19295104.832op/s ± 4701.807op/s 19299348.165op/s 19306260.248op/s 19318128.770op/s 19320555.139op/s 0.13% -1.228 4.825 0.05% 745.199op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.028µs 6.058µs ± 0.028µs 6.043µs ± 0.011µs 6.073µs 6.112µs 6.149µs 6.151µs 1.80% 1.215 1.114 0.46% 0.002µs 1 200
credit_card/is_card_number/x371413321323331 throughput 162563359.635op/s 165065844.358op/s ± 749962.509op/s 165489278.538op/s ± 309569.060op/s 165666512.310op/s 165761670.339op/s 165872576.212op/s 165896996.933op/s 0.25% -1.193 1.031 0.45% 53030.358op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.892µs 3.912µs ± 0.003µs 3.912µs ± 0.001µs 3.913µs 3.915µs 3.917µs 3.919µs 0.18% -2.493 18.353 0.06% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 255148005.309op/s 255619233.126op/s ± 164287.540op/s 255609495.894op/s ± 73273.058op/s 255678314.268op/s 255831576.536op/s 256061065.926op/s 256912721.240op/s 0.51% 2.520 18.599 0.06% 11616.883op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 65.861µs 66.425µs ± 0.197µs 66.417µs ± 0.139µs 66.573µs 66.742µs 66.806µs 67.088µs 1.01% -0.019 0.241 0.30% 0.014µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 14905805.673op/s 15054753.576op/s ± 44598.068op/s 15056294.619op/s ± 31522.874op/s 15083951.451op/s 15122042.154op/s 15169958.035op/s 15183475.713op/s 0.84% 0.039 0.238 0.30% 3153.560op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 59.478µs 59.657µs ± 0.064µs 59.652µs ± 0.040µs 59.695µs 59.764µs 59.809µs 59.857µs 0.34% 0.144 0.158 0.11% 0.005µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 16706433.946op/s 16762428.841op/s ± 17884.558op/s 16764026.914op/s ± 11160.193op/s 16774015.376op/s 16791222.731op/s 16797966.947op/s 16812979.620op/s 0.29% -0.137 0.157 0.11% 1264.629op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.894µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.916µs 3.917µs 3.918µs 0.14% -1.401 5.784 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 255247936.521op/s 255644728.002op/s ± 187844.492op/s 255606505.186op/s ± 111563.056op/s 255740081.663op/s 255988850.919op/s 256036698.005op/s 256793602.343op/s 0.46% 1.414 5.873 0.07% 13282.611op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 56.169µs 56.398µs ± 0.103µs 56.383µs ± 0.069µs 56.461µs 56.587µs 56.659µs 56.696µs 0.56% 0.467 -0.067 0.18% 0.007µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 17637986.277op/s 17731057.364op/s ± 32260.252op/s 17735948.396op/s ± 21749.016op/s 17755747.352op/s 17779181.381op/s 17789575.733op/s 17803509.072op/s 0.38% -0.458 -0.078 0.18% 2281.144op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 51.737µs 51.827µs ± 0.033µs 51.819µs ± 0.014µs 51.840µs 51.891µs 51.937µs 51.983µs 0.32% 1.491 4.087 0.06% 0.002µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 19236970.068op/s 19295065.057op/s ± 12250.908op/s 19298036.425op/s ± 5057.479op/s 19301774.316op/s 19309342.829op/s 19316555.970op/s 19328422.445op/s 0.16% -1.483 4.058 0.06% 866.270op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.027µs 6.051µs ± 0.026µs 6.038µs ± 0.004µs 6.070µs 6.110µs 6.149µs 6.177µs 2.29% 1.987 4.467 0.43% 0.002µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 161890695.281op/s 165263405.180op/s ± 702603.984op/s 165604779.040op/s ± 108933.548op/s 165682386.668op/s 165828220.092op/s 165863484.413op/s 165917395.219op/s 0.19% -1.955 4.269 0.42% 49681.604op/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.912µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number/ throughput [255622740.251op/s; 255668394.531op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [77.477µs; 77.597µs] or [-0.078%; +0.078%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12887505.619op/s; 12907437.179op/s] or [-0.077%; +0.077%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [71.344µs; 71.417µs] or [-0.051%; +0.051%] None None None
credit_card/is_card_number/ 378282246310005 throughput [14002436.182op/s; 14016812.494op/s] or [-0.051%; +0.051%] None None None
credit_card/is_card_number/37828224631 execution_time [3.912µs; 3.913µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/37828224631 throughput [255540339.709op/s; 255597181.264op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/378282246310005 execution_time [67.965µs; 68.085µs] or [-0.089%; +0.089%] None None None
credit_card/is_card_number/378282246310005 throughput [14688067.814op/s; 14714051.966op/s] or [-0.088%; +0.088%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [51.827µs; 51.835µs] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [19291941.531op/s; 19294862.657op/s] or [-0.008%; +0.008%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.054µs; 6.062µs] or [-0.063%; +0.063%] None None None
credit_card/is_card_number/x371413321323331 throughput [164961906.767op/s; 165169781.949op/s] or [-0.063%; +0.063%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.912µs; 3.912µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ throughput [255596464.453op/s; 255642001.800op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [66.398µs; 66.452µs] or [-0.041%; +0.041%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15048572.713op/s; 15060934.439op/s] or [-0.041%; +0.041%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [59.648µs; 59.666µs] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [16759950.213op/s; 16764907.469op/s] or [-0.015%; +0.015%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.911µs; 3.912µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255618694.562op/s; 255670761.442op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [56.384µs; 56.413µs] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [17726586.403op/s; 17735528.325op/s] or [-0.025%; +0.025%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [51.822µs; 51.831µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [19293367.199op/s; 19296762.915op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.047µs; 6.055µs] or [-0.059%; +0.059%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [165166031.026op/s; 165360779.335op/s] or [-0.059%; +0.059%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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 5.956ms 5.967ms ± 0.005ms 5.967ms ± 0.003ms 5.970ms 5.974ms 5.977ms 5.997ms 0.50% 1.176 6.968 0.08% 0.000ms 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 [5.967ms; 5.968ms] or [-0.011%; +0.011%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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 18.074µs 26.871µs ± 11.625µs 18.232µs ± 0.117µs 36.982µs 47.330µs 48.925µs 91.321µs 400.87% 1.539 4.242 43.15% 0.822µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [25.260µs; 28.482µs] or [-5.996%; +5.996%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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.166µs 3.173µs ± 1.429µs 2.971µs ± 0.028µs 3.005µs 3.618µs 13.817µs 15.009µs 405.11% 7.392 55.638 44.93% 0.101µ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.975µs; 3.371µs] or [-6.242%; +6.242%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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.000µs 5.088µs ± 0.054µs 5.068µs ± 0.045µs 5.143µs 5.165µs 5.172µs 5.175µs 2.11% 0.187 -1.523 1.06% 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.080µs; 5.095µs] or [-0.148%; +0.148%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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 147.602µs 148.920µs ± 0.464µs 148.845µs ± 0.150µs 149.017µs 149.417µs 150.712µs 152.819µs 2.67% 3.888 27.295 0.31% 0.033µ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 [148.855µs; 148.984µs] or [-0.043%; +0.043%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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 503.885µs 504.952µs ± 0.573µs 504.953µs ± 0.241µs 505.158µs 505.512µs 505.784µs 511.078µs 1.21% 6.045 63.563 0.11% 0.041µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1956647.645op/s 1980388.412op/s ± 2232.160op/s 1980383.749op/s ± 943.753op/s 1981435.163op/s 1983172.298op/s 1984052.694op/s 1984578.064op/s 0.21% -5.947 62.223 0.11% 157.838op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 453.029µs 454.677µs ± 0.536µs 454.674µs ± 0.379µs 455.088µs 455.540µs 455.884µs 456.293µs 0.36% 0.007 0.006 0.12% 0.038µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2191576.195op/s 2199365.133op/s ± 2593.850op/s 2199377.774op/s ± 1832.467op/s 2201062.007op/s 2203404.402op/s 2204921.696op/s 2207365.427op/s 0.36% -0.000 0.006 0.12% 183.413op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 177.284µs 177.625µs ± 0.116µs 177.611µs ± 0.063µs 177.684µs 177.821µs 177.941µs 178.130µs 0.29% 0.620 2.165 0.07% 0.008µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5613874.430op/s 5629852.017op/s ± 3671.717op/s 5630288.094op/s ± 1988.146op/s 5632122.274op/s 5634714.321op/s 5638889.665op/s 5640680.145op/s 0.18% -0.613 2.150 0.07% 259.630op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 37.547µs 37.631µs ± 0.082µs 37.623µs ± 0.022µs 37.647µs 37.686µs 37.739µs 38.673µs 2.79% 10.366 129.347 0.22% 0.006µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 25858046.378op/s 26574174.516op/s ± 56582.795op/s 26579626.446op/s ± 15702.281op/s 26594159.303op/s 26617119.907op/s 26628090.998op/s 26632967.892op/s 0.20% -10.210 126.712 0.21% 4001.008op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 48.185µs 48.278µs ± 0.043µs 48.276µs ± 0.026µs 48.303µs 48.336µs 48.392µs 48.539µs 0.55% 1.112 5.884 0.09% 0.003µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 20601821.341op/s 20713366.401op/s ± 18453.187op/s 20714124.137op/s ± 11110.709op/s 20724906.598op/s 20743052.687op/s 20752499.401op/s 20753454.153op/s 0.19% -1.094 5.775 0.09% 1304.837op/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 [504.873µs; 505.032µs] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1980079.056op/s; 1980697.768op/s] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [454.603µs; 454.752µs] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2199005.651op/s; 2199724.616op/s] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [177.609µs; 177.641µs] or [-0.009%; +0.009%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5629343.153op/s; 5630360.882op/s] or [-0.009%; +0.009%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [37.619µs; 37.642µs] or [-0.030%; +0.030%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26566332.684op/s; 26582016.347op/s] or [-0.030%; +0.030%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [48.272µs; 48.284µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [20710808.966op/s; 20715923.835op/s] or [-0.012%; +0.012%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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.350ns 253.718ns ± 11.927ns 247.963ns ± 2.526ns 254.283ns 279.967ns 291.070ns 297.380ns 19.93% 1.769 2.329 4.69% 0.843ns 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 [252.065ns; 255.371ns] or [-0.651%; +0.651%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 9350442 1744718582 ekump/run-tracing-integration-tests-single-threaded
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 72.625ms 72.913ms ± 0.209ms 72.857ms ± 0.088ms 72.964ms 73.352ms 73.625ms 73.724ms 1.19% 1.598 2.460 0.29% 0.015ms 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.884ms; 72.941ms] or [-0.040%; +0.040%] None None None

Baseline

Omitted due to size.

@codecov-commenter
Copy link

codecov-commenter commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.55%. Comparing base (b862c47) to head (9350442).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1023      +/-   ##
==========================================
+ Coverage   71.53%   71.55%   +0.01%     
==========================================
  Files         339      339              
  Lines       50693    50693              
==========================================
+ Hits        36264    36274      +10     
+ Misses      14429    14419      -10     
Components Coverage Δ
crashtracker 42.82% <ø> (+0.08%) ⬆️
crashtracker-ffi 6.30% <ø> (ø)
datadog-alloc 98.73% <ø> (ø)
data-pipeline 90.93% <ø> (ø)
data-pipeline-ffi 90.35% <ø> (ø)
ddcommon 78.57% <ø> (ø)
ddcommon-ffi 66.37% <ø> (ø)
ddtelemetry 60.37% <ø> (+0.07%) ⬆️
ddtelemetry-ffi 21.43% <ø> (ø)
dogstatsd-client 82.57% <ø> (ø)
ipc 82.51% <ø> (+0.10%) ⬆️
profiling 77.45% <ø> (ø)
profiling-ffi 62.28% <ø> (ø)
serverless 0.00% <ø> (ø)
sidecar 41.14% <ø> (ø)
sidecar-ffi 2.05% <ø> (ø)
spawn-worker 54.37% <ø> (ø)
tinybytes 89.86% <ø> (ø)
trace-mini-agent 73.82% <ø> (ø)
trace-normalization 98.24% <ø> (ø)
trace-obfuscation 96.00% <ø> (ø)
trace-protobuf 78.50% <ø> (ø)
trace-utils 92.82% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@r1viollet
Copy link
Contributor

r1viollet commented Apr 14, 2025

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 78.04 MB 78.04 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so.debug 24.21 MB 24.21 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.79 MB 7.79 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so.debug 22.82 MB 22.82 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 7.71 MB 7.71 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 72.40 MB 72.40 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 17.01 MB 17.01 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 61.83 KB 61.83 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 114.22 MB 114.23 MB +0% (+8.00 KB) 👌
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 633.87 MB 633.87 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 5.06 MB 5.06 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 61.83 KB 61.83 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 16.15 MB 16.15 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 26.84 MB 26.84 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 14.40 MB 14.40 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 62.78 KB 62.78 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 116.23 MB 116.22 MB -0% (-8.00 KB) 👌
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 625.75 MB 625.75 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 3.83 MB 3.83 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 62.78 KB 62.78 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 16.78 MB 16.78 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 24.74 MB 24.74 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 67.28 MB 67.28 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.27 MB 8.27 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so.debug 23.35 MB 23.35 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 68.25 MB 68.25 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 8.15 MB 8.15 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so.debug 20.99 MB 20.99 MB 0% (0 B) 👌

This is a temporary stopgap while we investigate some flaky integration
tests on CI. There is something up with running docker in docker on GH
runners that leads to occasional network connection issues that causes
tests that call the datadog test agent to be flaky.
@ekump ekump force-pushed the ekump/run-tracing-integration-tests-single-threaded branch from fce5f41 to 9350442 Compare April 15, 2025 12:03
Copy link

@ganeshnj ganeshnj left a comment

Choose a reason for hiding this comment

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

would make sense decorate the target tests using serial_test crate? I think we do this at other places too

https://github.com/search?q=repo%3ADataDog%2Flibdatadog+%23%5Bserial%5D&type=code

so we don't end up serializing everything.

env:
RUST_BACKTRACE: 1
- name: "[${{ steps.rust-version.outputs.version}}] Tracing integration tests: cargo nextest run --workspace --exclude builder --profile ci --verbose -E 'test(tracing_integration_tests::)'"
- name: "[${{ steps.rust-version.outputs.version}}] Tracing integration tests: cargo nextest run --workspace --exclude builder --profile ci --test-threads=1 --verbose -E 'test(tracing_integration_tests::)'"

Choose a reason for hiding this comment

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

/question

would it slow down the CI?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This step runs only the integration tests, not the entire test suite. It may add less than 10s to the test job. It will be done long before Miri and the build pipelines on Gitlab.

@ekump
Copy link
Contributor Author

ekump commented Apr 15, 2025

would make sense decorate the target tests using serial_test crate? I think we do this at other places too

https://github.com/search?q=repo%3ADataDog%2Flibdatadog+%23%5Bserial%5D&type=code

so we don't end up serializing everything.

@ganeshnj - This is hopefully just a temporary solution while we investigate something more permanent. At least right now, we do want to serialize all the tracing integration tests. And we only want this to apply to GH CI, not local tests. I think using the serial crate would apply this to local test runs by default.

@morrisonlevi
Copy link
Contributor

I am going to bypass rules and merge. The profiling fuzzer found a bug yesterday, and I haven't had time to address it yet.

@morrisonlevi morrisonlevi merged commit 64fd851 into main Apr 15, 2025
32 of 35 checks passed
@morrisonlevi morrisonlevi deleted the ekump/run-tracing-integration-tests-single-threaded branch April 15, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants