Skip to content

Conversation

Aaalibaba42
Copy link
Contributor

What does this PR do?

Add os information to telemetry

Motivation

https://datadoghq.atlassian.net/browse/APMSP-2308

Additional Notes

What's the policy around unsafe ? Is there a better way to get uname information without using external crates that do just this but abstracted and increasing the package size ?

@Aaalibaba42 Aaalibaba42 requested review from a team as code owners October 6, 2025 15:52
@Aaalibaba42 Aaalibaba42 requested a review from pawelchcki October 6, 2025 15:52
@pr-commenter
Copy link

pr-commenter bot commented Oct 6, 2025

Benchmarks

Comparison

Benchmark execution time: 2025-10-08 10:00:46

Comparing candidate commit 2110469 in PR branch jwiriath/kernel-related-tag-to-telemetry with baseline commit f65f27b in branch main.

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

scenario:credit_card/is_card_number/378282246310005

  • 🟩 execution_time [-6.078µs; -5.869µs] or [-7.779%; -7.512%]
  • 🟩 throughput [+1041417.386op/s; +1075781.956op/s] or [+8.136%; +8.404%]

scenario:credit_card/is_card_number/x371413321323331

  • 🟩 execution_time [-623.928ns; -602.215ns] or [-9.693%; -9.356%]
  • 🟩 throughput [+16066968.207op/s; +16704255.479op/s] or [+10.342%; +10.752%]

scenario:credit_card/is_card_number_no_luhn/x371413321323331

  • 🟩 execution_time [-609.459ns; -587.275ns] or [-9.468%; -9.124%]
  • 🟩 throughput [+15629378.355op/s; +16279166.478op/s] or [+10.060%; +10.478%]

scenario:normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo...

  • 🟩 execution_time [-19.033µs; -18.890µs] or [-9.289%; -9.219%]
  • 🟩 throughput [+495822.401op/s; +499533.162op/s] or [+10.160%; +10.236%]

scenario:normalization/normalize_name/normalize_name/good

  • 🟩 execution_time [-1.024µs; -1.001µs] or [-9.367%; -9.158%]
  • 🟩 throughput [+9234356.269op/s; +9453791.677op/s] or [+10.093%; +10.332%]

scenario:normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000...

  • 🟩 execution_time [-42.897µs; -42.202µs] or [-7.962%; -7.833%]
  • 🟩 throughput [+157920.047op/s; +160346.865op/s] or [+8.508%; +8.639%]

