Skip to content

Revert "[SymDB] DEBUG-5086 SymDB upload enable when DI is disabled"#8550

Merged
dudikeleti merged 1 commit into
masterfrom
dudik/revert-8510-symdb-di-disabled
May 1, 2026
Merged

Revert "[SymDB] DEBUG-5086 SymDB upload enable when DI is disabled"#8550
dudikeleti merged 1 commit into
masterfrom
dudik/revert-8510-symdb-di-disabled

Conversation

@dudikeleti

Copy link
Copy Markdown
Contributor

Summary of changes

Reason for change

  • We observed a startup-time performance impact from initializing SymDB independently of Dynamic Instrumentation. We want to investigate that impact before merging this behavior to master.

Implementation details

  • Reverted the squash commit 01f5157075e90003af48a52c534dd3e6eceac57b.

Other details

This reverts PR #8510 so symbol upload once again follows Dynamic Instrumentation enablement while preserving later file-probe support.

Co-authored-by: Cursor <[email protected]>
@dudikeleti
dudikeleti requested review from a team as code owners May 1, 2026 16:02

@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: 55b5998a5d

ℹ️ 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 +300 to +303
if (!newDebuggerSettings.DynamicInstrumentationEnabled
&& newDebuggerSettings.DynamicSettings.DynamicInstrumentationEnabled != true)
{
return;

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 Do not consume SymDB initialization before remote enablement

When the process starts with DI disabled but another debugger product initializes the manager (for example Code Origin or Exception Replay) and RCM is available, the first call already flips _symDbInitialized at line 281 and then this new guard returns because DI is not yet requested. If remote config later sets dynamic_instrumentation_enabled=true, InitializeSymbolUploaderIfNeeded exits at the compare-exchange and the SymbolsUploader is never created, so remotely enabled DI loses symbol uploads. Move the one-time _symDbInitialized transition until after guards that can become true later, or reset it before returning here.

Useful? React with 👍 / 👎.

@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8550) 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
duration74.01 ± (74.00 - 74.53) ms72.63 ± (72.65 - 73.04) ms-1.9%
.NET Framework 4.8 - Bailout
duration77.14 ± (76.87 - 77.31) ms76.33 ± (76.15 - 76.53) ms-1.1%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1121.75 ± (1121.26 - 1128.54) ms1077.89 ± (1076.85 - 1083.45) ms-3.9%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.70 ± (22.63 - 22.76) ms22.48 ± (22.43 - 22.52) ms-1.0%
process.time_to_main_ms86.35 ± (86.03 - 86.67) ms85.21 ± (84.96 - 85.46) ms-1.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.92 - 10.93) MB10.90 ± (10.90 - 10.91) MB-0.2%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.66 ± (22.56 - 22.75) ms22.29 ± (22.26 - 22.32) ms-1.6%
process.time_to_main_ms87.35 ± (86.97 - 87.73) ms85.79 ± (85.59 - 85.99) ms-1.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.95 - 10.96) MB10.94 ± (10.93 - 10.94) MB-0.1%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms205.04 ± (204.47 - 205.60) ms214.18 ± (213.31 - 215.05) ms+4.5%✅⬆️
process.time_to_main_ms563.88 ± (562.56 - 565.20) ms533.60 ± (532.16 - 535.04) ms-5.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.83 ± (49.80 - 49.85) MB48.00 ± (47.97 - 48.02) MB-3.7%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 6 - Baseline
process.internal_duration_ms21.53 ± (21.48 - 21.59) ms21.22 ± (21.18 - 21.26) ms-1.4%
process.time_to_main_ms75.59 ± (75.31 - 75.87) ms73.58 ± (73.39 - 73.77) ms-2.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.62 - 10.62) MB10.62 ± (10.62 - 10.63) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.11 ± (21.07 - 21.15) ms21.74 ± (21.68 - 21.80) ms+3.0%✅⬆️
process.time_to_main_ms74.57 ± (74.41 - 74.73) ms76.91 ± (76.58 - 77.24) ms+3.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.74 ± (10.74 - 10.74) MB10.74 ± (10.74 - 10.75) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms355.19 ± (352.96 - 357.42) ms383.37 ± (381.17 - 385.56) ms+7.9%✅⬆️
process.time_to_main_ms560.98 ± (559.55 - 562.41) ms531.93 ± (530.70 - 533.16) ms-5.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed51.05 ± (51.03 - 51.07) MB49.47 ± (49.44 - 49.49) MB-3.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.3%
.NET 8 - Baseline
process.internal_duration_ms19.72 ± (19.67 - 19.77) ms19.86 ± (19.82 - 19.91) ms+0.7%✅⬆️
process.time_to_main_ms74.23 ± (73.95 - 74.50) ms74.63 ± (74.35 - 74.92) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.67) MB7.66 ± (7.65 - 7.67) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.80 ± (19.75 - 19.86) ms19.66 ± (19.62 - 19.71) ms-0.7%
process.time_to_main_ms76.16 ± (75.89 - 76.42) ms74.43 ± (74.25 - 74.61) ms-2.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.71 - 7.73) MB7.69 ± (7.69 - 7.70) MB-0.3%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms281.95 ± (278.82 - 285.08) ms299.23 ± (296.88 - 301.58) ms+6.1%✅⬆️
process.time_to_main_ms521.33 ± (520.16 - 522.50) ms493.79 ± (492.49 - 495.09) ms-5.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.76 ± (37.72 - 37.79) MB36.50 ± (36.47 - 36.52) MB-3.3%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.6%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration203.71 ± (204.23 - 205.83) ms203.20 ± (203.44 - 204.82) ms-0.3%
.NET Framework 4.8 - Bailout
duration209.60 ± (209.61 - 211.18) ms208.10 ± (208.03 - 209.30) ms-0.7%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1264.48 ± (1261.34 - 1268.23) ms1202.56 ± (1205.57 - 1213.86) ms-4.9%
.NET Core 3.1 - Baseline
process.internal_duration_ms198.66 ± (197.94 - 199.39) ms195.67 ± (195.12 - 196.23) ms-1.5%
process.time_to_main_ms86.08 ± (85.73 - 86.44) ms84.88 ± (84.58 - 85.17) ms-1.4%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.96 ± (15.95 - 15.98) MB16.01 ± (15.99 - 16.03) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-0.4%
.NET Core 3.1 - Bailout
process.internal_duration_ms198.20 ± (197.49 - 198.91) ms195.96 ± (195.40 - 196.53) ms-1.1%
process.time_to_main_ms87.44 ± (87.12 - 87.77) ms86.58 ± (86.30 - 86.86) ms-1.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.07 ± (16.05 - 16.08) MB16.07 ± (16.05 - 16.09) MB+0.0%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.2%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms385.85 ± (384.23 - 387.47) ms390.89 ± (389.28 - 392.49) ms+1.3%✅⬆️
process.time_to_main_ms572.46 ± (570.71 - 574.21) ms532.31 ± (530.93 - 533.69) ms-7.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.58 ± (58.43 - 58.73) MB57.82 ± (57.64 - 58.01) MB-1.3%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms203.29 ± (202.61 - 203.96) ms201.24 ± (200.63 - 201.85) ms-1.0%
process.time_to_main_ms74.70 ± (74.37 - 75.03) ms74.12 ± (73.84 - 74.41) ms-0.8%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.19 ± (16.18 - 16.21) MB16.33 ± (16.31 - 16.35) MB+0.8%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-1.3%
.NET 6 - Bailout
process.internal_duration_ms202.86 ± (202.11 - 203.61) ms201.59 ± (200.99 - 202.19) ms-0.6%
process.time_to_main_ms76.00 ± (75.70 - 76.30) ms75.59 ± (75.34 - 75.85) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.22 ± (16.21 - 16.24) MB16.34 ± (16.32 - 16.36) MB+0.7%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.9%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms571.64 ± (569.31 - 573.97) ms593.69 ± (591.01 - 596.38) ms+3.9%✅⬆️
process.time_to_main_ms574.41 ± (572.97 - 575.84) ms535.89 ± (534.54 - 537.24) ms-6.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.89 ± (61.86 - 61.93) MB60.92 ± (60.82 - 61.02) MB-1.6%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.2%
.NET 8 - Baseline
process.internal_duration_ms202.16 ± (201.39 - 202.92) ms200.43 ± (199.83 - 201.04) ms-0.9%
process.time_to_main_ms74.10 ± (73.79 - 74.42) ms73.67 ± (73.40 - 73.95) ms-0.6%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.62 ± (11.61 - 11.63) MB11.65 ± (11.64 - 11.66) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.1%
.NET 8 - Bailout
process.internal_duration_ms202.51 ± (201.76 - 203.27) ms200.32 ± (199.74 - 200.91) ms-1.1%
process.time_to_main_ms75.37 ± (75.05 - 75.69) ms74.78 ± (74.51 - 75.06) ms-0.8%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.70 ± (11.69 - 11.72) MB11.69 ± (11.68 - 11.70) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)19 ± (19 - 19)-1.6%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms497.43 ± (492.76 - 502.11) ms520.67 ± (516.97 - 524.37) ms+4.7%✅⬆️
process.time_to_main_ms531.34 ± (529.98 - 532.69) ms501.19 ± (499.94 - 502.45) ms-5.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed51.55 ± (51.51 - 51.59) MB50.26 ± (50.22 - 50.31) MB-2.5%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.0%
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 (8550) - mean (73ms)  : 70, 76
    master - mean (74ms)  : 70, 78

    section Bailout
    This PR (8550) - mean (76ms)  : 74, 78
    master - mean (77ms)  : 75, 79

    section CallTarget+Inlining+NGEN
    This PR (8550) - mean (1,080ms)  : 1031, 1129
    master - mean (1,125ms)  : 1073, 1176

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 (8550) - mean (115ms)  : 110, 119
    master - mean (116ms)  : 110, 122

    section Bailout
    This PR (8550) - mean (115ms)  : 111, 119
    master - mean (118ms)  : 110, 125

    section CallTarget+Inlining+NGEN
    This PR (8550) - mean (785ms)  : 755, 816
    master - mean (806ms)  : 776, 836

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8550) - mean (101ms)  : 98, 105
    master - mean (104ms)  : 98, 109

    section Bailout
    This PR (8550) - mean (105ms)  : 98, 113
    master - mean (102ms)  : 99, 105

    section CallTarget+Inlining+NGEN
    This PR (8550) - mean (943ms)  : 907, 979
    master - mean (942ms)  : 901, 984

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8550) - mean (103ms)  : 96, 109
    master - mean (102ms)  : 96, 108

    section Bailout
    This PR (8550) - mean (102ms)  : 100, 104
    master - mean (104ms)  : 98, 110

    section CallTarget+Inlining+NGEN
    This PR (8550) - mean (825ms)  : 777, 874
    master - mean (833ms)  : 781, 885

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 (8550) - mean (204ms)  : 194, 214
    master - mean (205ms)  : 193, 217

    section Bailout
    This PR (8550) - mean (209ms)  : 200, 218
    master - mean (210ms)  : 198, 222

    section CallTarget+Inlining+NGEN
    This PR (8550) - mean (1,210ms)  : 1149, 1270
    master - mean (1,265ms)  : 1215, 1314

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 (8550) - mean (291ms)  : 278, 305
    master - mean (296ms)  : 278, 315

    section Bailout
    This PR (8550) - mean (293ms)  : 277, 309
    master - mean (296ms)  : 281, 312

    section CallTarget+Inlining+NGEN
    This PR (8550) - mean (960ms)  : 933, 988
    master - mean (1,003ms)  : 974, 1033

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8550) - mean (285ms)  : 273, 297
    master - mean (288ms)  : 272, 304

    section Bailout
    This PR (8550) - mean (286ms)  : 273, 299
    master - mean (289ms)  : 273, 305

    section CallTarget+Inlining+NGEN
    This PR (8550) - mean (1,161ms)  : 1120, 1202
    master - mean (1,180ms)  : 1138, 1222

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8550) - mean (286ms)  : 273, 298
    master - mean (288ms)  : 270, 306

    section Bailout
    This PR (8550) - mean (286ms)  : 275, 298
    master - mean (291ms)  : 270, 312

    section CallTarget+Inlining+NGEN
    This PR (8550) - mean (1,064ms)  : 984, 1143
    master - mean (1,061ms)  : 1005, 1118

