Skip to content

Use ArtifactsOutput in more places in the tracer build#8636

Merged
andrewlock merged 4 commits into
masterfrom
andrew/artifacts-output
May 28, 2026
Merged

Use ArtifactsOutput in more places in the tracer build#8636
andrewlock merged 4 commits into
masterfrom
andrew/artifacts-output

Conversation

@andrewlock

@andrewlock andrewlock commented May 14, 2026

Copy link
Copy Markdown
Member

Summary of changes

Set UseArtifactsOutput for all tracer/ libraries

Reason for change

UseArtifactsOutput puts all the build output nested in a top-level directory. We are already using this for samples and in some places. This PR extends it to use in more of the tracer build.

📁 artifacts
    └──📂 <Type of output>
        └──📂 <Project name>
            └──📂 <Pivot>

The advantage of this approach is it neatly scopes the output of a stage in the artifacts/bin, artifacts/obj or artifacts/packages folder (for example). This is convenient in general (I use artifact layout in personal projects wherever possible), but it's particularly useful in CI, especially if/when we need to migrate the build to gitlab.

Implementation details

Get the 🤖 to make the change. As long as CI keeps working, we can still build locally, and the artifacts look the same, ultimately, we're good 👍

Test coverage

This is the test. Also had the agent do some analysis of the artifacts to make sure it's ok, and tested locally.

Other details

Stacked on:

Will add more to the stack (e.g. profiling assets later)

Requires:

@andrewlock
andrewlock requested review from a team as code owners May 14, 2026 14:45
@andrewlock andrewlock added the area:builds project files, build scripts, pipelines, versioning, releases, packages label May 14, 2026

@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: 154f7620e6

