Skip to content

[Dynamic Instrumentation] DEBUG-5101 line probe two segment fallback#8543

Merged
dudikeleti merged 2 commits into
masterfrom
dudik/debug-5101-line-probe-two-segment-fallback
May 19, 2026
Merged

[Dynamic Instrumentation] DEBUG-5101 line probe two segment fallback#8543
dudikeleti merged 2 commits into
masterfrom
dudik/debug-5101-line-probe-two-segment-fallback

Conversation

@dudikeleti

@dudikeleti dudikeleti commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

  • Update LineProbeResolver to support line probe source-file fallback matches when only the last 2 path segments match (down from 4).
  • Keep the existing strict-top-score binding rule, so fallback only binds when a single qualified candidate has the strictly highest matching-trailing-segment score across all currently loaded symbolicated assemblies.
  • Preserve bound diagnostics for fallback resolutions by reporting FallbackTrailingSuffixMatch together with the matched trailing-segment count.
  • Extend LineProbeResolverTest coverage for 2-segment fallback binding and for picking the highest-scoring candidate when incidental low-scoring matches exist.

Reason for change

  • DEBUG-5101 requires line probes to resolve when the configured source path differs from the PDB path except for the trailing directory and filename (for example unknown-prefix/Controllers/HomeController.cs against a PDB path ending in Controllers/HomeController.cs).
  • Raising the matching reach without weakening safety is the goal: the existing top-score ambiguity check (across assemblies and within each assembly) is sufficient to keep wrong-assembly binding out, so we don't need to add a new uniqueness restriction on top of it.

Implementation details

  • Lower MinTrailingSegmentsForFallbackMatch from 4 to 2 so resolver fallback can match scenarios like unknown-prefix/Controllers/File.cs against a loaded symbolicated assembly path ending in Controllers/File.cs.
  • Encapsulate the cross-assembly qualified-candidate counter inside BestFallbackMatchSelection (replacing the standalone ref int qualifiedFallbackMatchCount parameter on TrackClosestPathMatch) and expose it as QualifiedMatchCount so the diagnostics path keeps the same information.
  • Preserve the binding rule: bind to the candidate with the strictly highest matching-trailing-segment score, reject when the top score is tied across assemblies or when the top-scoring assembly is itself internally ambiguous (HasAmbiguousBestMatch).
  • Keep diagnostics explicit for successful fallback binds by continuing to emit LineProbePathMatchType.FallbackTrailingSuffixMatch together with the trailing-segment count used to resolve the probe.
  • The resolver change stays in warm-path debugger resolution logic and only adds integer bookkeeping on top of the existing assembly scan; no new allocations on this path.

Test coverage

  • Ran:
    • LineProbeResolverTest
  • Added coverage for:
    • 2-segment fallback binding (FallbackMatchBindsWhenOnlyTwoTrailingSegmentsMatch)
    • binding to the highest-scoring qualified candidate when incidental lower-scoring matches exist (BestFallbackMatchSelectionBindsHighestScoreOverIncidentalLowScoringCandidates)
    • binding when a single qualified candidate is tracked (BestFallbackMatchSelectionBindsWhenSingleQualifiedCandidateIsTracked)

@dudikeleti
dudikeleti requested a review from a team as a code owner April 29, 2026 23:51

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 733f8955fc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +551 to +552
var suffixMatch = GetClosestPathBySuffix(pathQuery, querySegmentCount);
return suffixMatch.IsSuccessful ? suffixMatch.BestQualifiedPath : null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Route case-insensitive suffix matches through global checks

When this new fallback succeeds, TryFindAssemblyContainingFile treats the returned path as an exact match and returns before scanning the remaining loaded assemblies. If two loaded assemblies both have a PDB document ending in the same source suffix (for example src/Shared/Feature/MyFile.cs) and the probe path only differs by casing, the first assembly enumerated is bound even though the match is globally ambiguous; the ambiguity guard added for fallback matches is bypassed here. Consider keeping this helper as a pure exact lookup or returning enough match metadata so the caller can apply the same global uniqueness check.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will be handled in a follow-up PR.