scenario:normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters

  • 🟩 execution_time [-20.305µs; -20.206µs] or [-10.677%; -10.625%]
  • 🟩 throughput [+625278.239op/s; +628441.398op/s] or [+11.891%; +11.951%]

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 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.392µs 34.020µs ± 1.072µs 33.527µs ± 0.047µs 33.641µs 36.316µs 36.360µs 37.769µs 12.65% 1.740 1.205 3.14% 0.076µ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.871µs; 34.169µs] or [-0.437%; +0.437%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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 248.375ns 258.019ns ± 13.122ns 251.936ns ± 2.461ns 260.069ns 288.788ns 296.561ns 297.963ns 18.27% 1.623 1.317 5.07% 0.928ns 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 [256.200ns; 259.837ns] or [-0.705%; +0.705%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.153µs 3.247µs ± 1.453µs 3.020µs ± 0.033µs 3.049µs 3.712µs 13.891µs 15.478µs 412.61% 7.306 54.984 44.64% 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.045µs; 3.448µs] or [-6.202%; +6.202%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.418µs 185.942µs ± 0.332µs 185.883µs ± 0.174µs 186.059µs 186.539µs 187.119µs 187.289µs 0.76% 1.600 3.477 0.18% 0.023µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5339341.873op/s 5378042.495op/s ± 9585.036op/s 5379716.532op/s ± 5047.039op/s 5384706.666op/s 5389239.981op/s 5392785.558op/s 5393218.917op/s 0.25% -1.584 3.417 0.18% 677.764op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.931µs 18.038µs ± 0.098µs 18.028µs ± 0.035µs 18.069µs 18.132µs 18.187µs 19.193µs 6.47% 8.378 96.251 0.54% 0.007µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 52101484.936op/s 55438774.609op/s ± 287354.699op/s 55470679.231op/s ± 107613.174op/s 55558849.662op/s 55691487.509op/s 55735426.948op/s 55769913.022op/s 0.54% -7.931 89.222 0.52% 20319.046op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 9.859µs 9.917µs ± 0.072µs 9.889µs ± 0.013µs 9.918µs 10.063µs 10.202µs 10.228µs 3.43% 2.347 5.441 0.72% 0.005µs 1 200
normalization/normalize_name/normalize_name/good throughput 97772837.677op/s 100841282.799op/s ± 716833.936op/s 101127418.649op/s ± 134125.146op/s 101245163.261op/s 101322653.026op/s 101372736.267op/s 101433723.739op/s 0.30% -2.306 5.201 0.71% 50687.814op/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 [185.896µs; 185.988µ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 [5376714.101op/s; 5379370.889op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.025µs; 18.052µs] or [-0.075%; +0.075%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [55398950.011op/s; 55478599.206op/s] or [-0.072%; +0.072%] None None None
normalization/normalize_name/normalize_name/good execution_time [9.907µs; 9.927µs] or [-0.100%; +0.100%] None None None
normalization/normalize_name/normalize_name/good throughput [100741936.510op/s; 100940629.089op/s] or [-0.099%; +0.099%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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 60.037ms 60.485ms ± 1.925ms 60.230ms ± 0.088ms 60.314ms 60.582ms 68.956ms 81.854ms 35.90% 9.138 88.547 3.17% 0.136ms 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 [60.218ms; 60.752ms] or [-0.441%; +0.441%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.259ms 6.322ms ± 0.036ms 6.317ms ± 0.022ms 6.341ms 6.377ms 6.445ms 6.483ms 2.63% 1.136 2.612 0.57% 0.003ms 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.317ms; 6.327ms] or [-0.079%; +0.079%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sql/obfuscate_sql_string execution_time 89.466µs 90.007µs ± 0.237µs 89.993µs ± 0.073µs 90.068µs 90.237µs 90.342µs 92.707µs 3.02% 7.393 82.633 0.26% 0.017µ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.975µs; 90.040µs] or [-0.036%; +0.036%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.952µs 5.025µs ± 0.035µs 5.034µs ± 0.028µs 5.053µs 5.066µs 5.073µs 5.074µs 0.80% -0.451 -1.169 0.70% 0.002µ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.020µs; 5.030µs] or [-0.097%; +0.097%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.121ms 15.165ms ± 0.032ms 15.159ms ± 0.010ms 15.170ms 15.228ms 15.269ms 15.395ms 1.56% 3.450 16.825 0.21% 0.002ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching serializing traces from their internal representation to msgpack execution_time [15.161ms; 15.170ms] or [-0.029%; +0.029%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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 156.814µs 157.402µs ± 0.323µs 157.315µs ± 0.156µs 157.522µs 158.022µs 158.756µs 158.930µs 1.03% 1.791 4.723 0.21% 0.023µ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 [157.357µs; 157.447µs] or [-0.028%; +0.028%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.716ms 10.749ms ± 0.015ms 10.748ms ± 0.009ms 10.758ms 10.771ms 10.800ms 10.822ms 0.69% 1.085 3.027 0.14% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [10.747ms; 10.751ms] or [-0.019%; +0.019%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.284µs 496.201µs ± 0.781µs 496.122µs ± 0.334µs 496.458µs 496.938µs 497.295µs 505.196µs 1.83% 7.769 86.081 0.16% 0.055µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1979429.331op/s 2015316.115op/s ± 3135.818op/s 2015633.364op/s ± 1358.786op/s 2016960.565op/s 2018014.592op/s 2018559.149op/s 2019043.393op/s 0.17% -7.639 84.065 0.16% 221.736op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 371.047µs 371.641µs ± 0.268µs 371.630µs ± 0.177µs 371.809µs 372.091µs 372.417µs 372.547µs 0.25% 0.521 0.438 0.07% 0.019µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2684227.897op/s 2690767.187op/s ± 1938.535op/s 2690851.730op/s ± 1279.869op/s 2692123.622op/s 2693528.169op/s 2694335.128op/s 2695077.628op/s 0.16% -0.516 0.429 0.07% 137.075op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 168.284µs 169.916µs ± 0.268µs 169.940µs ± 0.117µs 170.060µs 170.269µs 170.326µs 170.385µs 0.26% -2.264 10.270 0.16% 0.019µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5869061.244op/s 5885278.621op/s ± 9329.909op/s 5884428.994op/s ± 4036.003op/s 5888305.083op/s 5901969.968op/s 5912361.796op/s 5942346.251op/s 0.98% 2.298 10.513 0.16% 659.724op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 37.960µs 38.107µs ± 0.053µs 38.109µs ± 0.035µs 38.144µs 38.185µs 38.218µs 38.243µs 0.35% -0.169 -0.138 0.14% 0.004µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26148805.493op/s 26242014.033op/s ± 36799.554op/s 26240398.993op/s ± 24060.347op/s 26264705.539op/s 26302145.606op/s 26334729.522op/s 26343756.364op/s 0.39% 0.177 -0.135 0.14% 2602.121op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 46.214µs 46.320µs ± 0.057µs 46.314µs ± 0.036µs 46.359µs 46.420µs 46.470µs 46.524µs 0.45% 0.608 0.327 0.12% 0.004µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21494128.521op/s 21588916.944op/s ± 26724.088op/s 21591880.591op/s ± 17014.495op/s 21607219.404op/s 21630334.554op/s 21637060.528op/s 21638532.167op/s 0.22% -0.600 0.313 0.12% 1889.678op/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.093µs; 496.310µs] or [-0.022%; +0.022%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [2014881.521op/s; 2015750.709op/s] or [-0.022%; +0.022%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [371.604µs; 371.679µs] or [-0.010%; +0.010%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2690498.525op/s; 2691035.849op/s] or [-0.010%; +0.010%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [169.879µs; 169.953µs] or [-0.022%; +0.022%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5883985.585op/s; 5886571.656op/s] or [-0.022%; +0.022%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [38.100µs; 38.114µs] or [-0.019%; +0.019%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26236913.968op/s; 26247114.097op/s] or [-0.019%; +0.019%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.312µs; 46.328µs] or [-0.017%; +0.017%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21585213.243op/s; 21592620.646op/s] or [-0.017%; +0.017%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
credit_card/is_card_number/ execution_time 3.892µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.913µs 3.916µs 3.918µs 3.919µs 0.18% -1.295 8.940 0.08% 0.000µs 1 200
credit_card/is_card_number/ throughput 255183985.858op/s 255644384.395op/s ± 192413.424op/s 255645245.152op/s ± 114715.376op/s 255755357.915op/s 255901630.064op/s 255966925.254op/s 256944430.493op/s 0.51% 1.316 9.097 0.08% 13605.684op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 79.027µs 80.590µs ± 0.823µs 80.505µs ± 0.512µs 81.036µs 82.349µs 82.813µs 83.396µs 3.59% 0.708 0.462 1.02% 0.058µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 11990933.320op/s 12409700.214op/s ± 125785.576op/s 12421581.321op/s ± 79441.893op/s 12498344.047op/s 12586894.898op/s 12622938.785op/s 12653872.353op/s 1.87% -0.648 0.344 1.01% 8894.383op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 74.495µs 74.983µs ± 0.184µs 74.957µs ± 0.105µs 75.073µs 75.302µs 75.545µs 75.852µs 1.19% 0.970 2.452 0.24% 0.013µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13183613.398op/s 13336456.363op/s ± 32570.376op/s 13341040.607op/s ± 18719.457op/s 13357273.755op/s 13379748.886op/s 13399490.816op/s 13423679.370op/s 0.62% -0.944 2.362 0.24% 2303.073op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.892µs 3.912µs ± 0.003µs 3.911µs ± 0.002µs 3.913µs 3.917µs 3.919µs 3.929µs 0.46% 0.112 8.082 0.09% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254500241.815op/s 255655416.752op/s ± 222766.867op/s 255673390.537op/s ± 114306.469op/s 255790395.071op/s 255914699.689op/s 255944868.648op/s 256967712.680op/s 0.51% -0.085 8.136 0.09% 15751.996op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 71.653µs 72.157µs ± 0.207µs 72.154µs ± 0.139µs 72.293µs 72.517µs 72.727µs 72.874µs 1.00% 0.316 0.330 0.29% 0.015µs 1 200
credit_card/is_card_number/378282246310005 throughput 13722317.938op/s 13858800.732op/s ± 39681.161op/s 13859280.740op/s ± 26571.338op/s 13884935.539op/s 13924995.018op/s 13934023.081op/s 13956229.649op/s 0.70% -0.297 0.301 0.29% 2805.882op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 52.108µs 52.191µs ± 0.038µs 52.188µs ± 0.027µs 52.219µs 52.256µs 52.287µs 52.289µs 0.19% 0.408 -0.374 0.07% 0.003µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 19124443.150op/s 19160392.688op/s ± 13853.475op/s 19161537.048op/s ± 10055.445op/s 19170802.867op/s 19179360.420op/s 19187210.556op/s 19190961.057op/s 0.15% -0.405 -0.378 0.07% 979.589op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 5.691µs 5.824µs ± 0.078µs 5.823µs ± 0.056µs 5.871µs 5.965µs 6.020µs 6.037µs 3.67% 0.350 -0.338 1.34% 0.006µs 1 200
credit_card/is_card_number/x371413321323331 throughput 165640079.624op/s 171744163.240op/s ± 2296734.243op/s 171723123.864op/s ± 1663360.983op/s 173494094.370op/s 175550968.110op/s 175702030.790op/s 175723346.431op/s 2.33% -0.289 -0.401 1.33% 162403.636op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.895µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.917µs 3.918µs 3.922µs 0.25% -0.712 4.639 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 255001053.525op/s 255622232.775op/s ± 195583.867op/s 255641068.759op/s ± 133705.885op/s 255752697.148op/s 255881189.208op/s 256004287.422op/s 256754496.594op/s 0.44% 0.726 4.714 0.08% 13829.868op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 64.176µs 64.338µs ± 0.106µs 64.316µs ± 0.038µs 64.365µs 64.486µs 64.687µs 65.240µs 1.44% 3.879 26.612 0.16% 0.007µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15327968.413op/s 15542940.908op/s ± 25438.819op/s 15548186.446op/s ± 9267.031op/s 15555088.183op/s 15570730.375op/s 15580411.902op/s 15582247.146op/s 0.22% -3.813 25.860 0.16% 1798.796op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 57.339µs 57.554µs ± 0.121µs 57.530µs ± 0.065µs 57.609µs 57.793µs 57.917µs 57.953µs 0.74% 1.048 1.052 0.21% 0.009µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 17255276.545op/s 17375181.006op/s ± 36358.245op/s 17382297.868op/s ± 19725.993op/s 17399992.170op/s 17422528.375op/s 17431017.872op/s 17440145.471op/s 0.33% -1.036 1.020 0.21% 2570.916op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.893µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.916µs 3.917µs 3.919µs 0.19% -1.152 6.807 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 255136225.483op/s 255640499.658op/s ± 195820.350op/s 255628500.730op/s ± 127320.169op/s 255770253.695op/s 255921361.742op/s 255971617.637op/s 256889449.529op/s 0.49% 1.169 6.927 0.08% 13846.590op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 54.557µs 54.794µs ± 0.148µs 54.756µs ± 0.086µs 54.866µs 55.102µs 55.237µs 55.270µs 0.94% 1.052 0.814 0.27% 0.010µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 18093146.484op/s 18250372.419op/s ± 49188.739op/s 18262700.262op/s ± 28620.507op/s 18286113.069op/s 18310779.922op/s 18318670.211op/s 18329457.271op/s 0.37% -1.038 0.778 0.27% 3478.169op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 52.153µs 52.185µs ± 0.026µs 52.180µs ± 0.008µs 52.190µs 52.221µs 52.242µs 52.412µs 0.44% 5.130 37.756 0.05% 0.002µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 19079440.829op/s 19162626.219op/s ± 9696.797op/s 19164295.958op/s ± 2998.420op/s 19167134.115op/s 19171083.584op/s 19173733.060op/s 19174310.259op/s 0.05% -5.110 37.527 0.05% 685.667op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 5.690µs 5.838µs ± 0.080µs 5.837µs ± 0.057µs 5.895µs 5.969µs 6.036µs 6.038µs 3.45% 0.124 -0.383 1.37% 0.006µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 165606517.173op/s 171312516.088op/s ± 2341841.354op/s 171318054.233op/s ± 1658186.304op/s 172890153.936op/s 175521594.482op/s 175734156.107op/s 175754687.134op/s 2.59% -0.059 -0.429 1.36% 165593.190op/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.010%; +0.010%] None None None
credit_card/is_card_number/ throughput [255617717.745op/s; 255671051.044op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [80.476µs; 80.704µs] or [-0.141%; +0.141%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12392267.543op/s; 12427132.885op/s] or [-0.140%; +0.140%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [74.957µs; 75.008µs] or [-0.034%; +0.034%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13331942.422op/s; 13340970.304op/s] or [-0.034%; +0.034%] 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 [255624543.407op/s; 255686290.097op/s] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/378282246310005 execution_time [72.128µs; 72.186µs] or [-0.040%; +0.040%] None None None
credit_card/is_card_number/378282246310005 throughput [13853301.304op/s; 13864300.159op/s] or [-0.040%; +0.040%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [52.186µs; 52.196µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [19158472.729op/s; 19162312.646op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/x371413321323331 execution_time [5.813µs; 5.834µs] or [-0.186%; +0.186%] None None None
credit_card/is_card_number/x371413321323331 throughput [171425857.963op/s; 172062468.517op/s] or [-0.185%; +0.185%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.912µs; 3.912µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ throughput [255595126.732op/s; 255649338.818op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [64.323µs; 64.353µs] or [-0.023%; +0.023%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15539415.332op/s; 15546466.483op/s] or [-0.023%; +0.023%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [57.537µs; 57.570µs] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [17370142.103op/s; 17380219.909op/s] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.911µs; 3.912µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255613360.841op/s; 255667638.475op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [54.773µs; 54.814µs] or [-0.037%; +0.037%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [18243555.333op/s; 18257189.505op/s] or [-0.037%; +0.037%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [52.181µs; 52.189µs] or [-0.007%; +0.007%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [19161282.336op/s; 19163970.102op/s] or [-0.007%; +0.007%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [5.827µs; 5.849µs] or [-0.190%; +0.190%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [170987959.399op/s; 171637072.777op/s] or [-0.189%; +0.189%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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.333µs 2.392µs ± 0.014µs 2.393µs ± 0.004µs 2.397µs 2.416µs 2.423µs 2.430µs 1.54% -1.101 3.674 0.60% 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.390µs; 2.394µs] or [-0.083%; +0.083%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 2110469 1759916819 jwiriath/kernel-related-tag-to-telemetry
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 19.155µs 25.031µs ± 9.529µs 19.957µs ± 0.165µs 29.065µs 45.078µs 48.377µs 76.395µs 282.80% 1.939 4.181 37.97% 0.674µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [23.711µs; 26.352µs] or [-5.276%; +5.276%] None None None

Baseline

Omitted due to size.

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 95.83333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 71.90%. Comparing base (cbbd077) to head (2110469).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1261      +/-   ##
==========================================
+ Coverage   71.82%   71.90%   +0.07%     
==========================================
  Files         356      356              
  Lines       56685    56691       +6     
==========================================
+ Hits        40716    40765      +49     
+ Misses      15969    15926      -43     
Components Coverage Δ
datadog-crashtracker 49.33% <ø> (+0.02%) ⬆️
datadog-crashtracker-ffi 5.93% <ø> (ø)
datadog-alloc 98.73% <ø> (ø)
data-pipeline 87.85% <ø> (-0.17%) ⬇️
data-pipeline-ffi 88.19% <ø> (ø)
ddcommon 84.54% <ø> (ø)
ddcommon-ffi 73.84% <ø> (ø)
ddtelemetry 59.73% <95.83%> (+0.27%) ⬆️
ddtelemetry-ffi 21.24% <ø> (ø)
dogstatsd-client 83.26% <ø> (ø)
datadog-ipc 82.39% <ø> (ø)
datadog-profiling 76.90% <ø> (ø)
datadog-profiling-ffi 62.12% <ø> (ø)
datadog-sidecar 37.53% <ø> (+0.51%) ⬆️
datdog-sidecar-ffi 13.54% <ø> (+2.50%) ⬆️
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 89.99% <ø> (+0.15%) ⬆️
datadog-tracer-flare 56.08% <ø> (+1.55%) ⬆️
datadog-log 76.31% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Aaalibaba42 Aaalibaba42 force-pushed the jwiriath/kernel-related-tag-to-telemetry branch 2 times, most recently from b110d4a to bb667ee Compare October 6, 2025 16:22
@dd-octo-sts
Copy link

dd-octo-sts bot commented Oct 6, 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.31 MB 71.33 MB +.03% (+24.53 KB) 🔍
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.20 MB 9.20 MB +0% (+192 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 83.64 MB 83.64 MB +0% (+4.17 KB) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 18.50 MB 18.59 MB +.48% (+91.50 KB) 🔍
/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 125.66 MB 129.40 MB +2.97% (+3.74 MB) ⚠️
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 656.43 MB 676.00 MB +2.98% (+19.57 MB) ⚠️
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 5.92 MB 5.93 MB +.28% (+17.00 KB) 🔍
/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.44 MB 17.52 MB +.44% (+80.00 KB) 🔍
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 32.40 MB 32.48 MB +.26% (+88.51 KB) 🔍
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 15.78 MB 15.85 MB +.48% (+78.50 KB) 🔍
/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 127.99 MB 131.80 MB +2.97% (+3.80 MB) ⚠️
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 645.48 MB 664.83 MB +2.99% (+19.35 MB) ⚠️
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.53 MB 4.54 MB +.22% (+10.50 KB) 🔍
/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.57 MB 18.66 MB +.46% (+88.00 KB) 🔍
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 30.42 MB 30.50 MB +.26% (+81.33 KB) 🔍
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 63.91 MB 63.94 MB +.05% (+38.53 KB) 🔍
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.55 MB 8.56 MB +.04% (+4.00 KB) 🔍
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 78.37 MB 78.36 MB -0% (-2.34 KB) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.90 MB 9.90 MB -0% (-312 B) 👌

@Aaalibaba42 Aaalibaba42 force-pushed the jwiriath/kernel-related-tag-to-telemetry branch 5 times, most recently from ccf0a2d to 86d533c Compare October 7, 2025 11:35
@Aaalibaba42 Aaalibaba42 force-pushed the jwiriath/kernel-related-tag-to-telemetry branch from 86d533c to 6c0d362 Compare October 7, 2025 11:42
@Aaalibaba42 Aaalibaba42 force-pushed the jwiriath/kernel-related-tag-to-telemetry branch 6 times, most recently from 0c74f3e to 492e809 Compare October 7, 2025 15:03
@Aaalibaba42 Aaalibaba42 force-pushed the jwiriath/kernel-related-tag-to-telemetry branch from 492e809 to ce9e8d3 Compare October 7, 2025 15:03
@Aaalibaba42 Aaalibaba42 requested a review from a team as a code owner October 8, 2025 09:47
@Aaalibaba42
Copy link
Contributor Author

Aaalibaba42 commented Oct 8, 2025

Kernel name

Python implem

platform.system():

Returns the system/OS name, such as 'Linux', 'Darwin', 'Java', 'Windows'. An empty string is returned if the value cannot be determined.

On iOS and Android, this returns the user-facing OS name (i.e, 'iOS, 'iPadOS' or 'Android'). To obtain the kernel name ('Darwin' or 'Linux'), use os.uname().

https://docs.python.org/3/library/platform.html#platform.system

This implem

sys_info::os_type():

Get operation system type.

Such as “Linux”, “Darwin”, “Windows”.

https://docs.rs/sys-info/latest/sys_info/fn.os_type.html

Kernel release

Python implem

platform.release():

Returns the system’s release, e.g. '2.2.0' or 'NT'. An empty string is returned if the value cannot be determined.

https://docs.python.org/3/library/platform.html#platform.release

This implem

sys_info::os_release():

Get operation system release version.

Such as “3.19.0-gentoo”

https://docs.rs/sys-info/latest/sys_info/fn.os_release.html

Kernel version

Python implem

platform.version():

Returns the system’s release version, e.g. '#3 on degas'. An empty string is returned if the value cannot be determined.

On iOS and Android, this is the user-facing OS version. To obtain the Darwin or Linux kernel version, use os.uname().

https://docs.python.org/3/library/platform.html#platform.version

This implem

Unix

I tested in on mac and linux docker, and both python and rust implem return a string equivalent to uname -v from man uname.1

libc::uname().version

char version[]; /* Operating system version */

man uname.2

Windows

"{major}.{minor}.{build}"

https://crates.io/crates/winver

@Aaalibaba42
Copy link
Contributor Author

/merge

@dd-devflow-routing-codex
Copy link

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

View all feedbacks in Devflow UI.

2025-10-09 14:13:51 UTC ℹ️ Start processing command /merge


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

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


2025-10-09 15:23:13 UTCMergeQueue: The checks failed on this merge request

Tests failed on this commit 80a5488:

What to do next?

  • Investigate the failures and when ready, re-add your pull request to the queue!
  • If your PR checks are green, try to rebase/merge. It might be because the CI run is a bit old.
  • Any question, go check the FAQ.

@Aaalibaba42
Copy link
Contributor Author

/merge

@dd-devflow-routing-codex
Copy link

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

View all feedbacks in Devflow UI.

2025-10-09 16:06:37 UTC ℹ️ Start processing command /merge


2025-10-09 16:06:43 UTC ℹ️ MergeQueue: pull request added to the queue

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


2025-10-09 16:32:24 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit d9b1999 into main Oct 9, 2025
37 checks passed
@dd-mergequeue dd-mergequeue bot deleted the jwiriath/kernel-related-tag-to-telemetry branch October 9, 2025 16:32
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