ℹ️ 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 thread tracer/Directory.Build.props
@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented May 14, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8636) 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
duration72.37 ± (72.36 - 72.71) ms72.45 ± (72.54 - 72.93) ms+0.1%✅⬆️
.NET Framework 4.8 - Bailout
duration78.71 ± (78.69 - 79.17) ms78.65 ± (78.45 - 78.91) ms-0.1%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1104.12 ± (1106.74 - 1114.93) ms1107.73 ± (1103.72 - 1110.41) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.82 ± (22.76 - 22.89) ms22.57 ± (22.52 - 22.61) ms-1.1%
process.time_to_main_ms86.60 ± (86.18 - 87.01) ms85.38 ± (85.11 - 85.66) ms-1.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.92 ± (10.91 - 10.92) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.71 ± (22.66 - 22.76) ms22.71 ± (22.66 - 22.76) ms+0.0%✅⬆️
process.time_to_main_ms87.36 ± (87.10 - 87.61) ms87.55 ± (87.29 - 87.81) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.95 - 10.96) MB10.95 ± (10.95 - 10.95) MB-0.0%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms212.48 ± (211.61 - 213.34) ms215.31 ± (214.47 - 216.16) ms+1.3%✅⬆️
process.time_to_main_ms539.14 ± (537.84 - 540.45) ms544.93 ± (543.80 - 546.05) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.61 ± (48.57 - 48.64) MB48.60 ± (48.58 - 48.63) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 6 - Baseline
process.internal_duration_ms21.30 ± (21.25 - 21.34) ms21.60 ± (21.54 - 21.66) ms+1.4%✅⬆️
process.time_to_main_ms73.88 ± (73.69 - 74.08) ms75.64 ± (75.38 - 75.90) ms+2.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.64) MB10.62 ± (10.62 - 10.63) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.63 ± (21.52 - 21.73) ms21.07 ± (21.03 - 21.11) ms-2.6%
process.time_to_main_ms77.62 ± (77.25 - 77.99) ms74.27 ± (74.10 - 74.43) ms-4.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.74 - 10.75) MB10.74 ± (10.73 - 10.74) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms370.84 ± (368.90 - 372.78) ms367.23 ± (365.06 - 369.39) ms-1.0%
process.time_to_main_ms549.26 ± (548.10 - 550.43) ms548.87 ± (547.50 - 550.25) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.05 ± (50.03 - 50.07) MB50.08 ± (50.05 - 50.10) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.30 ± (19.27 - 19.33) ms19.47 ± (19.42 - 19.51) ms+0.8%✅⬆️
process.time_to_main_ms72.31 ± (72.12 - 72.50) ms73.41 ± (73.18 - 73.64) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.70 ± (7.69 - 7.70) MB7.67 ± (7.67 - 7.67) MB-0.3%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.39 ± (19.35 - 19.44) ms19.66 ± (19.61 - 19.72) ms+1.4%✅⬆️
process.time_to_main_ms74.66 ± (74.40 - 74.91) ms76.06 ± (75.80 - 76.32) ms+1.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.74 ± (7.73 - 7.74) MB7.72 ± (7.71 - 7.72) MB-0.3%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms295.91 ± (293.86 - 297.96) ms293.56 ± (291.31 - 295.81) ms-0.8%
process.time_to_main_ms495.11 ± (494.01 - 496.21) ms496.55 ± (495.38 - 497.72) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.96 ± (36.94 - 36.99) MB36.94 ± (36.91 - 36.97) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.2%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration195.83 ± (195.70 - 196.58) ms196.50 ± (196.18 - 197.05) ms+0.3%✅⬆️
.NET Framework 4.8 - Bailout
duration200.28 ± (199.97 - 201.03) ms199.37 ± (199.11 - 199.99) ms-0.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1188.87 ± (1189.62 - 1194.96) ms1186.72 ± (1185.86 - 1191.45) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms193.17 ± (192.72 - 193.62) ms191.64 ± (191.21 - 192.07) ms-0.8%
process.time_to_main_ms83.85 ± (83.48 - 84.21) ms82.83 ± (82.58 - 83.08) ms-1.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.20 ± (16.17 - 16.23) MB16.06 ± (16.04 - 16.09) MB-0.8%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms192.38 ± (191.91 - 192.86) ms190.94 ± (190.43 - 191.45) ms-0.8%
process.time_to_main_ms84.57 ± (84.26 - 84.89) ms83.71 ± (83.46 - 83.95) ms-1.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.21 ± (16.18 - 16.25) MB16.12 ± (16.10 - 16.15) MB-0.6%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.4%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms383.42 ± (382.06 - 384.78) ms384.14 ± (382.92 - 385.36) ms+0.2%✅⬆️
process.time_to_main_ms532.88 ± (531.64 - 534.11) ms531.69 ± (530.71 - 532.66) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.25 ± (57.15 - 57.35) MB57.39 ± (57.23 - 57.55) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms195.54 ± (195.07 - 196.02) ms193.19 ± (192.72 - 193.66) ms-1.2%
process.time_to_main_ms71.31 ± (71.11 - 71.52) ms70.92 ± (70.74 - 71.09) ms-0.6%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.37 ± (16.34 - 16.40) MB16.43 ± (16.41 - 16.45) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-1.0%
.NET 6 - Bailout
process.internal_duration_ms194.84 ± (194.35 - 195.32) ms192.95 ± (192.40 - 193.50) ms-1.0%
process.time_to_main_ms72.14 ± (71.97 - 72.32) ms71.92 ± (71.74 - 72.10) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.46 ± (16.43 - 16.49) MB16.50 ± (16.47 - 16.53) MB+0.2%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.1%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms584.35 ± (581.64 - 587.06) ms588.87 ± (586.05 - 591.68) ms+0.8%✅⬆️
process.time_to_main_ms536.24 ± (535.28 - 537.21) ms539.23 ± (538.02 - 540.44) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.12 ± (61.04 - 61.20) MB61.28 ± (61.15 - 61.40) MB+0.3%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.2%
.NET 8 - Baseline
process.internal_duration_ms193.45 ± (192.87 - 194.02) ms192.73 ± (192.19 - 193.27) ms-0.4%
process.time_to_main_ms71.18 ± (70.95 - 71.42) ms71.02 ± (70.75 - 71.29) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.72 - 11.76) MB11.79 ± (11.77 - 11.82) MB+0.4%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.3%
.NET 8 - Bailout
process.internal_duration_ms192.69 ± (192.29 - 193.10) ms193.19 ± (192.82 - 193.56) ms+0.3%✅⬆️
process.time_to_main_ms72.16 ± (71.93 - 72.38) ms72.17 ± (72.02 - 72.33) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.79 ± (11.76 - 11.81) MB11.81 ± (11.79 - 11.83) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.3%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms511.81 ± (509.20 - 514.43) ms511.41 ± (508.83 - 513.99) ms-0.1%
process.time_to_main_ms489.47 ± (488.58 - 490.36) ms490.99 ± (490.23 - 491.75) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.69 ± (50.65 - 50.73) MB50.64 ± (50.60 - 50.67) MB-0.1%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 30)+0.8%✅⬆️
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 (8636) - mean (73ms)  : 70, 76
    master - mean (73ms)  : 70, 75

    section Bailout
    This PR (8636) - mean (79ms)  : 75, 82
    master - mean (79ms)  : 75, 82

    section CallTarget+Inlining+NGEN
    This PR (8636) - mean (1,107ms)  : 1056, 1158
    master - mean (1,111ms)  : 1049, 1173

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 (8636) - mean (115ms)  : 109, 121
    master - mean (116ms)  : 110, 122

    section Bailout
    This PR (8636) - mean (117ms)  : 113, 122
    master - mean (117ms)  : 112, 122

    section CallTarget+Inlining+NGEN
    This PR (8636) - mean (796ms)  : 771, 820
    master - mean (788ms)  : 761, 814

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8636) - mean (104ms)  : 99, 109
    master - mean (102ms)  : 97, 107

    section Bailout
    This PR (8636) - mean (102ms)  : 99, 104
    master - mean (106ms)  : 99, 113

    section CallTarget+Inlining+NGEN
    This PR (8636) - mean (945ms)  : 909, 981
    master - mean (948ms)  : 909, 986

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8636) - mean (101ms)  : 96, 106
    master - mean (100ms)  : 95, 104

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

    section CallTarget+Inlining+NGEN
    This PR (8636) - mean (822ms)  : 785, 858
    master - mean (824ms)  : 787, 861

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 (8636) - mean (197ms)  : 192, 201
    master - mean (196ms)  : 191, 201

    section Bailout
    This PR (8636) - mean (200ms)  : 195, 204
    master - mean (200ms)  : 195, 206

    section CallTarget+Inlining+NGEN
    This PR (8636) - mean (1,189ms)  : 1149, 1228
    master - mean (1,192ms)  : 1156, 1229

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 (8636) - mean (283ms)  : 276, 290
    master - mean (286ms)  : 280, 291

    section Bailout
    This PR (8636) - mean (283ms)  : 277, 290
    master - mean (286ms)  : 279, 292

    section CallTarget+Inlining+NGEN
    This PR (8636) - mean (954ms)  : 928, 981
    master - mean (954ms)  : 928, 981

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8636) - mean (273ms)  : 264, 282
    master - mean (275ms)  : 268, 283

    section Bailout
    This PR (8636) - mean (273ms)  : 265, 281
    master - mean (275ms)  : 268, 283

    section CallTarget+Inlining+NGEN
    This PR (8636) - mean (1,155ms)  : 1125, 1185
    master - mean (1,150ms)  : 1111, 1189

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8636) - mean (274ms)  : 265, 283
    master - mean (275ms)  : 268, 282

    section Bailout
    This PR (8636) - mean (275ms)  : 271, 279
    master - mean (275ms)  : 269, 281

    section CallTarget+Inlining+NGEN
    This PR (8636) - mean (1,036ms)  : 991, 1082
    master - mean (1,034ms)  : 994, 1073