@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Apr 30, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8543) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration73.22 ± (73.22 - 73.78) ms72.92 ± (72.84 - 73.26) ms-0.4%
.NET Framework 4.8 - Bailout
duration77.68 ± (77.60 - 77.99) ms76.51 ± (76.39 - 76.78) ms-1.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1102.86 ± (1103.27 - 1110.31) ms1109.78 ± (1114.45 - 1125.26) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.32 ± (22.28 - 22.36) ms22.57 ± (22.52 - 22.61) ms+1.1%✅⬆️
process.time_to_main_ms83.87 ± (83.69 - 84.05) ms84.65 ± (84.45 - 84.85) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.90 - 10.91) MB10.92 ± (10.92 - 10.93) MB+0.2%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.80 ± (22.73 - 22.86) ms22.69 ± (22.63 - 22.75) ms-0.5%
process.time_to_main_ms87.54 ± (87.18 - 87.91) ms87.47 ± (87.15 - 87.78) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.93) MB10.95 ± (10.94 - 10.95) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms210.40 ± (209.54 - 211.25) ms214.68 ± (213.75 - 215.61) ms+2.0%✅⬆️
process.time_to_main_ms536.32 ± (534.97 - 537.67) ms539.99 ± (538.70 - 541.28) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.34 ± (48.30 - 48.38) MB48.40 ± (48.36 - 48.43) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 6 - Baseline
process.internal_duration_ms21.75 ± (21.69 - 21.81) ms21.36 ± (21.32 - 21.40) ms-1.8%
process.time_to_main_ms76.64 ± (76.37 - 76.92) ms74.25 ± (74.03 - 74.46) ms-3.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.63) MB10.63 ± (10.63 - 10.64) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.31 ± (21.27 - 21.36) ms21.13 ± (21.09 - 21.17) ms-0.8%
process.time_to_main_ms75.57 ± (75.35 - 75.78) ms74.34 ± (74.18 - 74.50) ms-1.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.74 - 10.75) MB10.76 ± (10.75 - 10.76) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms377.46 ± (375.43 - 379.49) ms377.96 ± (375.93 - 380.00) ms+0.1%✅⬆️
process.time_to_main_ms540.16 ± (538.75 - 541.57) ms542.46 ± (541.18 - 543.75) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.92 ± (49.90 - 49.95) MB49.93 ± (49.91 - 49.96) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.43 ± (19.38 - 19.48) ms19.63 ± (19.58 - 19.68) ms+1.0%✅⬆️
process.time_to_main_ms72.82 ± (72.57 - 73.07) ms74.54 ± (74.26 - 74.83) ms+2.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.69) MB7.69 ± (7.68 - 7.69) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.68 ± (19.62 - 19.74) ms19.48 ± (19.44 - 19.52) ms-1.0%
process.time_to_main_ms76.05 ± (75.74 - 76.35) ms74.26 ± (74.08 - 74.43) ms-2.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.71 - 7.72) MB7.73 ± (7.73 - 7.74) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms297.85 ± (295.77 - 299.92) ms294.15 ± (291.92 - 296.38) ms-1.2%
process.time_to_main_ms493.53 ± (492.55 - 494.51) ms499.00 ± (497.68 - 500.31) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.89 ± (36.85 - 36.92) MB36.88 ± (36.85 - 36.91) MB-0.0%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.5%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration200.45 ± (200.17 - 201.21) ms200.22 ± (199.94 - 200.80) ms-0.1%
.NET Framework 4.8 - Bailout
duration205.50 ± (204.98 - 205.93) ms203.92 ± (203.43 - 204.10) ms-0.8%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1199.94 ± (1203.03 - 1210.98) ms1204.19 ± (1207.44 - 1217.25) ms+0.4%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms194.42 ± (193.82 - 195.03) ms196.41 ± (195.95 - 196.86) ms+1.0%✅⬆️
process.time_to_main_ms84.38 ± (84.05 - 84.70) ms85.08 ± (84.80 - 85.35) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.14 ± (16.12 - 16.16) MB16.06 ± (16.04 - 16.08) MB-0.5%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.7%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms194.90 ± (194.37 - 195.44) ms195.35 ± (194.96 - 195.75) ms+0.2%✅⬆️
process.time_to_main_ms85.97 ± (85.71 - 86.24) ms85.79 ± (85.55 - 86.02) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.18 ± (16.15 - 16.21) MB16.08 ± (16.06 - 16.11) MB-0.6%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-0.5%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms387.90 ± (386.64 - 389.16) ms390.38 ± (388.93 - 391.82) ms+0.6%✅⬆️
process.time_to_main_ms532.17 ± (531.06 - 533.28) ms537.94 ± (536.54 - 539.34) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.91 ± (57.67 - 58.15) MB58.19 ± (57.98 - 58.41) MB+0.5%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms198.59 ± (198.12 - 199.05) ms200.31 ± (199.84 - 200.79) ms+0.9%✅⬆️
process.time_to_main_ms72.45 ± (72.20 - 72.70) ms73.28 ± (73.02 - 73.53) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.34 ± (16.32 - 16.36) MB16.32 ± (16.29 - 16.34) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.0%
.NET 6 - Bailout
process.internal_duration_ms197.75 ± (197.24 - 198.25) ms199.88 ± (199.47 - 200.30) ms+1.1%✅⬆️
process.time_to_main_ms73.39 ± (73.15 - 73.63) ms74.12 ± (73.93 - 74.31) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.40 ± (16.37 - 16.42) MB16.36 ± (16.34 - 16.39) MB-0.2%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.9%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms596.40 ± (594.10 - 598.70) ms593.31 ± (590.87 - 595.75) ms-0.5%
process.time_to_main_ms534.86 ± (533.87 - 535.84) ms538.50 ± (537.45 - 539.56) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.41 ± (61.31 - 61.52) MB61.41 ± (61.30 - 61.51) MB-0.0%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms197.87 ± (197.37 - 198.36) ms197.58 ± (197.15 - 198.02) ms-0.1%
process.time_to_main_ms72.29 ± (72.02 - 72.56) ms72.94 ± (72.66 - 73.22) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.64 ± (11.62 - 11.66) MB11.76 ± (11.73 - 11.78) MB+1.0%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.3%
.NET 8 - Bailout
process.internal_duration_ms196.80 ± (196.35 - 197.25) ms195.86 ± (195.51 - 196.22) ms-0.5%
process.time_to_main_ms73.24 ± (73.01 - 73.48) ms73.35 ± (73.10 - 73.60) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.71 ± (11.70 - 11.73) MB11.78 ± (11.76 - 11.80) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.2%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms515.88 ± (513.41 - 518.35) ms511.34 ± (508.34 - 514.34) ms-0.9%
process.time_to_main_ms492.23 ± (491.38 - 493.08) ms494.15 ± (493.37 - 494.94) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.67 ± (50.63 - 50.71) MB50.61 ± (50.57 - 50.65) MB-0.1%
runtime.dotnet.threads.count29 ± (29 - 30)30 ± (29 - 30)+0.2%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8543) - mean (73ms)  : 70, 76
    master - mean (74ms)  : 69, 78

    section Bailout
    This PR (8543) - mean (77ms)  : 75, 79
    master - mean (78ms)  : 75, 81

    section CallTarget+Inlining+NGEN
    This PR (8543) - mean (1,120ms)  : 1038, 1202
    master - mean (1,107ms)  : 1057, 1157

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8543) - mean (114ms)  : 110, 118
    master - mean (113ms)  : 109, 117

    section Bailout
    This PR (8543) - mean (117ms)  : 111, 123
    master - mean (117ms)  : 111, 124

    section CallTarget+Inlining+NGEN
    This PR (8543) - mean (792ms)  : 769, 816
    master - mean (784ms)  : 763, 805

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8543) - mean (102ms)  : 98, 106
    master - mean (105ms)  : 100, 110

    section Bailout
    This PR (8543) - mean (102ms)  : 99, 104
    master - mean (104ms)  : 99, 108

    section CallTarget+Inlining+NGEN
    This PR (8543) - mean (952ms)  : 911, 993
    master - mean (951ms)  : 916, 987

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8543) - mean (102ms)  : 97, 107
    master - mean (100ms)  : 95, 104

    section Bailout
    This PR (8543) - mean (101ms)  : 98, 105
    master - mean (104ms)  : 98, 109

    section CallTarget+Inlining+NGEN
    This PR (8543) - mean (823ms)  : 788, 858
    master - mean (821ms)  : 793, 849

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8543) - mean (200ms)  : 196, 205
    master - mean (201ms)  : 194, 207

    section Bailout
    This PR (8543) - mean (204ms)  : 201, 207
    master - mean (205ms)  : 201, 210

    section CallTarget+Inlining+NGEN
    This PR (8543) - mean (1,212ms)  : 1136, 1289
    master - mean (1,207ms)  : 1147, 1267

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8543) - mean (290ms)  : 282, 298
    master - mean (288ms)  : 280, 297

    section Bailout
    This PR (8543) - mean (290ms)  : 285, 295
    master - mean (290ms)  : 283, 298

    section CallTarget+Inlining+NGEN
    This PR (8543) - mean (968ms)  : 946, 991
    master - mean (961ms)  : 938, 984

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8543) - mean (282ms)  : 277, 287
    master - mean (280ms)  : 270, 289

    section Bailout
    This PR (8543) - mean (283ms)  : 278, 287
    master - mean (280ms)  : 272, 287

    section CallTarget+Inlining+NGEN
    This PR (8543) - mean (1,162ms)  : 1116, 1207
    master - mean (1,160ms)  : 1125, 1195

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8543) - mean (281ms)  : 274, 287
    master - mean (280ms)  : 271, 290

    section Bailout
    This PR (8543) - mean (279ms)  : 274, 285
    master - mean (281ms)  : 271, 290

    section CallTarget+Inlining+NGEN
    This PR (8543) - mean (1,039ms)  : 990, 1089
    master - mean (1,040ms)  : 1005, 1076

