libdatadog icon indicating copy to clipboard operation
libdatadog copied to clipboard

feat(trace_utils): Allow sending trace stats using custom HTTP client

Open lym953 opened this issue 2 months ago • 2 comments

What does this PR do?

Expose a function that allows sending trace stats using a custom HTTP client object.

Motivation

Required by serverless to use proxy.

Additional Notes

GitHub issue: https://github.com/DataDog/datadog-lambda-extension/issues/860 Jira: https://datadoghq.atlassian.net/browse/SLES-2499

How to test the change?

See https://github.com/DataDog/datadog-lambda-extension/pull/927

lym953 avatar Nov 13 '25 19:11 lym953

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.38 MB 7.38 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 85.95 MB 85.95 MB 0% (0 B) 👌
aarch64-apple-darwin
Artifact Baseline Commit Change
/aarch64-apple-darwin/lib/libdatadog_profiling.a 57.99 MB 57.99 MB 0% (0 B) 👌
/aarch64-apple-darwin/lib/libdatadog_profiling.dylib 8.43 MB 8.43 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.53 MB 9.53 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 99.69 MB 99.69 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 19.57 MB 19.57 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 69.82 KB 69.82 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 138.51 MB 138.53 MB +.01% (+16.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 735.57 MB 735.57 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 6.34 MB 6.34 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 69.82 KB 69.82 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 19.67 MB 19.67 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 38.64 MB 38.64 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 16.70 MB 16.70 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 70.90 KB 70.90 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 141.08 MB 141.09 MB +0% (+8.00 KB) 👌
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 724.31 MB 724.31 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.87 MB 4.87 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 70.90 KB 70.90 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 20.89 MB 20.90 MB +.03% (+8.00 KB) 🔍
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 36.39 MB 36.39 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 74.31 MB 74.31 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.85 MB 8.85 MB 0% (0 B) 👌
x86_64-apple-darwin
Artifact Baseline Commit Change
/x86_64-apple-darwin/lib/libdatadog_profiling.a 59.35 MB 59.35 MB 0% (0 B) 👌
/x86_64-apple-darwin/lib/libdatadog_profiling.dylib 9.47 MB 9.47 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 93.92 MB 93.92 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.28 MB 10.28 MB 0% (0 B) 👌

dd-octo-sts[bot] avatar Nov 13 '25 19:11 dd-octo-sts[bot]

Codecov Report

:x: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 71.19%. Comparing base (970baa6) to head (c5e295a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1345   +/-   ##
=======================================
  Coverage   71.18%   71.19%           
=======================================
  Files         392      392           
  Lines       62742    62756   +14     
=======================================
+ Hits        44663    44678   +15     
+ Misses      18079    18078    -1     
Components Coverage Δ
libdd-crashtracker 59.88% <ø> (-0.02%) :arrow_down:
libdd-crashtracker-ffi 15.31% <ø> (ø)
libdd-alloc 98.73% <ø> (ø)
libdd-data-pipeline 86.00% <ø> (ø)
libdd-data-pipeline-ffi 77.63% <ø> (ø)
libdd-common 80.93% <ø> (ø)
libdd-common-ffi 73.90% <ø> (ø)
libdd-telemetry 60.02% <ø> (ø)
libdd-telemetry-ffi 21.24% <ø> (ø)
libdd-dogstatsd-client 83.75% <ø> (ø)
datadog-ipc 82.61% <ø> (ø)
libdd-profiling 79.75% <ø> (+0.02%) :arrow_up:
libdd-profiling-ffi 62.13% <ø> (ø)
datadog-sidecar 36.98% <ø> (ø)
datdog-sidecar-ffi 16.40% <ø> (ø)
spawn-worker 55.18% <ø> (ø)
libdd-tinybytes 92.44% <ø> (ø)
libdd-trace-normalization 98.24% <ø> (ø)
datadog-trace-obfuscation 94.17% <ø> (ø)
libdd-trace-protobuf 59.65% <ø> (ø)
libdd-trace-utils 90.06% <0.00%> (-0.20%) :arrow_down:
datadog-tracer-flare 62.06% <ø> (ø)
libdd-log 75.57% <ø> (ø)
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Nov 13 '25 19:11 codecov-commenter

Benchmarks

Comparison

Benchmark execution time: 2025-11-24 18:51:23

Comparing candidate commit c5e295a7 in PR branch yiming.luo/trace-stats-proxy with baseline commit 970baa6e in branch main.

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

Candidate

Candidate benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
single_flag_killswitch/rules-based execution_time 189.950ns 192.598ns ± 2.547ns 191.998ns ± 1.465ns 193.512ns 197.452ns 199.982ns 205.309ns 6.93% 1.714 4.081 1.32% 0.180ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
single_flag_killswitch/rules-based execution_time [192.245ns; 192.951ns] or [-0.183%; +0.183%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.934µs 205.454µs ± 0.379µs 205.387µs ± 0.191µs 205.583µs 206.028µs 206.237µs 208.480µs 1.51% 3.510 22.542 0.18% 0.027µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4796614.472op/s 4867281.350op/s ± 8916.516op/s 4868861.813op/s ± 4534.218op/s 4872723.156op/s 4877015.573op/s 4878698.397op/s 4879618.493op/s 0.22% -3.443 21.857 0.18% 630.493op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.172µs 18.272µs ± 0.084µs 18.244µs ± 0.021µs 18.273µs 18.470µs 18.542µs 18.667µs 2.32% 2.064 4.023 0.46% 0.006µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 53571171.327op/s 54730271.577op/s ± 248444.536op/s 54812301.264op/s ± 62418.368op/s 54858978.433op/s 54965644.864op/s 55014039.685op/s 55029028.969op/s 0.40% -2.040 3.894 0.45% 17567.682op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.714µs 10.887µs ± 0.054µs 10.890µs ± 0.034µs 10.922µs 10.975µs 10.997µs 11.028µs 1.26% -0.292 0.294 0.50% 0.004µs 1 200
normalization/normalize_name/normalize_name/good throughput 90679340.547op/s 91856630.788op/s ± 456563.665op/s 91824918.880op/s ± 288572.019op/s 92131608.968op/s 92635076.539op/s 93084344.177op/s 93338083.363op/s 1.65% 0.325 0.328 0.50% 32283.926op/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 [205.402µs; 205.507µs] or [-0.026%; +0.026%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [4866045.607op/s; 4868517.094op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.260µs; 18.283µs] or [-0.064%; +0.064%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [54695839.553op/s; 54764703.600op/s] or [-0.063%; +0.063%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.879µs; 10.894µs] or [-0.069%; +0.069%] None None None
normalization/normalize_name/normalize_name/good throughput [91793355.455op/s; 91919906.121op/s] or [-0.069%; +0.069%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.350µs 2.403µs ± 0.020µs 2.406µs ± 0.016µs 2.417µs 2.434µs 2.440µs 2.445µs 1.64% -0.239 -0.494 0.84% 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.400µs; 2.406µs] or [-0.117%; +0.117%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sql/obfuscate_sql_string execution_time 86.417µs 86.719µs ± 0.208µs 86.702µs ± 0.049µs 86.752µs 86.850µs 86.964µs 89.398µs 3.11% 10.763 136.046 0.24% 0.015µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sql/obfuscate_sql_string execution_time [86.690µs; 86.748µs] or [-0.033%; +0.033%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sdk_test_data/rules-based execution_time 145.115µs 147.065µs ± 1.783µs 146.804µs ± 0.594µs 147.406µs 148.764µs 154.078µs 163.620µs 11.46% 5.508 42.407 1.21% 0.126µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sdk_test_data/rules-based execution_time [146.818µs; 147.312µs] or [-0.168%; +0.168%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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 159.229µs 160.169µs ± 0.379µs 160.152µs ± 0.206µs 160.359µs 160.650µs 160.919µs 163.407µs 2.03% 3.056 25.026 0.24% 0.027µ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 [160.116µs; 160.221µs] or [-0.033%; +0.033%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.165ms 6.424ms ± 0.058ms 6.433ms ± 0.019ms 6.452ms 6.479ms 6.519ms 6.621ms 2.93% -2.026 6.761 0.91% 0.004ms 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.416ms; 6.432ms] or [-0.126%; +0.126%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.604ms 10.641ms ± 0.018ms 10.641ms ± 0.010ms 10.649ms 10.671ms 10.689ms 10.723ms 0.77% 0.776 1.946 0.16% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [10.639ms; 10.644ms] or [-0.023%; +0.023%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.452µs 34.101µs ± 1.205µs 33.553µs ± 0.038µs 33.614µs 36.684µs 36.733µs 37.700µs 12.36% 1.721 1.015 3.52% 0.085µ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.934µs; 34.268µs] or [-0.490%; +0.490%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.997µs 25.908µs ± 9.300µs 18.961µs ± 0.864µs 33.719µs 42.095µs 43.299µs 73.229µs 286.21% 1.369 3.103 35.80% 0.658µ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.619µs; 27.197µs] or [-4.975%; +4.975%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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 534.048µs 534.570µs ± 0.428µs 534.516µs ± 0.151µs 534.695µs 534.923µs 535.189µs 538.613µs 0.77% 6.274 52.621 0.08% 0.030µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1856622.238op/s 1870665.326op/s ± 1489.408op/s 1870849.843op/s ± 529.597op/s 1871353.372op/s 1871922.264op/s 1872258.320op/s 1872490.656op/s 0.09% -6.238 52.179 0.08% 105.317op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 379.901µs 380.854µs ± 0.342µs 380.834µs ± 0.226µs 381.071µs 381.448µs 381.574µs 382.244µs 0.37% 0.427 0.767 0.09% 0.024µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2616129.118op/s 2625677.505op/s ± 2356.481op/s 2625815.373op/s ± 1555.543op/s 2627256.975op/s 2629091.298op/s 2630518.097op/s 2632263.215op/s 0.25% -0.420 0.755 0.09% 166.628op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 194.808µs 195.579µs ± 0.265µs 195.579µs ± 0.182µs 195.761µs 196.002µs 196.113µs 196.227µs 0.33% -0.201 -0.026 0.14% 0.019µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5096149.591op/s 5113034.756op/s ± 6936.936op/s 5113026.135op/s ± 4754.983op/s 5117535.842op/s 5125010.642op/s 5130760.109op/s 5133262.882op/s 0.40% 0.208 -0.020 0.14% 490.515op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 36.963µs 37.145µs ± 0.081µs 37.148µs ± 0.057µs 37.201µs 37.282µs 37.320µs 37.357µs 0.56% 0.102 -0.368 0.22% 0.006µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26768562.567op/s 26921460.754op/s ± 58836.229op/s 26919389.422op/s ± 41138.905op/s 26963119.674op/s 27011742.039op/s 27050155.315op/s 27054419.574op/s 0.50% -0.091 -0.373 0.22% 4160.350op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 44.884µs 45.082µs ± 0.206µs 45.036µs ± 0.137µs 45.233µs 45.380µs 45.455µs 46.643µs 3.57% 2.384 14.373 0.46% 0.015µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21439449.397op/s 22182307.757op/s ± 100544.696op/s 22204220.691op/s ± 67863.506op/s 22266192.455op/s 22276374.439op/s 22278458.111op/s 22279742.466op/s 0.34% -2.244 12.956 0.45% 7109.584op/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.510µs; 534.629µs] or [-0.011%; +0.011%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1870458.908op/s; 1870871.743op/s] or [-0.011%; +0.011%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [380.807µs; 380.902µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2625350.920op/s; 2626004.091op/s] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [195.542µs; 195.616µs] or [-0.019%; +0.019%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5112073.363op/s; 5113996.149op/s] or [-0.019%; +0.019%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [37.134µs; 37.157µs] or [-0.030%; +0.030%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26913306.619op/s; 26929614.889op/s] or [-0.030%; +0.030%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [45.053µs; 45.111µs] or [-0.063%; +0.063%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [22168373.229op/s; 22196242.285op/s] or [-0.063%; +0.063%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching deserializing traces from msgpack to their internal representation execution_time 61.010ms 61.588ms ± 2.088ms 61.272ms ± 0.108ms 61.413ms 61.863ms 76.671ms 80.710ms 31.72% 7.960 62.958 3.38% 0.148ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching deserializing traces from msgpack to their internal representation execution_time [61.299ms; 61.877ms] or [-0.470%; +0.470%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching serializing traces from their internal representation to msgpack execution_time 14.826ms 14.881ms ± 0.034ms 14.877ms ± 0.017ms 14.894ms 14.926ms 15.004ms 15.058ms 1.22% 2.086 6.579 0.23% 0.002ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching serializing traces from their internal representation to msgpack execution_time [14.877ms; 14.886ms] or [-0.032%; +0.032%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.895µs 3.915µs ± 0.003µs 3.914µs ± 0.002µs 3.916µs 3.920µs 3.921µs 3.923µs 0.21% -1.126 10.649 0.07% 0.000µs 1 200
credit_card/is_card_number/ throughput 254928526.722op/s 255436777.754op/s ± 189288.627op/s 255465742.047op/s ± 98289.855op/s 255547972.744op/s 255661383.788op/s 255702347.240op/s 256757185.885op/s 0.51% 1.151 10.835 0.07% 13384.727op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 77.882µs 79.338µs ± 0.584µs 79.325µs ± 0.371µs 79.700µs 80.274µs 80.852µs 80.922µs 2.01% 0.197 0.214 0.73% 0.041µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12357506.185op/s 12604979.993op/s ± 92643.596op/s 12606297.478op/s ± 59026.390op/s 12664942.981op/s 12748037.948op/s 12821005.435op/s 12839962.202op/s 1.85% -0.150 0.193 0.73% 6550.892op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 71.563µs 71.920µs ± 0.266µs 71.846µs ± 0.081µs 71.954µs 72.387µs 72.818µs 73.727µs 2.62% 3.173 14.617 0.37% 0.019µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13563557.279op/s 13904497.133op/s ± 50864.481op/s 13918666.274op/s ± 15726.425op/s 13932893.611op/s 13946261.290op/s 13963043.524op/s 13973780.995op/s 0.40% -3.102 13.974 0.36% 3596.662op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.895µs 3.915µs ± 0.003µs 3.915µs ± 0.001µs 3.916µs 3.919µs 3.922µs 3.932µs 0.44% -0.273 15.600 0.07% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254327956.797op/s 255434718.039op/s ± 190628.233op/s 255458499.999op/s ± 87309.056op/s 255534321.616op/s 255644124.801op/s 255680157.736op/s 256756831.476op/s 0.51% 0.312 15.716 0.07% 13479.452op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 68.264µs 68.560µs ± 0.428µs 68.443µs ± 0.114µs 68.560µs 69.420µs 70.676µs 71.061µs 3.83% 3.275 12.435 0.62% 0.030µs 1 200
credit_card/is_card_number/378282246310005 throughput 14072339.342op/s 14586252.661op/s ± 89219.689op/s 14610622.658op/s ± 24376.210op/s 14634793.123op/s 14644665.646op/s 14648225.165op/s 14649015.606op/s 0.26% -3.207 11.897 0.61% 6308.785op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 45.441µs 45.726µs ± 0.093µs 45.724µs ± 0.064µs 45.789µs 45.873µs 45.945µs 45.989µs 0.58% -0.044 0.218 0.20% 0.007µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21744317.212op/s 21869370.956op/s ± 44484.452op/s 21870217.208op/s ± 30444.348op/s 21900459.367op/s 21934933.920op/s 21970045.220op/s 22006484.980op/s 0.62% 0.057 0.226 0.20% 3145.526op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.545µs 6.621µs ± 0.018µs 6.622µs ± 0.013µs 6.635µs 6.644µs 6.647µs 6.654µs 0.49% -0.888 1.282 0.27% 0.001µs 1 200
credit_card/is_card_number/x371413321323331 throughput 150278049.155op/s 151047053.192op/s ± 405886.241op/s 151015464.216op/s ± 290494.840op/s 151280909.497op/s 151687503.203op/s 152185578.964op/s 152785595.459op/s 1.17% 0.908 1.357 0.27% 28700.491op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.897µs 3.916µs ± 0.003µs 3.916µs ± 0.002µs 3.918µs 3.921µs 3.923µs 3.923µs 0.19% -0.738 4.595 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254906068.860op/s 255377256.378op/s ± 214067.659op/s 255391216.112op/s ± 146652.108op/s 255524217.314op/s 255666825.161op/s 255758583.957op/s 256637829.481op/s 0.49% 0.753 4.688 0.08% 15136.869op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 65.063µs 65.714µs ± 0.083µs 65.715µs ± 0.034µs 65.748µs 65.819µs 65.867µs 65.885µs 0.26% -3.938 28.853 0.13% 0.006µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15177868.248op/s 15217559.759op/s ± 19389.337op/s 15217312.169op/s ± 7951.937op/s 15225513.363op/s 15236116.715op/s 15247750.753op/s 15369610.503op/s 1.00% 3.997 29.386 0.13% 1371.033op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 53.374µs 53.454µs ± 0.040µs 53.447µs ± 0.019µs 53.471µs 53.531µs 53.585µs 53.594µs 0.28% 1.102 1.864 0.07% 0.003µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18658760.645op/s 18707720.181op/s ± 13941.669op/s 18710108.221op/s ± 6790.007op/s 18715694.220op/s 18725996.182op/s 18735286.130op/s 18735861.525op/s 0.14% -1.096 1.849 0.07% 985.825op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.898µs 3.915µs ± 0.003µs 3.915µs ± 0.002µs 3.916µs 3.921µs 3.922µs 3.927µs 0.31% 0.105 6.118 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254672502.529op/s 255431558.832op/s ± 187922.944op/s 255454884.482op/s ± 98192.966op/s 255543206.415op/s 255642213.328op/s 255690093.997op/s 256510768.581op/s 0.41% -0.087 6.183 0.07% 13288.159op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 50.148µs 50.217µs ± 0.033µs 50.212µs ± 0.019µs 50.234µs 50.274µs 50.301µs 50.349µs 0.27% 0.648 0.810 0.07% 0.002µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 19861225.644op/s 19913603.352op/s ± 13047.587op/s 19915714.704op/s ± 7533.969op/s 19922109.036op/s 19933476.408op/s 19939491.221op/s 19940958.809op/s 0.13% -0.643 0.799 0.07% 922.604op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 45.412µs 45.703µs ± 0.095µs 45.705µs ± 0.065µs 45.771µs 45.852µs 45.883µs 45.891µs 0.41% -0.223 -0.275 0.21% 0.007µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 21790938.532op/s 21880318.556op/s ± 45566.158op/s 21879646.459op/s ± 31295.867op/s 21910608.021op/s 21954783.885op/s 21983327.722op/s 22020462.943op/s 0.64% 0.233 -0.262 0.21% 3222.014op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.547µs 6.617µs ± 0.020µs 6.619µs ± 0.015µs 6.633µs 6.639µs 6.646µs 6.648µs 0.43% -0.885 0.577 0.30% 0.001µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 150430128.687op/s 151130975.682op/s ± 449059.392op/s 151080608.591op/s ± 333911.454op/s 151428240.854op/s 151941565.244op/s 152453833.071op/s 152730065.065op/s 1.09% 0.901 0.628 0.30% 31753.294op/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.914µs; 3.915µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ throughput [255410544.171op/s; 255463011.338op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [79.257µs; 79.419µs] or [-0.102%; +0.102%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12592140.481op/s; 12617819.504op/s] or [-0.102%; +0.102%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [71.883µs; 71.957µs] or [-0.051%; +0.051%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13897447.805op/s; 13911546.461op/s] or [-0.051%; +0.051%] None None None
credit_card/is_card_number/37828224631 execution_time [3.914µs; 3.915µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/37828224631 throughput [255408298.800op/s; 255461137.279op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/378282246310005 execution_time [68.501µs; 68.620µs] or [-0.086%; +0.086%] None None None
credit_card/is_card_number/378282246310005 throughput [14573887.670op/s; 14598617.652op/s] or [-0.085%; +0.085%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.713µs; 45.739µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [21863205.838op/s; 21875536.073op/s] or [-0.028%; +0.028%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.618µs; 6.623µs] or [-0.037%; +0.037%] None None None
credit_card/is_card_number/x371413321323331 throughput [150990801.263op/s; 151103305.122op/s] or [-0.037%; +0.037%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.915µs; 3.916µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number_no_luhn/ throughput [255347588.659op/s; 255406924.097op/s] or [-0.012%; +0.012%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [65.702µs; 65.725µs] or [-0.018%; +0.018%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15214872.583op/s; 15220246.934op/s] or [-0.018%; +0.018%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.448µs; 53.459µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18705788.000op/s; 18709652.363op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.915µs; 3.915µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255405514.520op/s; 255457603.145op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [50.212µs; 50.222µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [19911795.082op/s; 19915411.622op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.690µs; 45.717µs] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [21874003.525op/s; 21886633.587op/s] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.614µs; 6.620µs] or [-0.041%; +0.041%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [151068740.369op/s; 151193210.995op/s] or [-0.041%; +0.041%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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 242.897ns 253.922ns ± 13.874ns 246.929ns ± 2.980ns 255.851ns 284.754ns 291.632ns 292.640ns 18.51% 1.460 0.761 5.45% 0.981ns 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 [251.999ns; 255.845ns] or [-0.757%; +0.757%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.216µs 3.238µs ± 1.444µs 3.038µs ± 0.029µs 3.065µs 3.699µs 14.101µs 15.086µs 396.59% 7.415 55.890 44.47% 0.102µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [3.038µs; 3.438µs] or [-6.179%; +6.179%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz c5e295a7 1764009407 yiming.luo/trace-stats-proxy
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.994µs 5.090µs ± 0.049µs 5.116µs ± 0.031µs 5.136µs 5.148µs 5.150µs 5.151µs 0.69% -0.331 -1.540 0.97% 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.083µs; 5.097µs] or [-0.135%; +0.135%] None None None

Baseline

Omitted due to size.

pr-commenter[bot] avatar Nov 24 '25 18:11 pr-commenter[bot]

/merge

lym953 avatar Nov 24 '25 20:11 lym953

View all feedbacks in Devflow UI.

2025-11-24 20:37:40 UTC :information_source: Start processing command /merge


2025-11-24 20:37:46 UTC :information_source: MergeQueue: pull request added to the queue

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


2025-11-24 21:01:17 UTC :information_source: MergeQueue: This merge request was merged