Skip to content

fix(ddcommon): fix build on i686 #1144

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VianneyRuhlmann
Copy link
Contributor

@VianneyRuhlmann VianneyRuhlmann commented Jul 15, 2025

What does this PR do?

Build is broken on i686 due to c_long (return value fromsyscall) being an i32 instead of a i64 see this job

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.

@VianneyRuhlmann VianneyRuhlmann marked this pull request as ready for review July 15, 2025 12:38
@VianneyRuhlmann VianneyRuhlmann requested a review from a team as a code owner July 15, 2025 12:38
@ekump
Copy link
Contributor

ekump commented Jul 15, 2025

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 70.23 MB 70.23 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 9.24 MB 9.24 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so.debug 22.10 MB 22.10 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so.debug 26.16 MB 26.16 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.09 MB 9.09 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 82.45 MB 82.45 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 18.37 MB 18.37 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 64.65 KB 64.65 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 124.80 MB 124.82 MB +.01% (+24.00 KB) 🔍
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 644.68 MB 644.68 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 5.87 MB 5.87 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 64.65 KB 64.65 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 17.33 MB 17.33 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 32.14 MB 32.14 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 15.66 MB 15.66 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 65.65 KB 65.65 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 127.13 MB 127.15 MB +.01% (+16.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 634.31 MB 634.31 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 4.47 MB 4.47 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 65.65 KB 65.65 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 18.47 MB 18.47 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 30.18 MB 30.18 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 62.96 MB 62.96 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.83 MB 9.83 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so.debug 20.95 MB 20.95 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 77.43 MB 77.43 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.74 MB 9.74 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so.debug 24.08 MB 24.08 MB 0% (0 B) 👌

@codecov-commenter
Copy link

codecov-commenter commented Jul 15, 2025

Codecov Report

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

Project coverage is 71.51%. Comparing base (ca19adc) to head (7aac992).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1144      +/-   ##
==========================================
+ Coverage   71.30%   71.51%   +0.21%     
==========================================
  Files         343      343              
  Lines       52471    52848     +377     
==========================================
+ Hits        37412    37792     +380     
+ Misses      15059    15056       -3     
Components Coverage Δ
datadog-crashtracker 43.94% <ø> (ø)
datadog-crashtracker-ffi 5.93% <ø> (ø)
datadog-alloc 98.73% <ø> (ø)
data-pipeline 89.85% <ø> (+0.62%) ⬆️
data-pipeline-ffi 88.83% <ø> (+1.21%) ⬆️
ddcommon 82.88% <0.00%> (ø)
ddcommon-ffi 69.66% <ø> (ø)
ddtelemetry 60.08% <ø> (ø)
ddtelemetry-ffi 21.32% <ø> (ø)
dogstatsd-client 83.26% <ø> (ø)
datadog-ipc 82.58% <ø> (ø)
datadog-profiling 77.13% <ø> (ø)
datadog-profiling-ffi 62.12% <ø> (ø)
datadog-sidecar 40.28% <ø> (ø)
datdog-sidecar-ffi 5.17% <ø> (ø)
spawn-worker 55.35% <ø> (ø)
tinybytes 90.96% <ø> (ø)
datadog-trace-normalization 98.24% <ø> (ø)
datadog-trace-obfuscation 94.17% <ø> (ø)
datadog-trace-protobuf 77.10% <ø> (ø)
datadog-trace-utils 89.17% <ø> (ø)
datadog-tracer-flare 78.54% <ø> (ø)
datadog-log 76.31% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -64,9 +64,9 @@ pub fn alt_fork() -> libc::pid_t {
};

// The max value of a PID is configurable, but within an i32, so the failover
if res > pid_t::MAX as i64 {
if (res as i64) > (pid_t::MAX as i64) {
Copy link
Contributor

@hoolioh hoolioh Jul 15, 2025

Choose a reason for hiding this comment

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

Nit: probably it would be better to use res as a c_long since the syscall is supposed to return that exact type and then cast pid_t to c_long just to cover the case the where the platform is 64bit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure it's an issue as we don't support bsd but syscall doesn't always return a c_long 😩

Copy link
Contributor

Choose a reason for hiding this comment

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

I saw that but decided to ignore since, as you said, I don't think we will target bsd. Anyway I'll let you decide what's the cleanest way to do it.

@VianneyRuhlmann VianneyRuhlmann force-pushed the vianney/fix-i686-build branch from fbe5ccd to 7aac992 Compare July 16, 2025 12:19
@pr-commenter
Copy link

pr-commenter bot commented Jul 16, 2025

Benchmarks

Comparison

Benchmark execution time: 2025-07-16 12:32:49

Comparing candidate commit 7aac992 in PR branch vianney/fix-i686-build with baseline commit 034bb32 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 7aac992 1752581164 vianney/fix-i686-build
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 34.250µs 34.646µs ± 0.643µs 34.370µs ± 0.062µs 34.452µs 35.899µs 35.955µs 38.639µs 12.42% 2.341 6.886 1.85% 0.045µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
redis/obfuscate_redis_string execution_time [34.557µs; 34.735µs] or [-0.257%; +0.257%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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.385µs 86.715µs ± 0.391µs 86.678µs ± 0.058µs 86.736µs 86.795µs 86.973µs 90.905µs 4.88% 9.369 90.927 0.45% 0.028µ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.661µs; 86.769µs] or [-0.063%; +0.063%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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.354µs 2.422µs ± 0.022µs 2.421µs ± 0.005µs 2.426µs 2.473µs 2.477µs 2.488µs 2.75% -0.209 3.519 0.89% 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.419µs; 2.425µs] or [-0.123%; +0.123%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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.052ms 72.540ms ± 0.221ms 72.556ms ± 0.080ms 72.636ms 72.855ms 73.085ms 73.421ms 1.19% 0.002 1.000 0.30% 0.016ms 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.510ms; 72.571ms] or [-0.042%; +0.042%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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.030µs 5.099µs ± 0.041µs 5.078µs ± 0.030µs 5.138µs 5.159µs 5.160µs 5.161µs 1.64% 0.178 -1.609 0.79% 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.093µs; 5.105µs] or [-0.110%; +0.110%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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 535.057µs 536.084µs ± 0.601µs 536.037µs ± 0.359µs 536.390µs 536.864µs 537.255µs 541.283µs 0.98% 3.335 26.469 0.11% 0.042µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1847462.619op/s 1865381.872op/s ± 2082.034op/s 1865542.352op/s ± 1251.476op/s 1866793.572op/s 1868043.198op/s 1868533.696op/s 1868960.783op/s 0.18% -3.278 25.827 0.11% 147.222op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 383.165µs 384.063µs ± 0.405µs 384.009µs ± 0.290µs 384.327µs 384.762µs 385.100µs 385.193µs 0.31% 0.273 -0.385 0.11% 0.029µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2596103.226op/s 2603743.277op/s ± 2745.455op/s 2604105.191op/s ± 1962.168op/s 2605495.522op/s 2607826.112op/s 2609020.572op/s 2609839.936op/s 0.22% -0.268 -0.389 0.11% 194.133op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 195.358µs 195.803µs ± 0.364µs 195.788µs ± 0.142µs 195.909µs 196.116µs 196.358µs 200.102µs 2.20% 8.305 95.543 0.19% 0.026µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 4997453.861op/s 5107183.841op/s ± 9349.976op/s 5107554.289op/s ± 3693.679op/s 5111775.861op/s 5115385.119op/s 5117540.799op/s 5118806.179op/s 0.22% -8.147 93.063 0.18% 661.143op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 38.069µs 38.154µs ± 0.041µs 38.152µs ± 0.029µs 38.182µs 38.228µs 38.257µs 38.301µs 0.39% 0.448 0.367 0.11% 0.003µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26109262.914op/s 26209363.704op/s ± 28448.557op/s 26210741.228op/s ± 19747.796op/s 26230145.010op/s 26255100.053op/s 26263732.446op/s 26267964.825op/s 0.22% -0.441 0.354 0.11% 2011.617op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 45.866µs 46.026µs ± 0.174µs 46.009µs ± 0.040µs 46.046µs 46.117µs 46.191µs 47.945µs 4.21% 8.838 87.405 0.38% 0.012µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 20857394.224op/s 21727025.041op/s ± 79512.805op/s 21734815.139op/s ± 18991.733op/s 21754044.835op/s 21774637.345op/s 21783906.045op/s 21802490.772op/s 0.31% -8.711 85.403 0.37% 5622.404op/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 [536.001µs; 536.167µs] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1865093.322op/s; 1865670.421op/s] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [384.007µs; 384.119µs] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2603362.783op/s; 2604123.770op/s] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [195.753µs; 195.854µs] or [-0.026%; +0.026%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5105888.024op/s; 5108479.658op/s] or [-0.025%; +0.025%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [38.149µs; 38.160µs] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26205421.007op/s; 26213306.400op/s] or [-0.015%; +0.015%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.002µs; 46.050µs] or [-0.052%; +0.052%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21716005.331op/s; 21738044.751op/s] or [-0.051%; +0.051%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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.002µs 3.913µs 3.917µs 3.919µs 3.919µs 0.20% -0.992 8.828 0.07% 0.000µs 1 200
credit_card/is_card_number/ throughput 255145797.813op/s 255622414.620op/s ± 180414.256op/s 255644499.579op/s ± 109592.413op/s 255741967.257op/s 255846379.949op/s 255907322.060op/s 256829149.355op/s 0.46% 1.013 8.972 0.07% 12757.214op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 79.696µs 81.068µs ± 0.489µs 81.063µs ± 0.320µs 81.355µs 81.979µs 82.129µs 82.422µs 1.68% 0.214 -0.125 0.60% 0.035µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12132702.015op/s 12335825.717op/s ± 74373.159op/s 12336070.175op/s ± 48935.299op/s 12385947.878op/s 12452911.373op/s 12474638.868op/s 12547744.674op/s 1.72% -0.181 -0.130 0.60% 5258.976op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 75.182µs 75.696µs ± 0.161µs 75.656µs ± 0.076µs 75.779µs 76.002µs 76.127µs 76.388µs 0.97% 0.962 2.450 0.21% 0.011µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13091036.941op/s 13210845.266op/s ± 28123.239op/s 13217797.854op/s ± 13368.327op/s 13228519.036op/s 13241101.929op/s 13273495.352op/s 13300992.254op/s 0.63% -0.940 2.403 0.21% 1988.613op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.894µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.917µs 3.920µs 3.921µs 0.22% -0.730 6.440 0.08% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 255040670.306op/s 255600769.107op/s ± 197798.360op/s 255603425.086op/s ± 116184.379op/s 255729514.213op/s 255869605.973op/s 255915512.117op/s 256827842.550op/s 0.48% 0.748 6.549 0.08% 13986.456op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 72.486µs 72.832µs ± 0.090µs 72.823µs ± 0.044µs 72.871µs 72.992µs 73.056µs 73.260µs 0.60% 0.819 3.910 0.12% 0.006µs 1 200
credit_card/is_card_number/378282246310005 throughput 13649990.697op/s 13730163.104op/s ± 16896.407op/s 13732016.904op/s ± 8377.976op/s 13739522.401op/s 13753259.959op/s 13769772.574op/s 13795799.179op/s 0.46% -0.800 3.875 0.12% 1194.756op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 52.662µs 52.820µs ± 0.066µs 52.814µs ± 0.041µs 52.861µs 52.939µs 52.994µs 53.001µs 0.35% 0.277 0.115 0.13% 0.005µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 18867692.195op/s 18932280.345op/s ± 23729.230op/s 18934396.104op/s ± 14616.076op/s 18947300.925op/s 18971879.027op/s 18977136.035op/s 18988923.761op/s 0.29% -0.269 0.108 0.13% 1677.910op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.427µs 6.437µs ± 0.005µs 6.437µs ± 0.004µs 6.441µs 6.446µs 6.453µs 6.454µs 0.27% 0.503 0.091 0.08% 0.000µs 1 200
credit_card/is_card_number/x371413321323331 throughput 154943737.177op/s 155350062.944op/s ± 126709.874op/s 155355956.586op/s ± 96944.036op/s 155452045.345op/s 155531146.198op/s 155574195.187op/s 155595240.908op/s 0.15% -0.498 0.082 0.08% 8959.741op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.894µs 3.913µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.918µs 3.921µs 3.926µs 0.33% -0.429 8.169 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254742435.067op/s 255573528.745op/s ± 197842.820op/s 255594645.294op/s ± 103284.114op/s 255675328.401op/s 255827573.980op/s 255891708.103op/s 256815404.584op/s 0.48% 0.453 8.274 0.08% 13989.600op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 64.929µs 65.088µs ± 0.084µs 65.068µs ± 0.049µs 65.132µs 65.246µs 65.363µs 65.415µs 0.53% 1.250 2.070 0.13% 0.006µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15286918.081op/s 15363911.223op/s ± 19807.954op/s 15368500.727op/s ± 11583.961op/s 15377631.313op/s 15387280.874op/s 15393936.837op/s 15401336.836op/s 0.21% -1.240 2.036 0.13% 1400.634op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 58.161µs 58.340µs ± 0.122µs 58.311µs ± 0.059µs 58.382µs 58.619µs 58.740µs 58.968µs 1.13% 1.760 4.339 0.21% 0.009µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 16958443.925op/s 17141037.566op/s ± 35576.258op/s 17149395.564op/s ± 17268.561op/s 17163675.227op/s 17179954.777op/s 17188250.696op/s 17193657.260op/s 0.26% -1.740 4.228 0.21% 2515.621op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.892µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.917µs 3.919µs 3.927µs 0.39% -0.528 10.229 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254617823.327op/s 255600821.002op/s ± 201687.460op/s 255612158.895op/s ± 100114.505op/s 255712414.838op/s 255847145.383op/s 255922976.990op/s 256918487.310op/s 0.51% 0.556 10.345 0.08% 14261.457op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 55.192µs 55.464µs ± 0.162µs 55.426µs ± 0.095µs 55.552µs 55.757µs 55.885µs 56.018µs 1.07% 0.831 0.361 0.29% 0.011µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 17851408.427op/s 18029712.360op/s ± 52385.444op/s 18041936.538op/s ± 30888.262op/s 18064886.834op/s 18100679.054op/s 18115555.303op/s 18118502.615op/s 0.42% -0.817 0.329 0.29% 3704.210op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 52.722µs 52.866µs ± 0.063µs 52.862µs ± 0.043µs 52.906µs 52.969µs 53.020µs 53.034µs 0.33% 0.280 -0.226 0.12% 0.004µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 18855858.277op/s 18915740.748op/s ± 22570.263op/s 18917249.330op/s ± 15273.016op/s 18932189.159op/s 18951070.044op/s 18963951.770op/s 18967582.505op/s 0.27% -0.274 -0.231 0.12% 1595.959op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.426µs 6.436µs ± 0.005µs 6.436µs ± 0.003µs 6.439µs 6.445µs 6.447µs 6.456µs 0.31% 0.661 0.576 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 154898546.934op/s 155372339.787op/s ± 121329.247op/s 155382962.259op/s ± 84379.167op/s 155473628.424op/s 155534682.150op/s 155590682.165op/s 155613486.142op/s 0.15% -0.656 0.561 0.08% 8579.273op/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.912µs; 3.912µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ throughput [255597410.939op/s; 255647418.301op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [81.000µs; 81.135µs] or [-0.084%; +0.084%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12325518.312op/s; 12346133.121op/s] or [-0.084%; +0.084%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [75.673µs; 75.718µs] or [-0.030%; +0.030%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13206947.656op/s; 13214742.877op/s] or [-0.030%; +0.030%] 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 [255573356.157op/s; 255628182.057op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/378282246310005 execution_time [72.820µs; 72.845µs] or [-0.017%; +0.017%] None None None
credit_card/is_card_number/378282246310005 throughput [13727821.425op/s; 13732504.784op/s] or [-0.017%; +0.017%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [52.811µs; 52.829µs] or [-0.017%; +0.017%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [18928991.702op/s; 18935568.988op/s] or [-0.017%; +0.017%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.436µs; 6.438µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/x371413321323331 throughput [155332502.174op/s; 155367623.714op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.912µs; 3.913µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ throughput [255546109.633op/s; 255600947.857op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [65.076µs; 65.099µs] or [-0.018%; +0.018%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15361166.032op/s; 15366656.415op/s] or [-0.018%; +0.018%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [58.323µs; 58.357µs] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [17136107.038op/s; 17145968.093op/s] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.912µs; 3.913µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255572869.059op/s; 255628772.944op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [55.442µs; 55.487µs] or [-0.040%; +0.040%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [18022452.241op/s; 18036972.479op/s] or [-0.040%; +0.040%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [52.857µs; 52.875µs] or [-0.017%; +0.017%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [18912612.727op/s; 18918868.770op/s] or [-0.017%; +0.017%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.435µs; 6.437µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [155355524.720op/s; 155389154.854op/s] or [-0.011%; +0.011%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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.543ns 255.199ns ± 14.847ns 247.521ns ± 3.294ns 260.665ns 285.570ns 293.216ns 302.469ns 22.20% 1.319 0.344 5.80% 1.050ns 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 [253.141ns; 257.257ns] or [-0.806%; +0.806%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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 206.040µs 206.503µs ± 0.483µs 206.448µs ± 0.136µs 206.583µs 206.888µs 207.409µs 211.058µs 2.23% 7.029 60.153 0.23% 0.034µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4738040.769op/s 4842561.708op/s ± 11152.445op/s 4843829.377op/s ± 3193.130op/s 4847022.088op/s 4851550.107op/s 4853110.664op/s 4853437.342op/s 0.20% -6.940 59.070 0.23% 788.597op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.193µs 18.321µs ± 0.112µs 18.296µs ± 0.060µs 18.366µs 18.538µs 18.663µs 18.776µs 2.62% 1.227 1.309 0.61% 0.008µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 53259670.882op/s 54584471.182op/s ± 330023.536op/s 54656667.727op/s ± 181119.584op/s 54826638.994op/s 54956973.540op/s 54962605.268op/s 54967338.315op/s 0.57% -1.195 1.184 0.60% 23336.188op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.655µs 10.834µs ± 0.081µs 10.831µs ± 0.067µs 10.899µs 10.966µs 10.984µs 11.027µs 1.81% 0.111 -0.847 0.74% 0.006µs 1 200
normalization/normalize_name/normalize_name/good throughput 90683054.290op/s 92306915.309op/s ± 687623.528op/s 92326719.512op/s ± 568590.948op/s 92872788.624op/s 93297159.669op/s 93686826.484op/s 93852992.746op/s 1.65% -0.085 -0.854 0.74% 48622.326op/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 [206.436µs; 206.570µs] or [-0.032%; +0.032%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [4841016.087op/s; 4844107.330op/s] or [-0.032%; +0.032%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.305µs; 18.336µs] or [-0.084%; +0.084%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [54538733.094op/s; 54630209.270op/s] or [-0.084%; +0.084%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.823µs; 10.845µs] or [-0.103%; +0.103%] None None None
normalization/normalize_name/normalize_name/good throughput [92211617.301op/s; 92402213.317op/s] or [-0.103%; +0.103%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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.913µs 23.857µs ± 9.414µs 18.605µs ± 0.064µs 28.996µs 45.022µs 45.625µs 61.480µs 230.45% 1.575 1.390 39.36% 0.666µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [22.553µs; 25.162µs] or [-5.469%; +5.469%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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 152.024µs 152.741µs ± 0.654µs 152.673µs ± 0.147µs 152.834µs 153.072µs 153.534µs 161.167µs 5.56% 10.851 136.248 0.43% 0.046µ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 [152.651µs; 152.832µs] or [-0.059%; +0.059%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
concentrator/add_spans_to_concentrator execution_time 8.264ms 8.281ms ± 0.011ms 8.280ms ± 0.006ms 8.286ms 8.297ms 8.322ms 8.342ms 0.75% 2.282 9.209 0.13% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [8.280ms; 8.283ms] or [-0.018%; +0.018%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 7aac992 1752581164 vianney/fix-i686-build
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.190µs 3.259µs ± 1.444µs 3.011µs ± 0.029µs 3.048µs 3.668µs 14.240µs 14.941µs 396.24% 7.236 53.905 44.20% 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.059µs; 3.459µs] or [-6.141%; +6.141%] None None None

Baseline

Omitted due to size.

@VianneyRuhlmann
Copy link
Contributor Author

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Jul 16, 2025

View all feedbacks in Devflow UI.

2025-07-16 13:01:48 UTC ℹ️ Start processing command /merge
Use /merge -c to cancel this operation!


2025-07-16 13:01:55 UTC ℹ️ MergeQueue: pull request added to the queue

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

Use /merge -c to cancel this operation!


⏳ Processing

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