Skip to content

Conversation

@morrisonlevi
Copy link
Contributor

What does this PR do?

On the FFI headers on windows, this attends to replace "extern " with "extern __declspec(dllimport) ".

Motivation

These static variables result in a crash if you use them when they don't have __declspec(dllimport) .

Additional Notes

This went unfound because none of the examples run on Windows in CI. I am planning to look into running these as part of CI (this is in draft still).

How to test the change?

Build and note you don't get a crash anymore when using these static vars on Windows 😆

@morrisonlevi morrisonlevi changed the title fix(profiling): Windows extern statics need __declspec(dllimport) fix(profiling-ffi): Windows extern statics need __declspec(dllimport) Jan 22, 2026
@morrisonlevi morrisonlevi added bug Something isn't working profiling Relates to the profiling* modules. labels Jan 22, 2026
@pr-commenter
Copy link

pr-commenter bot commented Jan 22, 2026

Benchmarks

Comparison

Benchmark execution time: 2026-02-02 00:13:40

Comparing candidate commit b32f97d in PR branch levi/fix-windows-declspec-vars with baseline commit c9d6835 in branch main.

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

scenario:tags/replace_trace_tags

  • 🟥 execution_time [+96.805ns; +107.032ns] or [+4.044%; +4.471%]

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 b32f97d 1769990251 levi/fix-windows-declspec-vars
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 161.454µs 162.207µs ± 0.281µs 162.139µs ± 0.138µs 162.322µs 162.819µs 163.057µs 163.553µs 0.87% 1.315 3.510 0.17% 0.020µ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 [162.168µs; 162.246µs] or [-0.024%; +0.024%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.819µs 25.802µs ± 9.629µs 18.084µs ± 0.078µs 34.164µs 42.977µs 43.880µs 63.583µs 251.59% 0.941 0.543 37.23% 0.681µ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.467µs; 27.136µs] or [-5.172%; +5.172%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.547µs 34.108µs ± 0.982µs 33.662µs ± 0.041µs 33.730µs 36.199µs 36.271µs 37.422µs 11.17% 1.736 1.152 2.87% 0.069µ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.972µs; 34.244µs] or [-0.399%; +0.399%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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 12.729ms 13.058ms ± 0.106ms 13.081ms ± 0.047ms 13.127ms 13.179ms 13.229ms 13.304ms 1.71% -1.068 0.965 0.81% 0.007ms 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 [13.044ms; 13.073ms] or [-0.112%; +0.112%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.980µs 90.199µs ± 0.253µs 90.158µs ± 0.049µs 90.212µs 90.416µs 90.660µs 93.362µs 3.55% 9.986 120.668 0.28% 0.018µ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 [90.164µs; 90.234µs] or [-0.039%; +0.039%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.227µs 3.246µs ± 1.439µs 3.019µs ± 0.029µs 3.053µs 3.682µs 14.229µs 14.870µs 392.58% 7.305 54.667 44.23% 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.047µs; 3.446µs] or [-6.145%; +6.145%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
credit_card/is_card_number/ execution_time 3.895µs 3.912µs ± 0.003µs 3.911µs ± 0.002µs 3.913µs 3.916µs 3.920µs 3.925µs 0.34% 0.043 5.643 0.08% 0.000µs 1 200
credit_card/is_card_number/ throughput 254802534.513op/s 255653518.974op/s ± 200138.743op/s 255662928.881op/s ± 114646.710op/s 255790191.633op/s 255887802.456op/s 255982839.116op/s 256764803.641op/s 0.43% -0.025 5.691 0.08% 14151.946op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 77.052µs 77.563µs ± 0.339µs 77.531µs ± 0.190µs 77.738µs 78.052µs 78.414µs 79.647µs 2.73% 1.360 5.910 0.44% 0.024µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12555381.154op/s 12893063.839op/s ± 56071.412op/s 12898046.598op/s ± 31514.378op/s 12928369.691op/s 12969216.778op/s 12977536.981op/s 12978189.699op/s 0.62% -1.283 5.370 0.43% 3964.848op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 70.629µs 71.164µs ± 0.346µs 71.116µs ± 0.201µs 71.341µs 71.829µs 72.183µs 72.323µs 1.70% 0.779 0.564 0.49% 0.024µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13826784.128op/s 14052410.990op/s ± 68146.431op/s 14061494.548op/s ± 39589.533op/s 14094605.363op/s 14147018.753op/s 14154876.049op/s 14158397.727op/s 0.69% -0.751 0.498 0.48% 4818.680op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.896µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.915µs 3.917µs 3.920µs 3.930µs 0.45% 0.231 5.252 0.09% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254453686.144op/s 255579763.035op/s ± 219541.411op/s 255587514.550op/s ± 151900.126op/s 255752997.853op/s 255861076.816op/s 255956933.740op/s 256692869.894op/s 0.43% -0.212 5.250 0.09% 15523.922op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 67.438µs 67.879µs ± 0.290µs 67.838µs ± 0.172µs 68.015µs 68.346µs 68.781µs 68.997µs 1.71% 0.855 1.094 0.43% 0.021µs 1 200
credit_card/is_card_number/378282246310005 throughput 14493321.321op/s 14732463.222op/s ± 62699.132op/s 14741021.199op/s ± 37336.929op/s 14771771.216op/s 14820007.826op/s 14827033.226op/s 14828338.438op/s 0.59% -0.825 1.003 0.42% 4433.498op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 44.643µs 45.152µs ± 0.157µs 45.166µs ± 0.099µs 45.248µs 45.416µs 45.460µs 45.468µs 0.67% -0.221 -0.077 0.35% 0.011µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 21993433.276op/s 22147648.475op/s ± 77194.787op/s 22140434.503op/s ± 48666.274op/s 22196959.593op/s 22281577.655op/s 22318701.046op/s 22400152.079op/s 1.17% 0.241 -0.056 0.35% 5458.496op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.028µs 6.037µs ± 0.012µs 6.035µs ± 0.003µs 6.038µs 6.044µs 6.108µs 6.143µs 1.78% 5.832 39.475 0.20% 0.001µs 1 200
credit_card/is_card_number/x371413321323331 throughput 162799714.668op/s 165639178.380op/s ± 329115.007op/s 165697297.572op/s ± 69899.765op/s 165761978.464op/s 165845575.007op/s 165861036.086op/s 165900844.592op/s 0.12% -5.787 38.902 0.20% 23271.945op/s 1 200
credit_card/is_card_number_no_luhn/ 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.920µs 0.19% -0.560 3.550 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 255126272.039op/s 255624650.673op/s ± 181036.186op/s 255619914.290op/s ± 118136.052op/s 255740867.395op/s 255893276.193op/s 255961283.341op/s 256611664.260op/s 0.39% 0.571 3.601 0.07% 12801.191op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 65.395µs 65.636µs ± 0.095µs 65.637µs ± 0.068µs 65.700µs 65.789µs 65.838µs 65.864µs 0.34% 0.043 -0.481 0.14% 0.007µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15182892.829op/s 15235515.449op/s ± 22098.523op/s 15235209.984op/s ± 15729.269op/s 15252425.018op/s 15270228.933op/s 15285288.723op/s 15291753.158op/s 0.37% -0.037 -0.480 0.14% 1562.602op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 52.943µs 53.014µs ± 0.034µs 53.013µs ± 0.025µs 53.036µs 53.068µs 53.105µs 53.164µs 0.29% 0.706 0.950 0.06% 0.002µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 18809552.386op/s 18862960.611op/s ± 12164.266op/s 18863371.106op/s ± 8953.546op/s 18872595.105op/s 18879807.197op/s 18882984.053op/s 18888208.092op/s 0.13% -0.701 0.933 0.06% 860.144op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.896µs 3.912µs ± 0.003µs 3.912µs ± 0.002µs 3.913µs 3.916µs 3.919µs 3.921µs 0.23% -0.386 5.187 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 255062115.156op/s 255633408.330op/s ± 178247.129op/s 255650199.357op/s ± 102050.828op/s 255747537.091op/s 255868458.711op/s 255931175.208op/s 256665112.155op/s 0.40% 0.401 5.255 0.07% 12603.975op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 49.750µs 49.810µs ± 0.038µs 49.805µs ± 0.028µs 49.836µs 49.884µs 49.922µs 49.946µs 0.28% 0.771 0.600 0.08% 0.003µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 20021703.128op/s 20076104.247op/s ± 15268.210op/s 20078212.129op/s ± 11130.170op/s 20087423.264op/s 20096738.903op/s 20099791.043op/s 20100345.726op/s 0.11% -0.766 0.588 0.08% 1079.626op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 44.569µs 45.095µs ± 0.189µs 45.112µs ± 0.131µs 45.239µs 45.361µs 45.396µs 45.424µs 0.69% -0.544 -0.197 0.42% 0.013µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 22014739.364op/s 22175999.850op/s ± 93041.885op/s 22167249.006op/s ± 64233.719op/s 22234840.328op/s 22353325.057op/s 22431033.002op/s 22437237.891op/s 1.22% 0.563 -0.164 0.42% 6579.055op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.027µs 6.038µs ± 0.008µs 6.037µs ± 0.003µs 6.040µs 6.048µs 6.059µs 6.107µs 1.15% 4.694 33.549 0.14% 0.001µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 163749821.501op/s 165624281.911op/s ± 225448.363op/s 165637629.190op/s ± 94460.059op/s 165764188.043op/s 165837197.113op/s 165863137.189op/s 165921106.466op/s 0.17% -4.639 32.962 0.14% 15941.607op/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.011%; +0.011%] None None None
credit_card/is_card_number/ throughput [255625781.669op/s; 255681256.279op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [77.516µs; 77.610µs] or [-0.061%; +0.061%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12885292.880op/s; 12900834.797op/s] or [-0.060%; +0.060%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [71.116µs; 71.212µs] or [-0.067%; +0.067%] None None None
credit_card/is_card_number/ 378282246310005 throughput [14042966.550op/s; 14061855.430op/s] or [-0.067%; +0.067%] None None None
credit_card/is_card_number/37828224631 execution_time [3.912µs; 3.913µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/37828224631 throughput [255549336.707op/s; 255610189.363op/s] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/378282246310005 execution_time [67.838µs; 67.919µs] or [-0.059%; +0.059%] None None None
credit_card/is_card_number/378282246310005 throughput [14723773.725op/s; 14741152.719op/s] or [-0.059%; +0.059%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [45.130µs; 45.174µs] or [-0.048%; +0.048%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [22136950.020op/s; 22158346.930op/s] or [-0.048%; +0.048%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.036µs; 6.039µs] or [-0.028%; +0.028%] None None None
credit_card/is_card_number/x371413321323331 throughput [165593566.206op/s; 165684790.555op/s] or [-0.028%; +0.028%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.912µs; 3.912µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ throughput [255599560.798op/s; 255649740.547op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [65.623µs; 65.649µs] or [-0.020%; +0.020%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15232452.807op/s; 15238578.092op/s] or [-0.020%; +0.020%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [53.009µs; 53.019µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [18861274.761op/s; 18864646.461op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.911µs; 3.912µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255608704.992op/s; 255658111.667op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [49.805µs; 49.816µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [20073988.219op/s; 20078220.274op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [45.068µs; 45.121µs] or [-0.058%; +0.058%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [22163105.140op/s; 22188894.561op/s] or [-0.058%; +0.058%] 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 [165593036.936op/s; 165655526.885op/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 b32f97d 1769990251 levi/fix-windows-declspec-vars
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.938ms 3.947ms ± 0.008ms 3.946ms ± 0.002ms 3.948ms 3.954ms 3.967ms 4.035ms 2.26% 8.049 86.904 0.19% 0.001ms 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.946ms; 3.948ms] or [-0.027%; +0.027%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.636ms 10.667ms ± 0.015ms 10.665ms ± 0.009ms 10.675ms 10.692ms 10.716ms 10.728ms 0.59% 1.070 2.277 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.664ms; 10.669ms] or [-0.019%; +0.019%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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 544.562µs 545.546µs ± 0.534µs 545.546µs ± 0.379µs 545.898µs 546.354µs 546.801µs 548.988µs 0.63% 1.411 7.234 0.10% 0.038µ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 [545.472µs; 545.620µs] or [-0.014%; +0.014%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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 240.932ns 251.939ns ± 13.928ns 246.391ns ± 3.512ns 252.304ns 286.332ns 296.076ns 302.520ns 22.78% 1.955 2.918 5.51% 0.985ns 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 [250.008ns; 253.869ns] or [-0.766%; +0.766%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.013µs 536.889µs ± 1.385µs 536.338µs ± 0.609µs 537.793µs 539.609µs 540.888µs 541.810µs 1.02% 1.248 0.915 0.26% 0.098µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1845664.052op/s 1862593.850op/s ± 4789.038op/s 1864495.078op/s ± 2120.114op/s 1866072.319op/s 1867336.516op/s 1867874.026op/s 1869113.666op/s 0.25% -1.238 0.877 0.26% 338.636op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 381.189µs 381.944µs ± 0.324µs 381.925µs ± 0.217µs 382.152µs 382.519µs 382.685µs 382.947µs 0.27% 0.317 -0.143 0.08% 0.023µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2611325.934op/s 2618187.320op/s ± 2219.537op/s 2618317.201op/s ± 1490.616op/s 2619741.403op/s 2621588.879op/s 2622850.045op/s 2623373.850op/s 0.19% -0.313 -0.147 0.08% 156.945op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 189.628µs 189.948µs ± 0.160µs 189.929µs ± 0.107µs 190.050µs 190.257µs 190.393µs 190.420µs 0.26% 0.550 0.140 0.08% 0.011µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5251552.743op/s 5264604.848op/s ± 4423.078op/s 5265127.521op/s ± 2957.987op/s 5267871.609op/s 5270615.460op/s 5272859.843op/s 5273481.393op/s 0.16% -0.545 0.132 0.08% 312.759op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 36.459µs 36.582µs ± 0.053µs 36.581µs ± 0.039µs 36.618µs 36.676µs 36.700µs 36.715µs 0.37% 0.277 -0.351 0.14% 0.004µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 27236770.880op/s 27335805.607op/s ± 39268.643op/s 27336680.522op/s ± 29202.743op/s 27366902.116op/s 27395410.844op/s 27415927.725op/s 27427889.697op/s 0.33% -0.270 -0.354 0.14% 2776.712op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 45.948µs 46.056µs ± 0.055µs 46.047µs ± 0.036µs 46.088µs 46.143µs 46.211µs 46.240µs 0.42% 0.721 0.793 0.12% 0.004µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21626302.774op/s 21712616.120op/s ± 25699.296op/s 21717019.993op/s ± 16795.332op/s 21730282.169op/s 21747572.855op/s 21762534.990op/s 21763722.390op/s 0.22% -0.713 0.775 0.12% 1817.215op/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.697µs; 537.081µs] or [-0.036%; +0.036%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1861930.136op/s; 1863257.565op/s] or [-0.036%; +0.036%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [381.899µs; 381.989µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2617879.714op/s; 2618494.927op/s] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [189.926µs; 189.970µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5263991.852op/s; 5265217.844op/s] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [36.575µs; 36.589µs] or [-0.020%; +0.020%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [27330363.350op/s; 27341247.863op/s] or [-0.020%; +0.020%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [46.049µs; 46.064µs] or [-0.016%; +0.016%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21709054.445op/s; 21716177.795op/s] or [-0.016%; +0.016%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.227µs 205.817µs ± 0.384µs 205.752µs ± 0.241µs 206.031µs 206.393µs 207.181µs 207.688µs 0.94% 1.410 3.634 0.19% 0.027µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 4814904.654op/s 4858712.010op/s ± 9049.774op/s 4860209.859op/s ± 5688.646op/s 4865183.625op/s 4869561.043op/s 4871906.210op/s 4872645.508op/s 0.26% -1.389 3.536 0.19% 639.916op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 18.571µs 18.626µs ± 0.053µs 18.611µs ± 0.017µs 18.642µs 18.691µs 18.803µs 19.126µs 2.77% 5.038 40.225 0.28% 0.004µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 52284222.350op/s 53688406.103op/s ± 150407.635op/s 53731529.503op/s ± 50498.901op/s 53768028.096op/s 53811437.927op/s 53833993.386op/s 53847494.768op/s 0.22% -4.898 38.362 0.28% 10635.426op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.758µs 10.825µs ± 0.033µs 10.823µs ± 0.019µs 10.844µs 10.889µs 10.907µs 10.910µs 0.81% 0.455 -0.145 0.30% 0.002µs 1 200
normalization/normalize_name/normalize_name/good throughput 91655244.744op/s 92378702.699op/s ± 279020.635op/s 92399929.581op/s ± 165962.754op/s 92560110.273op/s 92814887.871op/s 92890204.394op/s 92957906.389op/s 0.60% -0.441 -0.159 0.30% 19729.738op/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.763µs; 205.870µs] or [-0.026%; +0.026%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [4857457.798op/s; 4859966.222op/s] or [-0.026%; +0.026%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [18.619µs; 18.633µs] or [-0.039%; +0.039%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [53667561.051op/s; 53709251.155op/s] or [-0.039%; +0.039%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.821µs; 10.830µs] or [-0.042%; +0.042%] None None None
normalization/normalize_name/normalize_name/good throughput [92340033.122op/s; 92417372.275op/s] or [-0.042%; +0.042%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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 144.070µs 146.067µs ± 1.704µs 145.734µs ± 0.411µs 146.221µs 147.644µs 152.768µs 162.409µs 11.44% 5.765 45.513 1.16% 0.120µ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 [145.831µs; 146.303µs] or [-0.162%; +0.162%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.567ms 14.640ms ± 0.032ms 14.636ms ± 0.016ms 14.651ms 14.687ms 14.755ms 14.805ms 1.16% 1.721 5.646 0.22% 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.635ms; 14.644ms] or [-0.030%; +0.030%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.403ms 48.740ms ± 0.918ms 48.568ms ± 0.112ms 48.741ms 48.990ms 53.400ms 59.099ms 21.68% 8.694 86.282 1.88% 0.065ms 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.612ms; 48.867ms] or [-0.261%; +0.261%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.453µs 2.496µs ± 0.034µs 2.481µs ± 0.019µs 2.524µs 2.558µs 2.565µs 2.569µs 3.56% 0.629 -1.017 1.35% 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.491µs; 2.500µs] or [-0.188%; +0.188%] None None None

Group 18

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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 188.524ns 190.890ns ± 2.099ns 190.667ns ± 1.491ns 192.016ns 194.592ns 197.647ns 200.460ns 5.14% 1.369 2.796 1.10% 0.148ns 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.599ns; 191.181ns] or [-0.152%; +0.152%] None None None

Group 19

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz b32f97d 1769990251 levi/fix-windows-declspec-vars
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.977µs 5.066µs ± 0.042µs 5.080µs ± 0.027µs 5.097µs 5.126µs 5.129µs 5.131µs 1.00% -0.320 -1.175 0.83% 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.061µs; 5.072µs] or [-0.115%; +0.115%] None None None

Baseline

Omitted due to size.

@codecov-commenter
Copy link

codecov-commenter commented Jan 22, 2026

Codecov Report

❌ Patch coverage is 0% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.94%. Comparing base (c9d6835) to head (b32f97d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1468      +/-   ##
==========================================
- Coverage   70.98%   70.94%   -0.04%     
==========================================
  Files         422      422              
  Lines       68791    68825      +34     
==========================================
  Hits        48831    48831              
- Misses      19960    19994      +34     
Components Coverage Δ
libdd-crashtracker 60.92% <ø> (+0.05%) ⬆️
libdd-crashtracker-ffi 16.21% <ø> (ø)
libdd-alloc 98.73% <ø> (ø)
libdd-data-pipeline 86.84% <ø> (ø)
libdd-data-pipeline-ffi 78.57% <ø> (ø)
libdd-common 80.97% <ø> (ø)
libdd-common-ffi 74.54% <ø> (ø)
libdd-telemetry 59.82% <ø> (+0.03%) ⬆️
libdd-telemetry-ffi 21.17% <ø> (ø)
libdd-dogstatsd-client 83.75% <ø> (ø)
datadog-ipc 82.60% <ø> (ø)
libdd-profiling 81.51% <ø> (+0.01%) ⬆️
libdd-profiling-ffi 64.71% <ø> (ø)
datadog-sidecar 34.94% <ø> (ø)
datdog-sidecar-ffi 10.25% <ø> (ø)
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.45% <ø> (ø)
datadog-tracer-flare 63.49% <ø> (ø)
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.

@github-actions github-actions bot removed the profiling Relates to the profiling* modules. label Jan 22, 2026
@dd-octo-sts
Copy link

dd-octo-sts bot commented Jan 26, 2026

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 8.44 MB 8.44 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 91.81 MB 91.81 MB 0% (0 B) 👌
aarch64-apple-darwin
Artifact Baseline Commit Change
/aarch64-apple-darwin/lib/libdatadog_profiling.a 62.80 MB 62.80 MB 0% (0 B) 👌
/aarch64-apple-darwin/lib/libdatadog_profiling.dylib 9.48 MB 9.48 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 106.15 MB 106.15 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.26 MB 25.26 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 75.59 KB 75.59 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 167.23 MB 167.18 MB --.02% (-48.00 KB) 💪
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 847.79 MB 847.79 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 9.61 MB 9.61 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 75.59 KB 75.59 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 23.10 MB 23.10 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 48.39 MB 48.39 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 21.33 MB 21.33 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 76.76 KB 76.76 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 171.34 MB 171.31 MB --.01% (-32.00 KB) 💪
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 834.55 MB 834.55 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 7.27 MB 7.27 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 76.76 KB 76.76 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 24.71 MB 24.71 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 44.10 MB 44.10 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 80.27 MB 80.27 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 9.90 MB 9.90 MB 0% (0 B) 👌
x86_64-apple-darwin
Artifact Baseline Commit Change
/x86_64-apple-darwin/lib/libdatadog_profiling.a 64.68 MB 64.68 MB 0% (0 B) 👌
/x86_64-apple-darwin/lib/libdatadog_profiling.dylib 10.51 MB 10.51 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 100.11 MB 100.11 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.48 MB 11.48 MB 0% (0 B) 👌

@gleocadie gleocadie force-pushed the levi/fix-windows-declspec-vars branch from 0802540 to d844b01 Compare January 29, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci-build common

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants