Skip to content

feat(debugger-ffi): add process_tags to ffi debugger payload#1452

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 5 commits intomainfrom
dubloom/process-tags-di
Feb 4, 2026
Merged

feat(debugger-ffi): add process_tags to ffi debugger payload#1452
gh-worker-dd-mergequeue-cf854d[bot] merged 5 commits intomainfrom
dubloom/process-tags-di

Conversation

@dubloom
Copy link
Contributor

@dubloom dubloom commented Jan 15, 2026

What does this PR do?

dd-trace-php is using libdatadog to send its debugger payload. We want to send process_tags in every debugger payload according to this RFC for dynamic instrumentation. This PR is adding process tags support in the live debugger part of libdatadog.

How to test the change?

The changes are tested directly in dd-trace-php through this PR: DataDog/dd-trace-php#3580

@pr-commenter
Copy link

pr-commenter bot commented Jan 15, 2026

Benchmarks

Comparison

Benchmark execution time: 2026-02-04 09:54:23

Comparing candidate commit a20d2c2 in PR branch dubloom/process-tags-di with baseline commit aa61ebb in branch main.

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

scenario:credit_card/is_card_number_no_luhn/ 3782-8224-6310-005

  • 🟥 execution_time [+10.228µs; +10.282µs] or [+15.544%; +15.626%]
  • 🟥 throughput [-2054302.177op/s; -2043981.100op/s] or [-13.517%; -13.449%]

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 a20d2c2 1770197891 dubloom/process-tags-di
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.168µs 3.222µs ± 1.417µs 2.997µs ± 0.031µs 3.029µs 3.696µs 13.973µs 14.678µs 389.78% 7.251 54.114 43.87% 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 [3.026µs; 3.419µs] or [-6.096%; +6.096%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.337µs 33.813µs ± 0.772µs 33.468µs ± 0.054µs 33.545µs 35.420µs 35.467µs 37.112µs 10.89% 1.819 1.868 2.28% 0.055µ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.706µs; 33.919µs] or [-0.316%; +0.316%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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 160.101µs 161.183µs ± 0.371µs 161.142µs ± 0.131µs 161.266µs 161.603µs 162.217µs 164.727µs 2.22% 4.863 42.059 0.23% 0.026µ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.132µs; 161.235µs] or [-0.032%; +0.032%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.984µs 5.062µs ± 0.052µs 5.070µs ± 0.040µs 5.098µs 5.152µs 5.157µs 5.164µs 1.85% 0.146 -1.133 1.02% 0.004µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
ip_address/quantize_peer_ip_address_benchmark execution_time [5.055µs; 5.070µs] or [-0.141%; +0.141%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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 541.012µs 542.056µs ± 0.825µs 541.948µs ± 0.312µs 542.264µs 543.087µs 543.936µs 550.940µs 1.66% 6.541 65.829 0.15% 0.058µ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 [541.942µs; 542.170µs] or [-0.021%; +0.021%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.935µs 537.138µs ± 1.634µs 536.675µs ± 0.922µs 538.049µs 539.665µs 543.159µs 544.879µs 1.53% 1.566 3.444 0.30% 0.116µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1835270.443op/s 1861736.957op/s ± 5638.456op/s 1863324.491op/s ± 3208.005op/s 1865764.705op/s 1867497.227op/s 1869094.569op/s 1869387.645op/s 0.33% -1.539 3.305 0.30% 398.699op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 386.054µs 386.754µs ± 0.360µs 386.701µs ± 0.190µs 386.925µs 387.433µs 387.855µs 388.018µs 0.34% 0.824 0.751 0.09% 0.025µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2577201.234op/s 2585624.145op/s ± 2407.879op/s 2585977.736op/s ± 1270.583op/s 2587204.902op/s 2588842.104op/s 2589910.046op/s 2590311.200op/s 0.17% -0.818 0.738 0.09% 170.263op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 189.776µs 190.124µs ± 0.173µs 190.097µs ± 0.120µs 190.250µs 190.418µs 190.563µs 190.722µs 0.33% 0.542 -0.068 0.09% 0.012µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5243247.000op/s 5259715.976op/s ± 4791.561op/s 5260468.383op/s ± 3316.052op/s 5263353.761op/s 5266619.044op/s 5268168.478op/s 5269377.324op/s 0.17% -0.537 -0.076 0.09% 338.815op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 36.456µs 36.561µs ± 0.047µs 36.557µs ± 0.028µs 36.592µs 36.636µs 36.658µs 36.846µs 0.79% 1.074 5.429 0.13% 0.003µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 27139930.720op/s 27351734.018op/s ± 35342.941op/s 27354439.167op/s ± 20926.445op/s 27373176.550op/s 27408333.098op/s 27423767.506op/s 27430074.662op/s 0.28% -1.050 5.276 0.13% 2499.123op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 45.968µs 46.123µs ± 0.069µs 46.115µs ± 0.042µs 46.166µs 46.241µs 46.291µs 46.412µs 0.64% 0.708 1.707 0.15% 0.005µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21546265.338op/s 21681199.777op/s ± 32583.009op/s 21684868.506op/s ± 19618.631op/s 21701379.732op/s 21727822.258op/s 21746802.085op/s 21754190.220op/s 0.32% -0.693 1.664 0.15% 2303.967op/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.911µs; 537.364µs] or [-0.042%; +0.042%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1860955.521op/s; 1862518.393op/s] or [-0.042%; +0.042%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [386.704µs; 386.804µs] or [-0.013%; +0.013%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2585290.436op/s; 2585957.853op/s] or [-0.013%; +0.013%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [190.100µs; 190.149µs] or [-0.013%; +0.013%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5259051.911op/s; 5260380.040op/s] or [-0.013%; +0.013%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [36.554µs; 36.567µs] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [27346835.826op/s; 27356632.210op/s] or [-0.018%; +0.018%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.113µs; 46.133µs] or [-0.021%; +0.021%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21676684.086op/s; 21685715.469op/s] or [-0.021%; +0.021%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.893µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.915µs 3.917µs 3.920µs 3.929µs 0.40% -0.605 11.208 0.08% 0.000µs 1 200
credit_card/is_card_number/ throughput 254499645.333op/s 255534321.080op/s ± 200786.010op/s 255529627.152op/s ± 127486.648op/s 255671639.231op/s 255791092.574op/s 255856293.298op/s 256861524.003op/s 0.52% 0.635 11.315 0.08% 14197.715op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 77.044µs 77.553µs ± 0.386µs 77.474µs ± 0.256µs 77.744µs 78.318µs 78.506µs 79.298µs 2.35% 1.104 1.410 0.50% 0.027µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12610596.141op/s 12894730.884op/s ± 63761.499op/s 12907475.345op/s ± 42767.233op/s 12949697.225op/s 12968868.040op/s 12973297.219op/s 12979651.800op/s 0.56% -1.072 1.269 0.49% 4508.619op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 70.612µs 70.954µs ± 0.406µs 70.780µs ± 0.095µs 71.006µs 71.762µs 72.549µs 73.091µs 3.27% 2.527 7.662 0.57% 0.029µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13681519.266op/s 14094060.220op/s ± 79603.540op/s 14128314.558op/s ± 19017.829op/s 14141658.145op/s 14150858.823op/s 14154384.316op/s 14161817.751op/s 0.24% -2.473 7.269 0.56% 5628.820op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.893µs 3.914µs ± 0.009µs 3.913µs ± 0.002µs 3.915µs 3.918µs 3.928µs 3.995µs 2.08% 7.938 71.491 0.22% 0.001µs 1 200
credit_card/is_card_number/37828224631 throughput 250324363.965op/s 255484807.999op/s ± 552607.593op/s 255533765.649op/s ± 118566.387op/s 255653457.138op/s 255814426.210op/s 255894259.465op/s 256839223.570op/s 0.51% -7.869 70.700 0.22% 39075.258op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 67.452µs 67.711µs ± 0.301µs 67.551µs ± 0.070µs 67.818µs 68.318µs 68.701µs 69.269µs 2.54% 1.920 4.372 0.44% 0.021µs 1 200
credit_card/is_card_number/378282246310005 throughput 14436423.017op/s 14768983.245op/s ± 65098.885op/s 14803643.200op/s ± 15268.702op/s 14812612.940op/s 14821945.150op/s 14824172.058op/s 14825392.933op/s 0.15% -1.885 4.151 0.44% 4603.186op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 44.703µs 45.159µs ± 0.149µs 45.148µs ± 0.100µs 45.256µs 45.405µs 45.466µs 45.540µs 0.87% -0.016 -0.256 0.33% 0.011µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21958884.857op/s 22144370.779op/s ± 73040.762op/s 22149396.383op/s ± 49111.877op/s 22191530.628op/s 22258905.577op/s 22300878.196op/s 22370009.838op/s 1.00% 0.033 -0.246 0.33% 5164.762op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.028µs 6.039µs ± 0.012µs 6.036µs ± 0.003µs 6.041µs 6.047µs 6.108µs 6.126µs 1.49% 5.150 30.516 0.20% 0.001µs 1 200
credit_card/is_card_number/x371413321323331 throughput 163229097.361op/s 165591377.620op/s ± 335271.572op/s 165666515.107op/s ± 84898.813op/s 165727900.510op/s 165818853.527op/s 165872515.937op/s 165880653.478op/s 0.13% -5.113 30.159 0.20% 23707.280op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.897µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.915µs 3.918µs 3.919µs 3.922µs 0.23% -0.627 4.006 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254957710.536op/s 255538204.657op/s ± 194486.533op/s 255553195.433op/s ± 128609.153op/s 255661492.981op/s 255808285.516op/s 255925763.317op/s 256631427.370op/s 0.42% 0.640 4.071 0.08% 13752.275op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 75.825µs 76.056µs ± 0.165µs 76.039µs ± 0.044µs 76.084µs 76.161µs 76.398µs 77.745µs 2.24% 7.436 67.900 0.22% 0.012µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 12862577.296op/s 13148348.986op/s ± 28038.906op/s 13151067.508op/s ± 7529.847op/s 13158380.372op/s 13171219.963op/s 13177711.539op/s 13188303.294op/s 0.28% -7.341 66.622 0.21% 1982.650op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 52.955µs 53.030µs ± 0.034µs 53.029µs ± 0.025µs 53.054µs 53.086µs 53.118µs 53.140µs 0.21% 0.362 -0.111 0.06% 0.002µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18818319.086op/s 18857084.743op/s ± 12190.792op/s 18857582.696op/s ± 8719.258op/s 18865748.293op/s 18875152.937op/s 18879526.985op/s 18884124.117op/s 0.14% -0.359 -0.116 0.06% 862.019op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.897µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.914µs 3.916µs 3.918µs 3.919µs 0.19% -0.558 4.903 0.06% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 255159900.204op/s 255624083.547op/s ± 164268.375op/s 255640915.381op/s ± 106970.836op/s 255736109.157op/s 255833725.854op/s 255886158.371op/s 256588610.256op/s 0.37% 0.571 4.973 0.06% 11615.528op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 49.749µs 49.815µs ± 0.032µs 49.814µs ± 0.025µs 49.840µs 49.870µs 49.885µs 49.903µs 0.18% 0.133 -0.496 0.06% 0.002µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 20038835.463op/s 20074199.292op/s ± 12961.629op/s 20074551.491op/s ± 9954.390op/s 20084192.736op/s 20094406.923op/s 20100567.600op/s 20100970.877op/s 0.13% -0.130 -0.498 0.06% 916.526op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 44.824µs 45.202µs ± 0.153µs 45.206µs ± 0.103µs 45.301µs 45.463µs 45.517µs 45.585µs 0.84% 0.066 -0.362 0.34% 0.011µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 21937244.461op/s 22123071.512op/s ± 74946.403op/s 22120945.272op/s ± 50463.590op/s 22171705.578op/s 22241972.606op/s 22281034.814op/s 22309501.727op/s 0.85% -0.049 -0.363 0.34% 5299.511op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.028µs 6.038µs ± 0.008µs 6.037µs ± 0.003µs 6.040µs 6.045µs 6.078µs 6.103µs 1.10% 5.096 34.827 0.14% 0.001µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 163854911.766op/s 165623939.196op/s ± 229153.966op/s 165650189.001op/s ± 87859.287op/s 165732914.582op/s 165836547.329op/s 165868942.826op/s 165902268.045op/s 0.15% -5.051 34.369 0.14% 16203.632op/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.913µs; 3.914µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/ throughput [255506494.070op/s; 255562148.090op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [77.500µs; 77.606µs] or [-0.069%; +0.069%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12885894.153op/s; 12903567.614op/s] or [-0.069%; +0.069%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [70.898µs; 71.010µs] or [-0.079%; +0.079%] None None None
credit_card/is_card_number/ 378282246310005 throughput [14083027.935op/s; 14105092.505op/s] or [-0.078%; +0.078%] None None None
credit_card/is_card_number/37828224631 execution_time [3.913µs; 3.915µs] or [-0.030%; +0.030%] None None None
credit_card/is_card_number/37828224631 throughput [255408221.902op/s; 255561394.097op/s] or [-0.030%; +0.030%] None None None
credit_card/is_card_number/378282246310005 execution_time [67.669µs; 67.753µs] or [-0.062%; +0.062%] None None None
credit_card/is_card_number/378282246310005 throughput [14759961.166op/s; 14778005.325op/s] or [-0.061%; +0.061%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.138µs; 45.179µs] or [-0.046%; +0.046%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [22134248.032op/s; 22154493.526op/s] or [-0.046%; +0.046%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.037µs; 6.041µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number/x371413321323331 throughput [165544912.205op/s; 165637843.036op/s] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.913µs; 3.914µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ throughput [255511250.694op/s; 255565158.620op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [76.033µs; 76.078µs] or [-0.030%; +0.030%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [13144463.063op/s; 13152234.909op/s] or [-0.030%; +0.030%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.026µs; 53.035µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18855395.216op/s; 18858774.269op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.912µs; 3.912µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255601317.530op/s; 255646849.564op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [49.811µs; 49.820µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [20072402.935op/s; 20075995.649op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.181µs; 45.223µs] or [-0.047%; +0.047%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [22112684.661op/s; 22133458.363op/s] or [-0.047%; +0.047%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.037µs; 6.039µs] or [-0.019%; +0.019%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [165592180.660op/s; 165655697.732op/s] or [-0.019%; +0.019%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.934ms 3.938ms ± 0.007ms 3.937ms ± 0.002ms 3.939ms 3.942ms 3.944ms 4.026ms 2.25% 11.617 150.430 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.937ms; 3.939ms] 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 a20d2c2 1770197891 dubloom/process-tags-di
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 85.562µs 85.874µs ± 0.224µs 85.850µs ± 0.068µs 85.930µs 86.080µs 86.368µs 88.441µs 3.02% 7.752 85.322 0.26% 0.016µ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 [85.843µs; 85.905µs] or [-0.036%; +0.036%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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 48.330ms 48.782ms ± 1.246ms 48.628ms ± 0.061ms 48.687ms 48.797ms 56.774ms 60.721ms 24.87% 8.045 65.639 2.55% 0.088ms 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 [48.610ms; 48.955ms] or [-0.354%; +0.354%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.331µs 2.395µs ± 0.017µs 2.395µs ± 0.006µs 2.401µs 2.420µs 2.428µs 2.430µs 1.49% -1.333 3.641 0.69% 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.392µs; 2.397µs] or [-0.096%; +0.096%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.463µs 147.281µs ± 1.967µs 146.909µs ± 0.547µs 147.596µs 148.984µs 154.558µs 166.542µs 13.36% 6.219 51.163 1.33% 0.139µ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 [147.009µs; 147.554µs] or [-0.185%; +0.185%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.617ms 10.647ms ± 0.015ms 10.646ms ± 0.010ms 10.656ms 10.673ms 10.683ms 10.707ms 0.58% 0.525 0.397 0.14% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [10.645ms; 10.649ms] or [-0.020%; +0.020%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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 241.065ns 252.970ns ± 14.067ns 245.777ns ± 3.133ns 257.410ns 287.068ns 292.310ns 295.858ns 20.38% 1.606 1.416 5.55% 0.995ns 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.020ns; 254.919ns] or [-0.771%; +0.771%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.454ms 9.770ms ± 0.077ms 9.788ms ± 0.027ms 9.811ms 9.852ms 9.887ms 9.929ms 1.44% -1.772 3.489 0.79% 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.759ms; 9.781ms] or [-0.109%; +0.109%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.005ms 14.066ms ± 0.032ms 14.061ms ± 0.015ms 14.077ms 14.111ms 14.192ms 14.240ms 1.28% 2.052 7.009 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.061ms; 14.070ms] or [-0.032%; +0.032%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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 205.179µs 205.901µs ± 0.466µs 205.806µs ± 0.314µs 206.154µs 206.755µs 206.977µs 207.963µs 1.05% 0.971 1.460 0.23% 0.033µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4808558.923op/s 4856737.025op/s ± 10974.705op/s 4858956.000op/s ± 7409.392op/s 4865230.326op/s 4871354.893op/s 4873149.072op/s 4873784.781op/s 0.31% -0.954 1.392 0.23% 776.029op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.550µs 18.633µs ± 0.038µs 18.626µs ± 0.022µs 18.655µs 18.693µs 18.755µs 18.794µs 0.90% 0.908 2.055 0.20% 0.003µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 53209598.470op/s 53669132.047op/s ± 109597.426op/s 53688136.085op/s ± 62594.638op/s 53739139.741op/s 53830197.615op/s 53887822.105op/s 53909808.890op/s 0.41% -0.889 1.997 0.20% 7749.708op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.834µs 10.915µs ± 0.032µs 10.912µs ± 0.016µs 10.928µs 10.963µs 10.999µs 11.071µs 1.46% 1.107 3.798 0.29% 0.002µs 1 200
normalization/normalize_name/normalize_name/good throughput 90329066.721op/s 91618028.411op/s ± 263655.210op/s 91645306.112op/s ± 136368.659op/s 91782216.229op/s 91970379.128op/s 92150802.954op/s 92304678.720op/s 0.72% -1.068 3.633 0.29% 18643.239op/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.836µs; 205.965µs] or [-0.031%; +0.031%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [4855216.036op/s; 4858258.013op/s] or [-0.031%; +0.031%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.627µs; 18.638µs] or [-0.028%; +0.028%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [53653942.897op/s; 53684321.196op/s] or [-0.028%; +0.028%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.911µs; 10.919µs] or [-0.040%; +0.040%] None None None
normalization/normalize_name/normalize_name/good throughput [91581488.334op/s; 91654568.487op/s] or [-0.040%; +0.040%] None None None

Group 18

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.522µs 25.768µs ± 9.648µs 18.002µs ± 0.436µs 34.338µs 43.208µs 44.999µs 60.884µs 238.20% 0.740 -0.457 37.35% 0.682µ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.431µs; 27.105µs] or [-5.189%; +5.189%] None None None

Group 19

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a20d2c2 1770197891 dubloom/process-tags-di
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.118ns 191.734ns ± 2.178ns 191.353ns ± 1.567ns 192.809ns 195.543ns 198.858ns 201.184ns 5.14% 1.329 2.363 1.13% 0.154ns 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 [191.432ns; 192.035ns] or [-0.157%; +0.157%] None None None

Baseline

Omitted due to size.

@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2026

Codecov Report

❌ Patch coverage is 12.50000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.04%. Comparing base (aa61ebb) to head (a20d2c2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1452      +/-   ##
==========================================
- Coverage   71.05%   71.04%   -0.01%     
==========================================
  Files         424      424              
  Lines       69329    69336       +7     
==========================================
+ Hits        49260    49262       +2     
- Misses      20069    20074       +5     
Components Coverage Δ
libdd-crashtracker 62.35% <ø> (ø)
libdd-crashtracker-ffi 16.80% <ø> (ø)
libdd-alloc 98.58% <ø> (-0.15%) ⬇️
libdd-data-pipeline 86.86% <ø> (-0.02%) ⬇️
libdd-data-pipeline-ffi 78.68% <ø> (ø)
libdd-common 80.53% <ø> (ø)
libdd-common-ffi 74.54% <ø> (ø)
libdd-telemetry 59.78% <ø> (-0.04%) ⬇️
libdd-telemetry-ffi 21.17% <ø> (ø)
libdd-dogstatsd-client 83.75% <ø> (ø)
datadog-ipc 82.70% <ø> (+0.10%) ⬆️
libdd-profiling 81.73% <ø> (-0.01%) ⬇️
libdd-profiling-ffi 64.71% <ø> (ø)
datadog-sidecar 34.39% <100.00%> (+0.01%) ⬆️
datdog-sidecar-ffi 7.67% <ø> (ø)
spawn-worker 55.18% <ø> (ø)
libdd-tinybytes 93.43% <ø> (ø)
libdd-trace-normalization 82.33% <ø> (ø)
libdd-trace-obfuscation 94.17% <ø> (ø)
libdd-trace-protobuf 61.18% <ø> (ø)
libdd-trace-utils 89.37% <ø> (ø)
datadog-tracer-flare 62.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.

@dd-octo-sts
Copy link

dd-octo-sts bot commented Jan 16, 2026

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 91.68 MB 91.68 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 8.38 MB 8.38 MB 0% (0 B) 👌
aarch64-apple-darwin
Artifact Baseline Commit Change
/aarch64-apple-darwin/lib/libdatadog_profiling.a 62.73 MB 62.73 MB 0% (0 B) 👌
/aarch64-apple-darwin/lib/libdatadog_profiling.dylib 9.46 MB 9.46 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 106.38 MB 106.38 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.76 MB 10.76 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 25.08 MB 25.08 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 75.94 KB 75.94 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 172.50 MB 172.47 MB --.01% (-32.00 KB) 💪
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 882.68 MB 882.68 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 9.57 MB 9.57 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 75.94 KB 75.94 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 23.04 MB 23.04 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 48.45 MB 48.45 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 21.22 MB 21.22 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 77.12 KB 77.12 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 176.58 MB 176.57 MB -0% (-8.00 KB) 👌
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 866.78 MB 866.78 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 7.24 MB 7.24 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 77.12 KB 77.12 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 24.62 MB 24.62 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 44.15 MB 44.15 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 80.18 MB 80.18 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.88 MB 9.88 MB 0% (0 B) 👌
x86_64-apple-darwin
Artifact Baseline Commit Change
/x86_64-apple-darwin/lib/libdatadog_profiling.a 64.95 MB 64.95 MB 0% (0 B) 👌
/x86_64-apple-darwin/lib/libdatadog_profiling.dylib 10.49 MB 10.49 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 100.30 MB 100.30 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.44 MB 11.44 MB 0% (0 B) 👌

@morrisonlevi
Copy link
Contributor

The libdatadog branch was 15 days behind main so I updated it, tests are rerunning.

Copy link
Contributor

@morrisonlevi morrisonlevi left a comment

Choose a reason for hiding this comment

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

This part looks good, I haven't reviewed the PHP side yet.

Note that the libdatadog branch was 15 days behind main so I updated it, tests are rerunning.

@morrisonlevi morrisonlevi changed the title feat(fii): add process_tags to ffi debbuger payload feat(profiling-ffi): add process_tags to ffi debbuger payload Jan 30, 2026
@Leiyks Leiyks marked this pull request as ready for review February 2, 2026 12:28
@Leiyks Leiyks requested review from a team as code owners February 2, 2026 12:28
@ivoanjo
Copy link
Member

ivoanjo commented Feb 2, 2026

Hey, is the PR title a bit weird? E.g. this seems to not have anything to do with the profiling-ffi (I opened the PR since I went -- "wait, why does the profiling ffi need to change for debugger payloads?", and I'm pretty sure the answer is "it doesn't" ;D )

@dubloom dubloom changed the title feat(profiling-ffi): add process_tags to ffi debbuger payload feat(debugger-ffi): add process_tags to ffi debugger payload Feb 4, 2026
@dubloom
Copy link
Contributor Author

dubloom commented Feb 4, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link

gh-worker-devflow-routing-ef8351 bot commented Feb 4, 2026

View all feedbacks in Devflow UI.

2026-02-04 10:20:32 UTC ℹ️ Start processing command /merge


2026-02-04 10:20:37 UTC ℹ️ MergeQueue: pull request added to the queue

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


2026-02-04 10:49:15 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot merged commit 043015c into main Feb 4, 2026
72 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the dubloom/process-tags-di branch February 4, 2026 10:49
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.

6 participants