Loading

Base automatically changed from andrew/reduce-ci-copying to master May 20, 2026 10:49
@datadog-official

This comment has been minimized.

@andrewlock
andrewlock force-pushed the andrew/artifacts-output branch from cfc8e0e to 1a01b26 Compare May 20, 2026 10:49
@andrewlock andrewlock changed the title UseArtifactsOutput in more places in the tracer build Use ArtifactsOutput in more places in the tracer build May 22, 2026
@andrewlock
andrewlock force-pushed the andrew/artifacts-output branch 2 times, most recently from 0071aa7 to ae4148d Compare May 22, 2026 15:20
@pr-commenter

pr-commenter Bot commented May 22, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-28 10:44:24

Comparing candidate commit 303ef9e in PR branch andrew/artifacts-output with baseline commit e8fe0e5 in branch master.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 71 metrics, 0 unstable metrics, 61 known flaky benchmarks, 65 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.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5874.758op/s; -5549.563op/s] or [-6.706%; -6.335%]

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_UpdateName_Sampled net6.0

  • 🟥 throughput [-21024.421op/s; -15446.528op/s] or [-6.942%; -5.101%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-6543.872op/s; -6123.768op/s] or [-7.759%; -7.261%]

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

  • 🟥 throughput [-7066.505op/s; -5644.051op/s] or [-7.185%; -5.739%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+298.368ms; +300.132ms] or [+148.061%; +148.936%]
  • 🟥 throughput [-46.429op/s; -42.728op/s] or [-8.353%; -7.688%]

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

  • 🟥 execution_time [+379.291ms; +380.741ms] or [+299.663%; +300.809%]
  • 🟩 throughput [+93.083op/s; +95.569op/s] or [+12.273%; +12.600%]

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

  • 🟥 execution_time [+390.443ms; +394.467ms] or [+345.527%; +349.088%]

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 [+471 bytes; +472 bytes] or [+9.976%; +9.987%]
  • 🟩 execution_time [-15.956ms; -11.778ms] or [-7.452%; -5.501%]

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

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

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-257536.869op/s; -253962.713op/s] or [-26.296%; -25.931%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-26.903ms; -22.030ms] or [-11.997%; -9.824%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-153337.010op/s; -137510.661op/s] or [-22.032%; -19.758%]

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

  • 🟩 throughput [+9622.911op/s; +12514.230op/s] or [+6.123%; +7.963%]

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

  • 🟩 throughput [+9383.875op/s; +12049.249op/s] or [+7.475%; +9.599%]

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

  • 🟩 throughput [+455105.571op/s; +484823.469op/s] or [+15.175%; +16.166%]

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

  • 🟩 execution_time [-18.781ms; -14.444ms] or [-8.657%; -6.658%]
  • 🟩 throughput [+181374.921op/s; +234722.212op/s] or [+7.199%; +9.317%]

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

  • 🟥 execution_time [+299.702ms; +300.617ms] or [+149.751%; +150.208%]

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

  • 🟥 execution_time [+298.214ms; +301.356ms] or [+150.390%; +151.974%]
  • 🟩 throughput [+715.995op/s; +928.351op/s] or [+5.476%; +7.100%]

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

  • 🟥 execution_time [+299.634ms; +302.121ms] or [+150.932%; +152.185%]

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

  • 🟥 execution_time [+299.412ms; +300.552ms] or [+147.059%; +147.619%]

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

  • 🟥 execution_time [+293.873ms; +297.041ms] or [+143.664%; +145.212%]

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

  • 🟥 execution_time [+301.389ms; +302.898ms] or [+150.634%; +151.388%]

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

  • 🟥 execution_time [+23.634µs; +47.432µs] or [+7.545%; +15.143%]
  • 🟥 throughput [-439.748op/s; -239.598op/s] or [-13.708%; -7.469%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.346ms; +300.208ms] or [+149.405%; +149.835%]

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

  • 🟥 execution_time [+415.885ms; +422.095ms] or [+451.877%; +458.624%]
  • 🟩 throughput [+746.958op/s; +909.868op/s] or [+6.138%; +7.477%]

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

  • unstable execution_time [+325.854ms; +359.974ms] or [+247.418%; +273.325%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.860KB; +2.865KB] or [+5.081%; +5.091%]
  • unstable execution_time [+287.947ms; +341.288ms] or [+132.395%; +156.921%]
  • 🟥 throughput [-538.628op/s; -488.286op/s] or [-48.805%; -44.243%]

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

  • unstable execution_time [+204.403ms; +337.708ms] or [+87.108%; +143.917%]
  • 🟥 throughput [-667.700op/s; -584.249op/s] or [-44.536%; -38.970%]

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

  • 🟥 execution_time [+327.035ms; +335.337ms] or [+195.605%; +200.570%]
  • 🟥 throughput [-394.466op/s; -357.966op/s] or [-27.466%; -24.925%]

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

  • 🟩 execution_time [-182.583µs; -124.742µs] or [-9.249%; -6.319%]
  • 🟩 throughput [+36.600op/s; +52.032op/s] or [+7.225%; +10.272%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.367ms; +305.419ms] or [+152.770%; +153.803%]

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

  • 🟥 execution_time [+302.232ms; +315.095ms] or [+151.449%; +157.895%]

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

  • 🟥 execution_time [+302.858ms; +306.279ms] or [+152.143%; +153.862%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.178ms; +303.776ms] or [+151.743%; +152.546%]

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

  • 🟥 execution_time [+298.521ms; +300.401ms] or [+147.605%; +148.535%]

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

  • 🟥 execution_time [+301.956ms; +306.254ms] or [+153.044%; +155.223%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+301.295ms; +303.536ms] or [+151.223%; +152.348%]

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

  • 🟥 execution_time [+301.996ms; +305.374ms] or [+150.517%; +152.201%]
  • 🟩 throughput [+43352.777op/s; +49266.570op/s] or [+8.608%; +9.783%]

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

  • 🟥 execution_time [+299.797ms; +302.480ms] or [+149.146%; +150.481%]

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

  • 🟩 execution_time [-16.418ms; -12.749ms] or [-7.634%; -5.928%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472

  • unstable execution_time [+9.074µs; +51.997µs] or [+2.241%; +12.844%]

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

  • 🟩 allocated_mem [-26.723KB; -26.700KB] or [-9.748%; -9.739%]
  • unstable execution_time [-40.248µs; +14.554µs] or [-7.955%; +2.877%]

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

  • unstable execution_time [-41.797µs; +18.784µs] or [-7.243%; +3.255%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472

  • 🟥 execution_time [+2.915µs; +5.456µs] or [+5.049%; +9.451%]

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

  • unstable execution_time [+11.040µs; +16.131µs] or [+26.095%; +38.128%]
  • 🟥 throughput [-6606.699op/s; -4662.535op/s] or [-27.812%; -19.628%]

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

  • unstable execution_time [-11.110µs; -1.900µs] or [-17.237%; -2.948%]
  • unstable throughput [+506.827op/s; +2503.417op/s] or [+3.110%; +15.359%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.061ms; +303.710ms] or [+152.678%; +153.512%]

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

  • 🟥 execution_time [+300.846ms; +304.124ms] or [+153.130%; +154.798%]

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

  • 🟥 execution_time [+296.004ms; +299.690ms] or [+148.186%; +150.032%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.541ms; +307.803ms] or [+149.793%; +153.412%]

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

  • 🟥 execution_time [+301.282ms; +312.181ms] or [+151.290%; +156.763%]

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

  • 🟥 execution_time [+303.055ms; +306.564ms] or [+153.690%; +155.470%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.668ms; +300.794ms] or [+149.476%; +150.038%]
  • 🟩 throughput [+66043093.349op/s; +66390112.490op/s] or [+48.097%; +48.349%]

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

  • unstable execution_time [+326.320ms; +394.760ms] or [+405.837%; +490.955%]

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

  • 🟥 execution_time [+299.097ms; +300.236ms] or [+149.183%; +149.751%]
  • 🟩 throughput [+18257098.707op/s; +19226489.704op/s] or [+8.087%; +8.516%]

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

  • 🟩 throughput [+85482.796op/s; +97329.552op/s] or [+7.981%; +9.087%]

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

  • 🟩 throughput [+44457.386op/s; +65427.778op/s] or [+5.146%; +7.573%]

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

  • 🟩 throughput [+88271.305op/s; +119082.684op/s] or [+6.832%; +9.217%]

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

  • 🟩 throughput [+79803.861op/s; +87228.060op/s] or [+7.926%; +8.663%]

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

  • 🟩 throughput [+24496.645op/s; +34139.362op/s] or [+5.483%; +7.642%]

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

  • 🟩 throughput [+101184.310op/s; +118259.613op/s] or [+11.305%; +13.213%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • 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_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • 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.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • 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_RecordException_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • 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.OptimizedCharSlice netcoreapp3.1
  • 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.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0
  • 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.SpanBenchmark.StartFinishTwoScopes net6.0
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@andrewlock
andrewlock force-pushed the andrew/artifacts-output branch 2 times, most recently from 7578ab7 to 7317090 Compare May 26, 2026 11:26

@NachoEchevarria NachoEchevarria left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@andrewlock
andrewlock force-pushed the andrew/artifacts-output branch from 7317090 to 303ef9e Compare May 28, 2026 09:54
@andrewlock
andrewlock enabled auto-merge (squash) May 28, 2026 10:48
@andrewlock
andrewlock merged commit b4b89f1 into master May 28, 2026
137 of 138 checks passed
@andrewlock
andrewlock deleted the andrew/artifacts-output branch May 28, 2026 15:25
@github-actions github-actions Bot added this to the vNext-v3 milestone May 28, 2026
andrewlock added a commit that referenced this pull request Jun 1, 2026
## Summary of changes

Follows on from #8636, moves more build outputs into the artifacts
folder

## Reason for change

Today, build outputs end up scattered throughput the repository, because
of how the defaults work for .NET, and how we're using a very "bespoke"
way of building (i.e. we're not just doing `dotnet build`). That makes
it tricky to track where things are built to in CI particularly, and
will hamper any attempts to modify CI (e.g. to move to GitLab).

## Implementation details

Had 🤖 look for everything that wasn't going to the `artifacts/` folder,
and move it, so that we can more easily include/exclude it from
artifacts. Took a _relatively_ conservative approach in places (e.g. to
the profiler assets)

Final results look like this:

```
artifacts/
  ├─📂 bin/
  ├─📂 obj/
  ├─📂 publish/
  ├─📂 package/
  ├─📂 build_data/
  ├─📂 monitoring-home/
  ├─📂 native-bin/
  ├─📂 native-obj/
  ├─📂 native-symbols/
  ├─📂 ProfilerResources/
  ├─📂 profiler-build/
  ├─📂 output/
  ├─📂 deps/
  └─📂 vcpkg/
```

The important thing is that we can exclude most of these when doing the
"upload working directory" step

## Test coverage

This is the test - if the build still passes I think we're ok.

## Other details

Stacked on 
- #8610
- #8636

---------

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
andrewlock added a commit that referenced this pull request Jun 1, 2026
## Summary of changes

Update all the launchsettings.json to point to the new output path in
#8680

## Reason for change

We moved the default output folder in #8680, but there were already
enough changes in that PR, so I didn't want to clutter it up with these
simple changes.

## Implementation details

🤖 converted `shared\bin` to `artifacts`

## Test coverage

N/A - it's only for local testing (personally I would probably remove
all of these files completely, but some people like them)

## Other details

Stacked on 

- #8610
- #8636
- #8680

---------

Co-authored-by: Claude Opus 4.7 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants