Skip to content

Conversation

@morrisonlevi
Copy link
Contributor

What does this PR do?

Gracefully avoids some out-of-memory edges that can happen in ProfileExporter::build.

Motivation

I got a crash report in the PHP profiler which OOM'd here trying to push_str.

Technically, this is a slight optimization as well but this will definitely be inconsequential.

Additional Notes

This doesn't fix all OOMs or even anything remotely close to it. It just moves the needle a teensy bit and was not difficult to do.

Also note that try_reserve doesn't mess up allocation amortization, we'd have to use try_reserve_exact for that. We do use try_reserve_exact for the last tag, though, as a slight optimization.

How to test the change?

Regular tests apply.

@morrisonlevi morrisonlevi force-pushed the levi/profile-exporter-build-memory branch from 7ef581d to b79ab50 Compare January 9, 2026 18:51
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2026

Codecov Report

❌ Patch coverage is 73.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.31%. Comparing base (14bab86) to head (936a69b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1436      +/-   ##
==========================================
+ Coverage   71.29%   71.31%   +0.01%     
==========================================
  Files         413      413              
  Lines       66142    66148       +6     
==========================================
+ Hits        47158    47174      +16     
+ Misses      18984    18974      -10     
Components Coverage Δ
libdd-crashtracker 58.64% <ø> (-0.02%) ⬇️
libdd-crashtracker-ffi 14.37% <ø> (ø)
libdd-alloc 98.73% <ø> (ø)
libdd-data-pipeline 86.17% <ø> (ø)
libdd-data-pipeline-ffi 77.01% <ø> (ø)
libdd-common 81.11% <ø> (ø)
libdd-common-ffi 74.19% <ø> (ø)
libdd-telemetry 59.95% <ø> (+0.03%) ⬆️
libdd-telemetry-ffi 21.17% <ø> (ø)
libdd-dogstatsd-client 83.75% <ø> (ø)
datadog-ipc 82.61% <ø> (ø)
libdd-profiling 81.04% <73.33%> (+<0.01%) ⬆️
libdd-profiling-ffi 62.43% <ø> (ø)
datadog-sidecar 35.99% <ø> (ø)
datdog-sidecar-ffi 11.46% <ø> (ø)
spawn-worker 55.18% <ø> (ø)
libdd-tinybytes 92.44% <ø> (ø)
libdd-trace-normalization 82.33% <ø> (ø)
libdd-trace-obfuscation 94.17% <ø> (ø)
libdd-trace-protobuf 61.18% <ø> (ø)
libdd-trace-utils 89.91% <ø> (+0.16%) ⬆️
datadog-tracer-flare 61.06% <ø> (ø)
libdd-log 75.57% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter
Copy link

pr-commenter bot commented Jan 9, 2026

Benchmarks

Comparison

Benchmark execution time: 2026-01-09 20:41:57

Comparing candidate commit 936a69b in PR branch levi/profile-exporter-build-memory with baseline commit 14bab86 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 57 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 936a69b 1767990327 levi/profile-exporter-build-memory
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.243µs 34.640µs ± 0.634µs 34.368µs ± 0.046µs 34.424µs 35.930µs 36.013µs 38.022µs 10.63% 2.066 3.932 1.82% 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.552µs; 34.728µs] or [-0.254%; +0.254%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.911µs ± 0.003µs 3.911µs ± 0.002µs 3.913µs 3.916µs 3.918µs 3.919µs 0.19% -1.350 11.973 0.07% 0.000µs 1 200
credit_card/is_card_number/ throughput 255178338.922op/s 255659020.247op/s ± 177518.013op/s 255669843.795op/s ± 98280.890op/s 255762821.751op/s 255869105.171op/s 255963019.944op/s 256928322.926op/s 0.49% 1.376 12.164 0.07% 12552.419op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 79.810µs 81.976µs ± 0.629µs 81.996µs ± 0.424µs 82.447µs 82.872µs 83.194µs 83.335µs 1.63% -0.579 0.555 0.77% 0.044µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 11999826.734op/s 12199480.273op/s ± 94037.982op/s 12195683.686op/s ± 63407.729op/s 12253953.640op/s 12347967.274op/s 12495949.004op/s 12529836.035op/s 2.74% 0.630 0.672 0.77% 6649.490op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 74.589µs 74.944µs ± 0.142µs 74.936µs ± 0.086µs 75.028µs 75.196µs 75.291µs 75.433µs 0.66% 0.348 0.532 0.19% 0.010µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13256752.832op/s 13343305.879op/s ± 25284.859op/s 13344731.460op/s ± 15312.751op/s 13359465.047op/s 13383499.083op/s 13397465.712op/s 13406854.925op/s 0.47% -0.334 0.516 0.19% 1787.910op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.893µs 3.911µs ± 0.003µs 3.911µs ± 0.002µs 3.913µs 3.915µs 3.916µs 3.921µs 0.26% -1.283 10.505 0.07% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 255018157.951op/s 255671836.526op/s ± 176110.011op/s 255680657.761op/s ± 112169.462op/s 255779042.120op/s 255906546.177op/s 255955178.113op/s 256890430.254op/s 0.47% 1.306 10.660 0.07% 12452.858op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 71.435µs 72.023µs ± 0.170µs 72.015µs ± 0.098µs 72.115µs 72.320µs 72.454µs 72.565µs 0.76% 0.053 1.000 0.24% 0.012µs 1 200
credit_card/is_card_number/378282246310005 throughput 13780675.884op/s 13884611.294op/s ± 32752.637op/s 13886068.802op/s ± 18984.471op/s 13903950.463op/s 13935053.768op/s 13981032.203op/s 13998727.425op/s 0.81% -0.032 1.012 0.24% 2315.961op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 52.115µs 52.210µs ± 0.037µs 52.210µs ± 0.025µs 52.232µs 52.274µs 52.297µs 52.409µs 0.38% 0.839 3.339 0.07% 0.003µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 19080555.721op/s 19153292.132op/s ± 13679.559op/s 19153453.278op/s ± 9113.116op/s 19163424.688op/s 19172699.801op/s 19181177.576op/s 19188157.069op/s 0.18% -0.829 3.291 0.07% 967.291op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 5.698µs 5.874µs ± 0.056µs 5.868µs ± 0.036µs 5.905µs 5.974µs 5.994µs 6.010µs 2.41% 0.072 -0.076 0.96% 0.004µs 1 200
credit_card/is_card_number/x371413321323331 throughput 166396712.471op/s 170256459.168op/s ± 1631111.452op/s 170404745.384op/s ± 1031206.668op/s 171347899.108op/s 172839175.723op/s 173539452.787op/s 175498762.321op/s 2.99% -0.016 -0.049 0.96% 115336.997op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.898µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.916µs 3.919µs 3.921µs 0.24% 0.005 3.079 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 255030669.533op/s 255634674.157op/s ± 179860.880op/s 255647831.710op/s ± 114960.062op/s 255751072.164op/s 255873567.226op/s 255926026.827op/s 256545704.430op/s 0.35% 0.006 3.110 0.07% 12718.085op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 64.109µs 64.279µs ± 0.096µs 64.270µs ± 0.048µs 64.310µs 64.413µs 64.647µs 64.784µs 0.80% 2.064 7.125 0.15% 0.007µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15435849.007op/s 15557209.854op/s ± 23196.302op/s 15559432.674op/s ± 11664.094op/s 15573326.007op/s 15583085.422op/s 15594714.770op/s 15598329.419op/s 0.25% -2.042 7.007 0.15% 1640.226op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 57.235µs 57.511µs ± 0.110µs 57.494µs ± 0.045µs 57.556µs 57.691µs 57.894µs 58.160µs 1.16% 1.621 6.783 0.19% 0.008µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 17193864.478op/s 17388127.071op/s ± 33105.966op/s 17393037.567op/s ± 13691.004op/s 17403605.592op/s 17437347.049op/s 17451227.138op/s 17471838.960op/s 0.45% -1.586 6.587 0.19% 2340.945op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.894µs 3.912µs ± 0.003µs 3.911µs ± 0.002µs 3.913µs 3.915µs 3.916µs 3.918µs 0.16% -1.471 10.047 0.06% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 255243649.878op/s 255652953.562op/s ± 166336.338op/s 255658877.270op/s ± 108088.811op/s 255750868.848op/s 255874287.495op/s 255949656.366op/s 256808204.445op/s 0.45% 1.490 10.200 0.06% 11761.755op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 54.603µs 54.866µs ± 0.195µs 54.816µs ± 0.116µs 54.967µs 55.245µs 55.473µs 55.603µs 1.44% 1.126 1.078 0.36% 0.014µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 17984506.790op/s 18226524.304op/s ± 64617.042op/s 18242771.514op/s ± 38584.258op/s 18274750.240op/s 18300900.223op/s 18310642.294op/s 18313964.398op/s 0.39% -1.106 1.011 0.35% 4569.115op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 52.134µs 52.214µs ± 0.040µs 52.208µs ± 0.029µs 52.245µs 52.277µs 52.299µs 52.361µs 0.29% 0.370 -0.150 0.08% 0.003µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 19098299.645op/s 19151921.335op/s ± 14710.023op/s 19154045.614op/s ± 10791.374op/s 19162781.567op/s 19173398.827op/s 19179284.474op/s 19181426.625op/s 0.14% -0.366 -0.158 0.08% 1040.156op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 5.736µs 5.907µs ± 0.056µs 5.908µs ± 0.043µs 5.949µs 5.996µs 6.018µs 6.040µs 2.23% -0.184 -0.206 0.94% 0.004µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 165557883.016op/s 169296106.344op/s ± 1594131.536op/s 169249941.280op/s ± 1231741.662op/s 170523602.613op/s 171936303.151op/s 173043531.512op/s 174330247.753op/s 3.00% 0.234 -0.161 0.94% 112722.122op/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 [255634417.958op/s; 255683622.536op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [81.888µs; 82.063µs] or [-0.106%; +0.106%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12186447.514op/s; 12212513.033op/s] or [-0.107%; +0.107%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [74.925µs; 74.964µs] or [-0.026%; +0.026%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13339801.641op/s; 13346810.118op/s] or [-0.026%; +0.026%] None None None
credit_card/is_card_number/37828224631 execution_time [3.911µs; 3.912µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/37828224631 throughput [255647429.372op/s; 255696243.679op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/378282246310005 execution_time [71.999µs; 72.046µs] or [-0.033%; +0.033%] None None None
credit_card/is_card_number/378282246310005 throughput [13880072.094op/s; 13889150.495op/s] or [-0.033%; +0.033%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [52.205µs; 52.216µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [19151396.277op/s; 19155187.988op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/x371413321323331 execution_time [5.866µs; 5.882µs] or [-0.133%; +0.133%] None None None
credit_card/is_card_number/x371413321323331 throughput [170030402.808op/s; 170482515.528op/s] or [-0.133%; +0.133%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.911µs; 3.912µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ throughput [255609747.169op/s; 255659601.145op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [64.266µs; 64.292µs] or [-0.021%; +0.021%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15553995.070op/s; 15560424.639op/s] or [-0.021%; +0.021%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [57.495µs; 57.526µs] or [-0.026%; +0.026%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [17383538.902op/s; 17392715.239op/s] or [-0.026%; +0.026%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.911µs; 3.912µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255629900.946op/s; 255676006.179op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [54.839µs; 54.893µs] or [-0.049%; +0.049%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [18217569.004op/s; 18235479.605op/s] or [-0.049%; +0.049%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [52.209µs; 52.220µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [19149882.667op/s; 19153960.003op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [5.900µs; 5.915µs] or [-0.130%; +0.130%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [169075175.044op/s; 169517037.643op/s] or [-0.130%; +0.130%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profile_add_sample_frames_x1000 execution_time 3.970ms 3.978ms ± 0.007ms 3.977ms ± 0.002ms 3.979ms 3.982ms 3.985ms 4.066ms 2.24% 10.743 135.382 0.17% 0.000ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profile_add_sample_frames_x1000 execution_time [3.977ms; 3.979ms] or [-0.024%; +0.024%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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 187.173ns 190.448ns ± 1.967ns 190.204ns ± 1.446ns 191.726ns 193.591ns 196.740ns 197.790ns 3.99% 0.849 0.740 1.03% 0.139ns 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 [190.175ns; 190.721ns] or [-0.143%; +0.143%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.964ns 256.526ns ± 15.303ns 247.845ns ± 2.971ns 265.278ns 288.609ns 292.004ns 296.325ns 19.56% 1.209 -0.018 5.95% 1.082ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_trace/test_trace execution_time [254.405ns; 258.647ns] or [-0.827%; +0.827%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.480ms 60.970ms ± 2.431ms 60.608ms ± 0.058ms 60.719ms 61.064ms 78.187ms 83.152ms 37.20% 8.058 63.982 3.98% 0.172ms 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.633ms; 61.307ms] or [-0.553%; +0.553%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profile_add_sample2_frames_x1000 execution_time 525.471µs 526.192µs ± 0.392µs 526.122µs ± 0.206µs 526.365µs 526.786µs 527.578µs 528.432µs 0.44% 1.830 5.966 0.07% 0.028µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profile_add_sample2_frames_x1000 execution_time [526.138µs; 526.246µs] or [-0.010%; +0.010%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.766ms 14.835ms ± 0.034ms 14.833ms ± 0.017ms 14.850ms 14.882ms 14.960ms 15.001ms 1.13% 1.646 5.254 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.830ms; 14.840ms] or [-0.032%; +0.032%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.705µs 25.783µs ± 9.924µs 18.160µs ± 0.258µs 34.898µs 44.627µs 45.197µs 69.516µs 282.80% 0.946 0.375 38.39% 0.702µ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.408µs; 27.158µs] or [-5.334%; +5.334%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.369µs 2.409µs ± 0.016µs 2.407µs ± 0.006µs 2.413µs 2.447µs 2.462µs 2.471µs 2.66% 1.244 3.189 0.68% 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.407µs; 2.412µs] or [-0.094%; +0.094%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.793µs 89.964µs ± 0.156µs 89.942µs ± 0.060µs 90.002µs 90.171µs 90.296µs 91.675µs 1.93% 6.875 70.346 0.17% 0.011µ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.942µs; 89.985µs] or [-0.024%; +0.024%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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 186.964µs 187.496µs ± 0.538µs 187.302µs ± 0.141µs 187.497µs 188.570µs 189.255µs 190.490µs 1.70% 2.352 6.671 0.29% 0.038µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5249625.603op/s 5333476.829op/s ± 15215.669op/s 5338966.299op/s ± 4014.677op/s 5342253.650op/s 5345531.587op/s 5347659.514op/s 5348636.853op/s 0.18% -2.325 6.466 0.28% 1075.910op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.522µs 17.676µs ± 0.106µs 17.646µs ± 0.027µs 17.680µs 17.978µs 18.027µs 18.038µs 2.22% 2.183 3.940 0.60% 0.007µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 55439415.114op/s 56574990.779op/s ± 334340.781op/s 56670214.072op/s ± 86481.328op/s 56747375.228op/s 56875212.036op/s 56945459.348op/s 57071463.460op/s 0.71% -2.162 3.867 0.59% 23641.463op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.061µs 10.170µs ± 0.033µs 10.170µs ± 0.023µs 10.193µs 10.221µs 10.247µs 10.274µs 1.02% -0.084 0.649 0.32% 0.002µs 1 200
normalization/normalize_name/normalize_name/good throughput 97337236.655op/s 98333921.456op/s ± 319231.991op/s 98332958.880op/s ± 218022.951op/s 98538071.995op/s 98791480.834op/s 99223988.252op/s 99394970.765op/s 1.08% 0.110 0.668 0.32% 22573.111op/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 [187.422µs; 187.571µs] or [-0.040%; +0.040%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [5331368.084op/s; 5335585.575op/s] or [-0.040%; +0.040%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [17.662µs; 17.691µs] or [-0.083%; +0.083%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [56528654.362op/s; 56621327.195op/s] or [-0.082%; +0.082%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.165µs; 10.174µs] or [-0.045%; +0.045%] None None None
normalization/normalize_name/normalize_name/good throughput [98289678.972op/s; 98378163.939op/s] or [-0.045%; +0.045%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.557ms 10.581ms ± 0.012ms 10.580ms ± 0.008ms 10.589ms 10.601ms 10.622ms 10.641ms 0.57% 1.134 3.274 0.11% 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.580ms; 10.583ms] or [-0.016%; +0.016%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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 9.646ms 9.924ms ± 0.070ms 9.919ms ± 0.034ms 9.958ms 10.024ms 10.101ms 10.226ms 3.10% 0.051 3.733 0.70% 0.005ms 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 [9.914ms; 9.934ms] or [-0.097%; +0.097%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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 143.981µs 146.269µs ± 1.559µs 146.042µs ± 0.516µs 146.639µs 147.856µs 151.223µs 161.990µs 10.92% 5.993 52.822 1.06% 0.110µ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.053µs; 146.485µs] or [-0.148%; +0.148%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.656µs 161.112µs ± 0.254µs 161.111µs ± 0.110µs 161.222µs 161.460µs 161.596µs 162.909µs 1.12% 0.700 16.682 0.16% 0.018µ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 [161.077µs; 161.147µs] or [-0.022%; +0.022%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.918µs 5.008µs ± 0.048µs 5.005µs ± 0.038µs 5.028µs 5.086µs 5.090µs 5.091µs 1.72% 0.335 -1.036 0.96% 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.001µs; 5.015µs] or [-0.134%; +0.134%] None None None

Group 18

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.334µs 496.196µs ± 0.741µs 496.144µs ± 0.268µs 496.378µs 496.967µs 497.220µs 505.070µs 1.80% 8.685 101.150 0.15% 0.052µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1979923.793op/s 2015339.017op/s ± 2971.423op/s 2015542.859op/s ± 1088.822op/s 2016699.843op/s 2017790.093op/s 2018445.592op/s 2018841.625op/s 0.16% -8.562 99.169 0.15% 210.111op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 371.630µs 372.291µs ± 0.267µs 372.271µs ± 0.187µs 372.476µs 372.764µs 372.915µs 373.061µs 0.21% 0.221 -0.244 0.07% 0.019µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2680528.652op/s 2686074.219op/s ± 1929.619op/s 2686213.110op/s ± 1346.472op/s 2687482.268op/s 2689072.046op/s 2690222.341op/s 2690845.906op/s 0.17% -0.217 -0.245 0.07% 136.445op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 169.155µs 169.862µs ± 0.222µs 169.868µs ± 0.162µs 170.020µs 170.228µs 170.370µs 170.517µs 0.38% -0.008 0.195 0.13% 0.016µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5864532.304op/s 5887137.496op/s ± 7689.799op/s 5886914.696op/s ± 5625.375op/s 5892730.717op/s 5898364.216op/s 5906537.758op/s 5911725.564op/s 0.42% 0.017 0.199 0.13% 543.751op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 37.245µs 37.346µs ± 0.047µs 37.341µs ± 0.030µs 37.374µs 37.431µs 37.469µs 37.497µs 0.42% 0.528 0.074 0.13% 0.003µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26668601.891op/s 26776621.637op/s ± 34002.054op/s 26780369.081op/s ± 21654.866op/s 26801671.288op/s 26825443.377op/s 26841353.630op/s 26848909.471op/s 0.26% -0.521 0.063 0.13% 2404.308op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 46.200µs 46.323µs ± 0.111µs 46.318µs ± 0.043µs 46.356µs 46.425µs 46.481µs 47.627µs 2.82% 8.195 93.796 0.24% 0.008µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 20996645.436op/s 21587781.706op/s ± 50699.933op/s 21589772.494op/s ± 20014.436op/s 21611611.487op/s 21635202.033op/s 21643867.202op/s 21645058.085op/s 0.26% -7.991 90.619 0.23% 3585.027op/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.298µs] or [-0.021%; +0.021%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [2014927.206op/s; 2015750.827op/s] or [-0.020%; +0.020%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [372.254µs; 372.328µs] or [-0.010%; +0.010%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2685806.792op/s; 2686341.645op/s] or [-0.010%; +0.010%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [169.831µs; 169.893µs] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5886071.764op/s; 5888203.229op/s] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [37.339µs; 37.353µs] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26771909.279op/s; 26781333.995op/s] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.307µs; 46.338µs] or [-0.033%; +0.033%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21580755.183op/s; 21594808.229op/s] or [-0.033%; +0.033%] None None None

Group 19

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 936a69b 1767990327 levi/profile-exporter-build-memory
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.231µs 3.141µs ± 1.409µs 2.966µs ± 0.027µs 2.987µs 3.385µs 13.537µs 14.956µs 404.31% 7.560 57.514 44.75% 0.100µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [2.946µs; 3.336µs] or [-6.217%; +6.217%] None None None

Baseline

Omitted due to size.

@dd-octo-sts
Copy link

dd-octo-sts bot commented Jan 9, 2026

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 87.80 MB 87.79 MB --.01% (-11.60 KB) 💪
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.57 MB 7.57 MB 0% (0 B) 👌
aarch64-apple-darwin
Artifact Baseline Commit Change
/aarch64-apple-darwin/lib/libdatadog_profiling.a 59.44 MB 59.43 MB --.01% (-9.45 KB) 💪
/aarch64-apple-darwin/lib/libdatadog_profiling.dylib 8.58 MB 8.58 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 9.71 MB 9.71 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 101.54 MB 101.51 MB --.02% (-23.64 KB) 💪
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 20.43 MB 20.43 MB +0% (+1.00 KB) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 73.49 KB 73.49 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 151.29 MB 151.26 MB --.01% (-24.00 KB) 💪
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 816.97 MB 817.72 MB +.09% (+763.00 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 6.51 MB 6.51 MB +.01% (+1.00 KB) 🔍
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 73.49 KB 73.49 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 20.14 MB 20.14 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 39.51 MB 39.51 MB +0% (+1.07 KB) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 17.43 MB 17.43 MB -0% (-512 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 74.62 KB 74.62 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 154.16 MB 154.14 MB --.01% (-24.00 KB) 💪
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 806.15 MB 805.51 MB --.08% (-661.42 KB) 💪
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 5.01 MB 5.01 MB +0% (+512 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 74.62 KB 74.62 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 21.47 MB 21.46 MB --.03% (-8.00 KB) 💪
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 37.29 MB 37.29 MB -0% (-2.21 KB) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 76.06 MB 76.06 MB --.01% (-7.87 KB) 💪
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.00 MB 9.00 MB 0% (0 B) 👌
x86_64-apple-darwin
Artifact Baseline Commit Change
/x86_64-apple-darwin/lib/libdatadog_profiling.a 60.77 MB 60.76 MB --.01% (-7.90 KB) 💪
/x86_64-apple-darwin/lib/libdatadog_profiling.dylib 9.63 MB 9.63 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 95.63 MB 95.61 MB --.01% (-15.71 KB) 💪
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.45 MB 10.45 MB 0% (0 B) 👌

@morrisonlevi
Copy link
Contributor Author

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Jan 11, 2026

View all feedbacks in Devflow UI.

2026-01-11 22:23:34 UTC ℹ️ Start processing command /merge


2026-01-11 22:23:37 UTC ℹ️ MergeQueue: pull request added to the queue

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


2026-01-11 22:52:05 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit 76445a8 into main Jan 11, 2026
39 of 40 checks passed
@dd-mergequeue dd-mergequeue bot deleted the levi/profile-exporter-build-memory branch January 11, 2026 22:52
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.

5 participants