Loading

@dudikeleti
dudikeleti force-pushed the dudik/debug-5101-line-probe-two-segment-fallback branch from 733f895 to 4e04d5d Compare May 11, 2026 12:38
@dudikeleti
dudikeleti marked this pull request as draft May 11, 2026 16:07
@dudikeleti
dudikeleti requested a review from Copilot May 13, 2026 10:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Support DEBUG-5101 source path fallback matches when the last two segments uniquely identify a loaded symbolicated assembly, while preserving diagnostics that explain the fallback binding.

Made-with: Cursor
@dudikeleti
dudikeleti force-pushed the dudik/debug-5101-line-probe-two-segment-fallback branch from 4e04d5d to fd06c02 Compare May 19, 2026 10:47
@dudikeleti
dudikeleti marked this pull request as ready for review May 19, 2026 10:48
@dudikeleti
dudikeleti enabled auto-merge (squash) May 19, 2026 11:02
@pr-commenter

pr-commenter Bot commented May 19, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-19 11:47:26

Comparing candidate commit fd06c02 in PR branch dudik/debug-5101-line-probe-two-segment-fallback with baseline commit ec69fc0 in branch master.

Some scenarios are present only in baseline or only in candidate runs. If you didn't create or remove some scenarios in your branch, this maybe a sign of crashed benchmarks 💥💥💥
Check Gitlab CI job log to find if any benchmark has crashed.