Loading

@pr-commenter

pr-commenter Bot commented May 1, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-01 17:28:41

Comparing candidate commit 55b5998 in PR branch dudik/revert-8510-symdb-di-disabled with baseline commit 55c9bc1 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 metrics, 0 unstable metrics, 59 known flaky benchmarks, 28 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 ----------------------------------'

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.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • 🟩 throughput [+9403.312op/s; +11638.607op/s] or [+7.904%; +9.783%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+300.515ms; +303.551ms] or [+149.126%; +150.633%]
  • 🟥 throughput [-46.220op/s; -42.285op/s] or [-8.316%; -7.608%]

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

  • 🟥 execution_time [+377.366ms; +379.418ms] or [+298.142%; +299.763%]
  • 🟩 throughput [+98.731op/s; +101.753op/s] or [+13.017%; +13.416%]

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

  • 🟥 execution_time [+393.834ms; +396.720ms] or [+348.529%; +351.082%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.939ms; -11.760ms] or [-7.444%; -5.492%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • 🟥 throughput [-276172.393op/s; -272058.959op/s] or [-28.199%; -27.779%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.244ms; -21.358ms] or [-11.704%; -9.525%]
  • 🟥 throughput [-77454.730op/s; -54060.140op/s] or [-8.275%; -5.775%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • 🟥 throughput [-139257.088op/s; -123259.933op/s] or [-20.009%; -17.710%]

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

  • 🟩 throughput [+8805.983op/s; +11709.904op/s] or [+5.603%; +7.451%]

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

  • 🟩 throughput [+339921.671op/s; +371226.017op/s] or [+11.334%; +12.378%]

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

  • 🟩 execution_time [-18.737ms; -14.388ms] or [-8.637%; -6.632%]
  • 🟩 throughput [+186637.721op/s; +241225.349op/s] or [+7.408%; +9.575%]

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

  • 🟥 execution_time [+299.585ms; +300.309ms] or [+149.692%; +150.054%]

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

  • 🟥 execution_time [+300.437ms; +303.672ms] or [+151.511%; +153.142%]

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

  • 🟥 execution_time [+300.233ms; +302.889ms] or [+151.234%; +152.572%]

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

  • 🟥 execution_time [+296.448ms; +297.239ms] or [+145.603%; +145.992%]

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

  • 🟥 execution_time [+296.431ms; +298.013ms] or [+144.914%; +145.688%]

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

  • 🟥 execution_time [+300.218ms; +302.334ms] or [+150.048%; +151.106%]

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

  • 🟥 execution_time [+20.554µs; +44.108µs] or [+6.562%; +14.081%]
  • 🟥 throughput [-412.932op/s; -214.691op/s] or [-12.872%; -6.693%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+300.374ms; +301.090ms] or [+149.918%; +150.275%]

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

  • unstable execution_time [+364.090ms; +400.440ms] or [+395.599%; +435.094%]
  • 🟩 throughput [+1090.975op/s; +1230.418op/s] or [+8.965%; +10.111%]

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

  • unstable execution_time [+344.020ms; +362.077ms] or [+261.211%; +274.921%]
  • 🟩 throughput [+623.320op/s; +824.076op/s] or [+6.034%; +7.978%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+322.895ms; +374.921ms] or [+148.464%; +172.385%]
  • 🟥 throughput [-531.260op/s; -496.137op/s] or [-48.137%; -44.955%]

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

  • unstable execution_time [+175.673ms; +312.606ms] or [+74.865%; +133.220%]
  • 🟥 throughput [-668.611op/s; -585.149op/s] or [-44.597%; -39.030%]

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

  • 🟥 execution_time [+339.993ms; +352.717ms] or [+203.355%; +210.966%]
  • 🟥 throughput [-408.875op/s; -373.862op/s] or [-28.469%; -26.031%]

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

  • unstable throughput [-7.689op/s; +53.681op/s] or [-1.435%; +10.020%]

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

  • 🟩 throughput [+27.552op/s; +36.327op/s] or [+5.439%; +7.171%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+302.024ms; +303.789ms] or [+152.094%; +152.982%]

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

  • 🟥 execution_time [+301.508ms; +303.074ms] or [+151.086%; +151.871%]

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

  • 🟥 execution_time [+303.086ms; +306.297ms] or [+152.258%; +153.870%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+303.654ms; +304.961ms] or [+152.485%; +153.141%]

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

  • 🟥 execution_time [+299.534ms; +301.380ms] or [+148.106%; +149.019%]

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

  • 🟥 execution_time [+303.222ms; +306.942ms] or [+153.686%; +155.572%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.383ms; +301.985ms] or [+150.765%; +151.569%]

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

  • 🟥 execution_time [+299.826ms; +307.709ms] or [+149.436%; +153.365%]
  • 🟩 throughput [+34040.337op/s; +41723.489op/s] or [+6.759%; +8.285%]

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

  • 🟥 execution_time [+299.622ms; +302.555ms] or [+149.059%; +150.519%]

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

  • 🟩 execution_time [-16.281ms; -12.623ms] or [-7.571%; -5.870%]
  • 🟩 throughput [+19361.071op/s; +26289.034op/s] or [+5.311%; +7.212%]

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

  • 🟩 allocated_mem [-26.688KB; -26.667KB] or [-9.735%; -9.728%]
  • unstable execution_time [-7.853µs; +67.037µs] or [-1.552%; +13.250%]
  • unstable throughput [-146.680op/s; +71.381op/s] or [-7.319%; +3.562%]

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

  • 🟩 allocated_mem [-22.732KB; -22.716KB] or [-8.287%; -8.281%]
  • unstable execution_time [+15.462µs; +130.311µs] or [+2.680%; +22.582%]
  • unstable throughput [-170.349op/s; +27.244op/s] or [-9.732%; +1.556%]

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

  • 🟥 execution_time [+6.285µs; +10.434µs] or [+14.855%; +24.662%]
  • 🟥 throughput [-4680.798op/s; -2871.208op/s] or [-19.705%; -12.087%]

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

  • unstable execution_time [-14.373µs; -7.275µs] or [-22.299%; -11.287%]
  • 🟩 throughput [+1874.754op/s; +3375.833op/s] or [+11.502%; +20.712%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.862ms; +303.967ms] or [+153.083%; +153.642%]

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

  • 🟥 execution_time [+301.517ms; +303.931ms] or [+153.471%; +154.700%]

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

  • 🟥 execution_time [+298.383ms; +300.568ms] or [+149.378%; +150.471%]

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

  • 🟩 throughput [+36230.003op/s; +41602.258op/s] or [+6.858%; +7.874%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+299.777ms; +301.701ms] or [+149.412%; +150.371%]

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

  • 🟥 execution_time [+302.247ms; +303.730ms] or [+151.774%; +152.519%]

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

  • 🟥 execution_time [+302.337ms; +311.673ms] or [+153.326%; +158.060%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.560ms; +301.184ms] or [+149.921%; +150.232%]
  • 🟩 throughput [+51553069.178op/s; +58746358.696op/s] or [+37.544%; +42.783%]

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

  • unstable execution_time [+374.268ms; +408.152ms] or [+465.469%; +507.610%]
  • 🟩 throughput [+1036.066op/s; +1228.836op/s] or [+8.009%; +9.500%]

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

  • 🟥 execution_time [+299.537ms; +300.471ms] or [+149.402%; +149.868%]

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

  • 🟩 throughput [+93385.137op/s; +101934.557op/s] or [+8.719%; +9.517%]

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

  • 🟩 throughput [+54544.605op/s; +74106.683op/s] or [+6.313%; +8.578%]

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

  • 🟩 throughput [+93807.181op/s; +123760.673op/s] or [+7.261%; +9.579%]

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

  • 🟩 throughput [+91908.589op/s; +100561.310op/s] or [+9.128%; +9.987%]

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

  • 🟩 throughput [+49852.900op/s; +55328.505op/s] or [+9.052%; +10.047%]

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

  • 🟩 throughput [+27344.034op/s; +36979.061op/s] or [+6.120%; +8.277%]

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

  • 🟩 throughput [+70776.801op/s; +89226.924op/s] or [+7.908%; +9.969%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1
  • 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.OptimizedCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@dudikeleti
dudikeleti merged commit 587c065 into master May 1, 2026
144 checks passed
@dudikeleti
dudikeleti deleted the dudik/revert-8510-symdb-di-disabled branch May 1, 2026 17:49
@github-actions github-actions Bot added this to the vNext-v3 milestone May 1, 2026
dudikeleti added a commit that referenced this pull request May 6, 2026
…8565)

## Summary of changes

- Reapplies #8510, which was previously reverted by #8550.
- Restores the change so `Datadog.Trace` enables SymDB upload
independently of Dynamic Instrumentation being enabled.

## Reason for change

- We want SymDB to upload symbols even when DI is disabled (DEBUG-5086).
- The original PR #8510 was reverted in #8550 because of an observed
startup-time impact when SymDB was initialized independently of DI.

## Implementation details

- Pure revert of revert commit
`587c0655017587728bfd90fbc842bf448491af07` (#8550).
- Restores the original logic from #8510 in `Instrumentation.cs`,
`DebuggerManager.cs`, `DebuggerSettings.cs`, and the corresponding unit
tests in `DebuggerManagerTests`, `DebuggerManagerDynamicTests`, and
`DebuggerSettingsTests`.
- No additional changes on top of the original #8510.

## Test coverage

- No new tests added beyond what was restored from #8510 (those tests
are reapplied as-is).
- Tests not run locally for this revert-of-revert; relying on CI.

## Other details

- The startup-time concern that motivated #8550 is being addressed in
the open follow-up #8548 ("[SymDB] Defer SymDB startup work until remote
enablement"). This PR should not be merged with #8548 lands (or the perf
concern is otherwise resolved), otherwise we will reintroduce the
regression that triggered the original revert.
<!-- Fixes DEBUG-5086 -->
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