Scenarios present only in baseline:

  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472

Found 2 performance improvements and 4 performance regressions! Performance is the same for 51 metrics, 15 unstable metrics, 88 known flaky benchmarks, 38 flaky benchmarks without significant changes.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]
  • 🟥 throughput [-25975.551op/s; -11218.177op/s] or [-14.460%; -6.245%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net6.0

  • 🟥 throughput [-69861.576op/s; -63061.604op/s] or [-47.458%; -42.839%]
  • 🟩 execution_time [-42.518ms; -27.680ms] or [-21.099%; -13.736%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync netcoreapp3.1

  • 🟩 execution_time [-100.435ms; -98.467ms] or [-50.157%; -49.174%]

scenario:Benchmarks.Trace.NLogBenchmark.EnrichedLog net6.0

  • 🟥 throughput [-89536.361op/s; -69703.664op/s] or [-44.894%; -34.950%]

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0

  • unstable execution_time [-7.236ms; +14.781ms] or [-5.284%; +10.793%]
  • unstable throughput [-17048.598op/s; +4936.787op/s] or [-9.753%; +2.824%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1

  • unstable execution_time [-20682.411µs; +21425.055µs] or [-15.510%; +16.066%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0

  • unstable execution_time [-5.966ms; +30.584ms] or [-4.154%; +21.297%]
  • unstable throughput [-16465.780op/s; +4572.794op/s] or [-11.269%; +3.130%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0

  • unstable execution_time [-38.742ms; -5.814ms] or [-25.927%; -3.891%]
  • unstable throughput [-5819.105op/s; +18552.490op/s] or [-3.353%; +10.691%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1

  • unstable execution_time [-37.243ms; -11.232ms] or [-33.097%; -9.982%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • unstable execution_time [-27.212ms; -6.491ms] or [-16.439%; -3.921%]
  • 🟩 throughput [+15569.117op/s; +26228.336op/s] or [+13.160%; +22.169%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1

  • unstable execution_time [-34.742ms; -9.556ms] or [-30.462%; -8.379%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0

  • unstable execution_time [-11.497ms; +19.522ms] or [-7.590%; +12.888%]
  • unstable throughput [-4618.606op/s; +16065.893op/s] or [-2.543%; +8.846%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0

  • unstable execution_time [+11.734ms; +47.060ms] or [+7.533%; +30.212%]
  • unstable throughput [-33711.981op/s; -6619.540op/s] or [-19.897%; -3.907%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1

  • unstable execution_time [-40.822ms; -1.980ms] or [-30.554%; -1.482%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]
  • unstable execution_time [-21.140ms; -3.192ms] or [-15.070%; -2.275%]
  • unstable throughput [-27129.697op/s; +5955.102op/s] or [-14.581%; +3.201%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1

  • unstable execution_time [+1.121ms; +40.881ms] or [+1.001%; +36.525%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-7.698%; -7.691%]
  • unstable execution_time [-43.204ms; -8.618ms] or [-25.318%; -5.051%]
  • unstable throughput [+2404.798op/s; +24602.207op/s] or [+1.956%; +20.006%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1

  • unstable execution_time [-17510.663µs; +17408.267µs] or [-15.763%; +15.671%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0

  • unstable execution_time [-15.290ms; +9.435ms] or [-10.889%; +6.719%]
  • unstable throughput [-7183.246op/s; +21694.607op/s] or [-4.169%; +12.592%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-5.210%; -5.202%]
  • unstable execution_time [-35.460ms; -2.151ms] or [-23.877%; -1.448%]
  • unstable throughput [-216.502op/s; +23568.636op/s] or [-0.210%; +22.852%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1

  • unstable execution_time [+30.084ms; +62.890ms] or [+34.245%; +71.588%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • unstable execution_time [-5.905ms; +32.051ms] or [-3.609%; +19.590%]
  • unstable throughput [-13238.106op/s; +5276.552op/s] or [-11.301%; +4.504%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1

  • unstable execution_time [-30.488ms; -5.409ms] or [-27.541%; -4.886%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+9.570%; +9.578%]
  • unstable execution_time [-20.949ms; +17.953ms] or [-12.394%; +10.621%]
  • unstable throughput [-16488.267op/s; +6377.179op/s] or [-11.173%; +4.321%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1

  • unstable execution_time [-19.157ms; +17.006ms] or [-17.354%; +15.405%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]
  • unstable execution_time [-26.030ms; -7.626ms] or [-18.456%; -5.407%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1

  • unstable execution_time [-18.320ms; +16.272ms] or [-16.164%; +14.357%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-6472.317op/s; -5513.532op/s] or [-7.674%; -6.537%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • unstable execution_time [-63.788ms; -37.672ms] or [-31.824%; -18.795%]
  • unstable throughput [-46009.020op/s; -31854.923op/s] or [-38.672%; -26.775%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • unstable execution_time [-90.001ms; -66.828ms] or [-45.267%; -33.612%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+321.301ms; +336.891ms] or [+159.441%; +167.177%]
  • 🟥 throughput [-54.642op/s; -41.751op/s] or [-9.831%; -7.512%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟥 execution_time [+102.871ms; +108.254ms] or [+81.274%; +85.527%]
  • 🟩 throughput [+60.734op/s; +79.301op/s] or [+8.008%; +10.456%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+83.961ms; +84.748ms] or [+74.302%; +74.999%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.528%; +27.540%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+9.299%; +9.310%]
  • 🟩 execution_time [-68.405ms; -49.902ms] or [-31.948%; -23.306%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • 🟩 execution_time [-47.578ms; -26.766ms] or [-22.656%; -12.746%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-269252.594op/s; -264950.309op/s] or [-27.492%; -27.053%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • unstable execution_time [-71.286ms; -45.379ms] or [-31.790%; -20.237%]
  • unstable throughput [-262360.432op/s; -148951.103op/s] or [-28.028%; -15.913%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • unstable execution_time [-45.224ms; -21.536ms] or [-22.574%; -10.750%]
  • 🟥 throughput [-128362.823op/s; -112236.759op/s] or [-18.443%; -16.126%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0

  • 🟩 execution_time [-42.282ms; -22.958ms] or [-21.333%; -11.583%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1

  • 🟩 execution_time [-61.002ms; -45.094ms] or [-31.101%; -22.991%]
  • 🟩 throughput [+9034.663op/s; +11693.664op/s] or [+7.197%; +9.316%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • 🟩 execution_time [-72.182ms; -55.463ms] or [-35.688%; -27.423%]
  • unstable throughput [+61068.763op/s; +367971.319op/s] or [+2.036%; +12.270%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • unstable execution_time [-63.406ms; -37.152ms] or [-29.228%; -17.126%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • 🟥 execution_time [+301.563ms; +315.691ms] or [+150.681%; +157.740%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net6.0

  • 🟥 execution_time [+124.200ms; +131.551ms] or [+62.634%; +66.342%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1

  • unstable execution_time [+251.870ms; +290.454ms] or [+126.872%; +146.308%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • 🟥 execution_time [+299.327ms; +312.927ms] or [+147.018%; +153.697%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • 🟥 execution_time [+283.329ms; +301.264ms] or [+138.509%; +147.277%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟥 execution_time [+288.394ms; +301.152ms] or [+144.139%; +150.515%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • 🟥 execution_time [+21.003µs; +44.594µs] or [+6.705%; +14.237%]
  • 🟥 throughput [-417.014op/s; -218.469op/s] or [-13.000%; -6.810%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.864ms; +300.831ms] or [+149.663%; +150.145%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • unstable execution_time [+357.130ms; +377.390ms] or [+388.037%; +410.050%]
  • 🟥 throughput [-7009.322op/s; -6799.341op/s] or [-57.597%; -55.871%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • unstable execution_time [+225.715ms; +301.861ms] or [+171.384%; +229.200%]
  • 🟥 throughput [-1283.748op/s; -1053.033op/s] or [-12.428%; -10.194%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+302.465ms; +316.360ms] or [+139.070%; +145.459%]
  • 🟥 throughput [-685.892op/s; -669.438op/s] or [-62.149%; -60.658%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • unstable execution_time [-44.514ms; +89.652ms] or [-18.970%; +38.206%]
  • 🟥 throughput [-716.861op/s; -622.147op/s] or [-47.815%; -41.497%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+336.409ms; +345.019ms] or [+201.212%; +206.361%]
  • 🟥 throughput [-735.038op/s; -699.891op/s] or [-51.180%; -48.732%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1

  • 🟩 execution_time [-155.934µs; -145.070µs] or [-5.425%; -5.047%]
  • 🟩 throughput [+18.517op/s; +19.958op/s] or [+5.323%; +5.737%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • 🟩 execution_time [-191.039µs; -173.814µs] or [-9.677%; -8.805%]
  • 🟩 throughput [+49.070op/s; +54.406op/s] or [+9.687%; +10.740%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+308.624ms; +323.105ms] or [+155.417%; +162.710%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • unstable execution_time [+179.166ms; +224.376ms] or [+89.780%; +112.435%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • 🟥 execution_time [+303.828ms; +309.245ms] or [+152.630%; +155.351%]
  • 🟩 throughput [+33647.628op/s; +43581.881op/s] or [+7.088%; +9.181%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+303.477ms; +314.107ms] or [+152.396%; +157.734%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • unstable execution_time [+164.354ms; +216.600ms] or [+81.266%; +107.099%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • 🟥 execution_time [+304.606ms; +311.978ms] or [+154.388%; +158.124%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.367ms; +316.285ms] or [+151.761%; +158.746%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • unstable execution_time [+139.521ms; +223.552ms] or [+69.538%; +111.420%]
  • 🟩 throughput [+42459.047op/s; +54460.256op/s] or [+8.431%; +10.814%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • 🟥 execution_time [+299.162ms; +306.079ms] or [+148.831%; +152.272%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • unstable execution_time [-70.585ms; -42.744ms] or [-32.822%; -19.876%]
  • unstable throughput [-139005.238op/s; -88623.147op/s] or [-38.133%; -24.312%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1

  • unstable execution_time [-51.418ms; -24.346ms] or [-25.792%; -12.212%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟩 allocated_mem [-25.088KB; -25.067KB] or [-9.152%; -9.144%]
  • unstable execution_time [-46.265µs; +10.911µs] or [-9.144%; +2.157%]
  • unstable throughput [-32.311op/s; +173.282op/s] or [-1.612%; +8.647%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1

  • 🟩 throughput [+91.835op/s; +247.924op/s] or [+5.247%; +14.164%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • unstable execution_time [+6.052µs; +11.307µs] or [+14.304%; +26.726%]
  • 🟥 throughput [-4852.686op/s; -2851.849op/s] or [-20.428%; -12.005%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1

  • unstable execution_time [-11.384µs; -0.410µs] or [-17.661%; -0.637%]
  • unstable throughput [+511.011op/s; +2552.361op/s] or [+3.135%; +15.660%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.669ms; +316.425ms] or [+153.491%; +159.939%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • unstable execution_time [+280.156ms; +301.951ms] or [+142.599%; +153.692%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • unstable execution_time [+266.735ms; +292.247ms] or [+133.534%; +146.306%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0

  • unstable execution_time [-52.392ms; -27.766ms] or [-26.188%; -13.879%]
  • unstable throughput [-164056.795op/s; -101132.915op/s] or [-31.053%; -19.142%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1

  • unstable execution_time [-58.131ms; -25.929ms] or [-29.466%; -13.143%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.241ms; +313.056ms] or [+149.643%; +156.030%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+303.268ms; +310.145ms] or [+152.287%; +155.740%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+305.239ms; +312.757ms] or [+154.798%; +158.610%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.498ms; +301.257ms] or [+149.890%; +150.269%]
  • 🟩 throughput [+59969292.313op/s; +60271811.421op/s] or [+43.673%; +43.894%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • unstable execution_time [+369.493ms; +381.380ms] or [+459.531%; +474.314%]
  • 🟥 throughput [-7387.018op/s; -7181.488op/s] or [-57.105%; -55.516%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • 🟥 execution_time [+303.122ms; +304.574ms] or [+151.190%; +151.914%]
  • 🟥 throughput [-29975113.326op/s; -28955623.244op/s] or [-13.277%; -12.825%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • unstable execution_time [-70.140ms; -33.177ms] or [-34.353%; -16.249%]
  • unstable throughput [-260264.898op/s; -89451.071op/s] or [-24.300%; -8.352%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • unstable execution_time [-90.210ms; -68.957ms] or [-45.647%; -34.893%]
  • 🟩 throughput [+49834.961op/s; +70076.902op/s] or [+5.768%; +8.111%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0

  • unstable execution_time [-78.875ms; -55.727ms] or [-41.094%; -29.034%]
  • unstable throughput [-132628.579op/s; +13943.317op/s] or [-10.266%; +1.079%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • unstable execution_time [-94.241ms; -71.950ms] or [-46.302%; -35.350%]
  • 🟩 throughput [+88104.317op/s; +97323.189op/s] or [+8.750%; +9.666%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • unstable execution_time [-67.608ms; -32.178ms] or [-33.763%; -16.069%]
  • unstable throughput [-129848.848op/s; -37953.906op/s] or [-23.578%; -6.892%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • unstable execution_time [-75.027ms; -48.142ms] or [-37.696%; -24.188%]
  • 🟩 throughput [+22869.327op/s; +32600.271op/s] or [+5.119%; +7.297%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • unstable execution_time [-77.244ms; -45.676ms] or [-38.636%; -22.846%]
  • unstable throughput [-93760.080op/s; +25689.975op/s] or [-10.475%; +2.870%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

  • unstable execution_time [-29.674ms; -6.422ms] or [-15.071%; -3.262%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/apm-reliability/dd-trace-dotnet | check-big-regressions   View in Datadog   GitLab

🔧 Fix in code (Fix with Cursor). Execution of Regression Check failed with exit code 5.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: fd06c02 | Docs | Datadog PR Page | Give us feedback!

@dudikeleti
dudikeleti disabled auto-merge May 19, 2026 12:22
@dudikeleti
dudikeleti enabled auto-merge (squash) May 19, 2026 12:25
@dudikeleti
dudikeleti merged commit 5770ca1 into master May 19, 2026
140 of 141 checks passed
@dudikeleti
dudikeleti deleted the dudik/debug-5101-line-probe-two-segment-fallback branch May 19, 2026 13:18
@github-actions github-actions Bot added this to the vNext-v3 milestone May 19, 2026
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.

3 participants