Skip to content

Allow building the Gitlab docker image in Gitlab#8507

Merged
andrewlock merged 9 commits into
masterfrom
andrew/build-in-gitlab
May 6, 2026
Merged

Allow building the Gitlab docker image in Gitlab#8507
andrewlock merged 9 commits into
masterfrom
andrew/build-in-gitlab

Conversation

@andrewlock

@andrewlock andrewlock commented Apr 23, 2026

Copy link
Copy Markdown
Member

Summary of changes

  • Moves the building of GitLab image into GitLab
  • Updates the build images/runners to use Windows 2022

Reason for change

Today, updating the windows gitlab image involves

  • building the image locally
  • pushing it to dockerhub
  • testing the image works
  • making a PR to Datadog/images to mirror the image
  • Updating the original PR to use the new image

That's a lot of faff. Instead, this PR changes it so that building the docker image is just "click a button in GitLab"

Implementation details

The crux of the implementation uses a hash of the contents of the gitlab dockerimage folder. There's other ways we could do this, but this has the nice behaviour of meaning your build will fail if you change something there and don't rebuild the image (e.g. see #8474).

The first time you change something in this folder, the Build stage will fail:

ERROR: Windows build image not found at registry.ddbuild.io/ci/dd-trace-dotnet/dd-trace-dotnet-docker-build:d8e89e5cffc8.
The Dockerfile or install scripts under tracer/build/_build/docker/gitlab/ have changed.
Manually trigger the 'build-windows-ci-image' job in this pipeline, wait for it to finish, then re-run this job.

You can then click on the pipeline, click build-windows-ci-image, and go make a coffee ☕ After ~45 mins, the new image should have been pushed, and you can re-run the build, with your new changes.

Test coverage

I tested the workflow for this PR, and it works 🙌

Other details

One issue I had to deal with is the 2019/2022 issue. You can only run docker images of the same base Windows version on the host, and the registry.ddbuild.io/ci-identities/ci-identities-gitlab-job-client:v0.2.0-windows-amd64 image is apparently a 2022 host. Seeing as we really should be using 2022 anyway (and we use 2022 in azure devops), switched everything to be 2022 instead

@andrewlock
andrewlock requested a review from a team as a code owner April 23, 2026 09:31
@andrewlock andrewlock added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Apr 23, 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: 9438b27962

ℹ️ 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 .gitlab-ci.yml Outdated
@pr-commenter

pr-commenter Bot commented Apr 23, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-05 17:17:19

Comparing candidate commit f9ade5e in PR branch andrew/build-in-gitlab with baseline commit b7244f5 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 [+9231.016op/s; +11388.395op/s] or [+7.759%; +9.572%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+308.107ms; +312.557ms] or [+152.894%; +155.102%]
  • 🟥 throughput [-48.433op/s; -44.224op/s] or [-8.714%; -7.957%]

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

  • 🟥 execution_time [+376.648ms; +378.733ms] or [+297.575%; +299.222%]
  • 🟩 throughput [+100.096op/s; +102.765op/s] or [+13.197%; +13.549%]

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

  • 🟥 execution_time [+394.470ms; +397.512ms] or [+349.091%; +351.783%]

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 [-16.105ms; -11.934ms] or [-7.521%; -5.574%]

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 [-269623.032op/s; -265258.528op/s] or [-27.530%; -27.084%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-25.740ms; -20.843ms] or [-11.479%; -9.295%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • 🟥 throughput [-142983.226op/s; -126718.096op/s] or [-20.544%; -18.207%]

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

  • 🟩 throughput [+6986.597op/s; +9615.846op/s] or [+5.566%; +7.660%]

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

  • 🟩 throughput [+308522.841op/s; +337867.495op/s] or [+10.287%; +11.266%]

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

  • 🟩 execution_time [-18.684ms; -14.255ms] or [-8.613%; -6.571%]
  • 🟩 throughput [+177822.490op/s; +233465.642op/s] or [+7.058%; +9.267%]

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

  • 🟥 execution_time [+299.383ms; +300.059ms] or [+149.591%; +149.929%]

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

  • 🟥 execution_time [+300.013ms; +303.165ms] or [+151.297%; +152.887%]

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

  • 🟥 execution_time [+299.728ms; +302.192ms] or [+150.980%; +152.221%]

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

  • 🟥 execution_time [+296.228ms; +297.072ms] or [+145.495%; +145.910%]

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

  • 🟥 execution_time [+296.463ms; +299.034ms] or [+144.930%; +146.187%]

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

  • 🟥 execution_time [+300.464ms; +301.377ms] or [+150.171%; +150.628%]

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

  • 🟥 execution_time [+22.398µs; +46.123µs] or [+7.151%; +14.725%]
  • 🟥 throughput [-428.458op/s; -229.119op/s] or [-13.356%; -7.142%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.882ms; +300.559ms] or [+149.672%; +150.010%]

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

  • 🟥 execution_time [+411.506ms; +416.818ms] or [+447.118%; +452.890%]
  • 🟩 throughput [+1085.449op/s; +1233.270op/s] or [+8.919%; +10.134%]

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

  • unstable execution_time [+294.849ms; +335.191ms] or [+223.876%; +254.507%]
  • 🟩 throughput [+583.937op/s; +784.046op/s] or [+5.653%; +7.590%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+322.170ms; +359.315ms] or [+148.131%; +165.209%]
  • 🟥 throughput [-571.855op/s; -533.389op/s] or [-51.816%; -48.330%]

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

  • unstable execution_time [+205.970ms; +339.199ms] or [+87.776%; +144.552%]
  • 🟥 throughput [-667.206op/s; -583.795op/s] or [-44.503%; -38.939%]

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

  • 🟥 execution_time [+330.515ms; +340.922ms] or [+197.686%; +203.911%]
  • 🟥 throughput [-390.325op/s; -353.759op/s] or [-27.178%; -24.632%]

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

  • 🟩 execution_time [-145.484µs; -106.161µs] or [-7.370%; -5.378%]
  • 🟩 throughput [+30.796op/s; +40.932op/s] or [+6.079%; +8.080%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+300.875ms; +302.708ms] or [+151.515%; +152.438%]

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

  • 🟥 execution_time [+301.835ms; +303.272ms] or [+151.250%; +151.970%]

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

  • 🟥 execution_time [+302.010ms; +305.244ms] or [+151.717%; +153.341%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+303.527ms; +305.321ms] or [+152.421%; +153.322%]

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

  • 🟥 execution_time [+298.806ms; +300.742ms] or [+147.746%; +148.704%]

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

  • 🟥 execution_time [+304.177ms; +307.783ms] or [+154.170%; +155.998%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.651ms; +302.241ms] or [+150.900%; +151.698%]

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

  • 🟥 execution_time [+300.632ms; +305.677ms] or [+149.837%; +152.352%]
  • 🟩 throughput [+46403.045op/s; +52387.659op/s] or [+9.214%; +10.402%]

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

  • 🟥 execution_time [+299.415ms; +302.125ms] or [+148.956%; +150.304%]

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

  • 🟩 execution_time [-16.110ms; -12.452ms] or [-7.491%; -5.790%]

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

  • unstable execution_time [+7.136µs; +47.975µs] or [+1.763%; +11.850%]

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

  • 🟩 allocated_mem [-19.644KB; -19.623KB] or [-7.166%; -7.158%]
  • unstable execution_time [-39.046µs; +13.197µs] or [-7.717%; +2.608%]

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

  • 🟩 allocated_mem [-18.781KB; -18.765KB] or [-6.847%; -6.841%]
  • unstable execution_time [+3.232µs; +113.485µs] or [+0.560%; +19.666%]
  • unstable throughput [-138.881op/s; +58.092op/s] or [-7.934%; +3.319%]

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

  • unstable execution_time [+7.617µs; +11.944µs] or [+18.004%; +28.232%]
  • 🟥 throughput [-5202.842op/s; -3400.225op/s] or [-21.902%; -14.314%]

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

  • unstable execution_time [-15.143µs; -8.339µs] or [-23.493%; -12.938%]
  • 🟩 throughput [+2122.117op/s; +3533.702op/s] or [+13.020%; +21.680%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.559ms; +303.485ms] or [+152.930%; +153.398%]

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

  • 🟥 execution_time [+304.251ms; +306.484ms] or [+154.863%; +155.999%]

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

  • 🟥 execution_time [+299.566ms; +302.102ms] or [+149.970%; +151.240%]

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

  • 🟩 throughput [+37226.766op/s; +41355.057op/s] or [+7.046%; +7.828%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+299.599ms; +301.273ms] or [+149.323%; +150.157%]

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

  • 🟥 execution_time [+302.491ms; +303.935ms] or [+151.897%; +152.622%]

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

  • 🟥 execution_time [+303.126ms; +305.221ms] or [+153.726%; +154.789%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.081ms; +300.774ms] or [+149.682%; +150.028%]
  • 🟩 throughput [+61201679.258op/s; +61464819.789op/s] or [+44.571%; +44.762%]

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

  • unstable execution_time [+346.420ms; +391.602ms] or [+430.834%; +487.026%]
  • 🟩 throughput [+914.400op/s; +1095.000op/s] or [+7.069%; +8.465%]

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

  • 🟥 execution_time [+299.255ms; +300.165ms] or [+149.262%; +149.715%]

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

  • 🟩 throughput [+97472.470op/s; +106229.159op/s] or [+9.101%; +9.918%]

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

  • 🟩 throughput [+62813.609op/s; +82011.597op/s] or [+7.271%; +9.493%]

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

  • 🟩 throughput [+91502.666op/s; +121011.764op/s] or [+7.082%; +9.367%]

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

  • 🟩 throughput [+91811.431op/s; +100459.453op/s] or [+9.118%; +9.977%]

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

  • 🟩 throughput [+54206.468op/s; +58760.085op/s] or [+9.843%; +10.670%]

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

  • 🟩 throughput [+31870.335op/s; +41658.143op/s] or [+7.134%; +9.324%]

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

  • 🟩 throughput [+77088.200op/s; +96455.768op/s] or [+8.613%; +10.777%]

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

Comment thread .gitlab-ci.yml Outdated

@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.

Awesome!

@andrewlock
andrewlock force-pushed the andrew/build-in-gitlab branch from e1f9012 to 2912ca7 Compare May 5, 2026 11:12
@dd-trace-dotnet-ci-bot

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

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8507) 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
duration75.41 ± (75.28 - 75.82) ms72.95 ± (73.10 - 73.53) ms-3.3%
.NET Framework 4.8 - Bailout
duration78.02 ± (77.75 - 78.14) ms76.71 ± (76.72 - 77.08) ms-1.7%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1084.37 ± (1082.96 - 1088.65) ms1082.59 ± (1080.57 - 1088.47) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms23.83 ± (23.69 - 23.98) ms22.57 ± (22.54 - 22.61) ms-5.3%
process.time_to_main_ms90.86 ± (90.38 - 91.34) ms85.25 ± (85.07 - 85.43) ms-6.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.94) MB10.93 ± (10.93 - 10.94) MB-0.1%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms23.70 ± (23.62 - 23.78) ms22.83 ± (22.78 - 22.89) ms-3.7%
process.time_to_main_ms91.85 ± (91.56 - 92.13) ms88.79 ± (88.47 - 89.11) ms-3.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.99 ± (10.98 - 10.99) MB10.96 ± (10.96 - 10.97) MB-0.2%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms226.86 ± (225.03 - 228.70) ms214.63 ± (213.88 - 215.39) ms-5.4%
process.time_to_main_ms584.64 ± (577.87 - 591.41) ms532.38 ± (531.08 - 533.68) ms-8.9%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed47.90 ± (47.87 - 47.93) MB48.04 ± (48.02 - 48.06) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.16 ± (21.12 - 21.20) ms21.30 ± (21.24 - 21.35) ms+0.6%✅⬆️
process.time_to_main_ms73.83 ± (73.67 - 74.00) ms74.24 ± (73.94 - 74.54) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.63) MB10.65 ± (10.65 - 10.65) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.77 ± (21.69 - 21.84) ms21.48 ± (21.42 - 21.54) ms-1.3%
process.time_to_main_ms78.37 ± (78.03 - 78.71) ms77.68 ± (77.41 - 77.95) ms-0.9%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.72 - 10.73) MB10.76 ± (10.76 - 10.76) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms382.50 ± (380.50 - 384.50) ms382.28 ± (380.49 - 384.07) ms-0.1%
process.time_to_main_ms538.49 ± (536.89 - 540.10) ms531.88 ± (530.46 - 533.30) ms-1.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.33 ± (49.31 - 49.36) MB49.47 ± (49.45 - 49.50) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.6%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.62 ± (19.58 - 19.66) ms19.48 ± (19.44 - 19.52) ms-0.7%
process.time_to_main_ms73.65 ± (73.48 - 73.82) ms73.66 ± (73.49 - 73.83) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.67 - 7.68) MB7.67 ± (7.66 - 7.67) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.68 ± (19.64 - 19.72) ms20.00 ± (19.93 - 20.07) ms+1.6%✅⬆️
process.time_to_main_ms75.73 ± (75.47 - 75.99) ms77.28 ± (76.98 - 77.59) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.71 - 7.72) MB7.71 ± (7.70 - 7.71) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms302.82 ± (300.78 - 304.86) ms302.88 ± (300.74 - 305.03) ms+0.0%✅⬆️
process.time_to_main_ms494.54 ± (493.36 - 495.72) ms495.45 ± (494.24 - 496.67) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.58 ± (36.55 - 36.61) MB36.54 ± (36.51 - 36.57) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration207.22 ± (207.18 - 208.16) ms210.40 ± (210.62 - 212.32) ms+1.5%✅⬆️
.NET Framework 4.8 - Bailout
duration213.43 ± (213.31 - 214.48) ms213.23 ± (213.35 - 215.07) ms-0.1%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1220.32 ± (1220.41 - 1227.84) ms1219.33 ± (1218.93 - 1227.66) ms-0.1%
.NET Core 3.1 - Baseline
process.internal_duration_ms198.65 ± (198.09 - 199.21) ms202.86 ± (202.01 - 203.72) ms+2.1%✅⬆️
process.time_to_main_ms86.90 ± (86.61 - 87.19) ms88.04 ± (87.55 - 88.54) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.95 ± (15.93 - 15.97) MB15.94 ± (15.93 - 15.96) MB-0.0%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+1.4%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms198.58 ± (198.07 - 199.08) ms202.17 ± (201.35 - 203.00) ms+1.8%✅⬆️
process.time_to_main_ms87.95 ± (87.67 - 88.24) ms89.68 ± (89.21 - 90.14) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.99 ± (15.97 - 16.00) MB16.01 ± (15.99 - 16.03) MB+0.1%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.2%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms397.50 ± (395.73 - 399.27) ms411.98 ± (409.47 - 414.49) ms+3.6%✅⬆️
process.time_to_main_ms539.03 ± (537.50 - 540.56) ms538.72 ± (537.09 - 540.35) ms-0.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.52 ± (58.38 - 58.65) MB58.68 ± (58.62 - 58.73) MB+0.3%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 6 - Baseline
process.internal_duration_ms205.32 ± (204.74 - 205.89) ms206.96 ± (206.08 - 207.85) ms+0.8%✅⬆️
process.time_to_main_ms75.98 ± (75.68 - 76.27) ms76.23 ± (75.88 - 76.58) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.20 ± (16.18 - 16.22) MB16.27 ± (16.25 - 16.29) MB+0.5%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (19 - 20)+1.6%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms205.09 ± (204.46 - 205.72) ms208.12 ± (207.12 - 209.12) ms+1.5%✅⬆️
process.time_to_main_ms77.17 ± (76.89 - 77.45) ms78.08 ± (77.67 - 78.49) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.25 ± (16.24 - 16.27) MB16.26 ± (16.24 - 16.28) MB+0.0%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.9%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms598.87 ± (596.39 - 601.35) ms601.00 ± (598.58 - 603.41) ms+0.4%✅⬆️
process.time_to_main_ms544.19 ± (542.86 - 545.52) ms558.03 ± (556.26 - 559.81) ms+2.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.25 ± (61.16 - 61.34) MB61.15 ± (61.06 - 61.24) MB-0.2%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.3%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms206.44 ± (205.86 - 207.01) ms209.77 ± (208.61 - 210.92) ms+1.6%✅⬆️
process.time_to_main_ms76.69 ± (76.40 - 76.98) ms77.66 ± (77.19 - 78.14) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.61 ± (11.60 - 11.63) MB11.52 ± (11.50 - 11.54) MB-0.8%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.5%
.NET 8 - Bailout
process.internal_duration_ms205.84 ± (205.26 - 206.42) ms211.51 ± (210.37 - 212.66) ms+2.8%✅⬆️
process.time_to_main_ms77.54 ± (77.24 - 77.84) ms79.10 ± (78.64 - 79.55) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.61 ± (11.60 - 11.62) MB11.59 ± (11.57 - 11.61) MB-0.2%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+1.1%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms532.89 ± (525.09 - 540.68) ms551.42 ± (543.62 - 559.21) ms+3.5%✅⬆️
process.time_to_main_ms509.36 ± (507.74 - 510.98) ms519.41 ± (517.49 - 521.33) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.47 ± (50.36 - 50.57) MB50.58 ± (50.49 - 50.68) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 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 (8507) - mean (73ms)  : 70, 76
    master - mean (76ms)  : 72, 80

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

    section CallTarget+Inlining+NGEN
    This PR (8507) - mean (1,085ms)  : 1027, 1142
    master - mean (1,086ms)  : 1045, 1126

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 (8507) - mean (115ms)  : 112, 118
    master - mean (123ms)  : 114, 132

    section Bailout
    This PR (8507) - mean (119ms)  : 112, 126
    master - mean (123ms)  : 118, 128

    section CallTarget+Inlining+NGEN
    This PR (8507) - mean (786ms)  : 754, 817
    master - mean (854ms)  : 751, 957

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

    section Bailout
    This PR (8507) - mean (106ms)  : 101, 111
    master - mean (107ms)  : 100, 115

    section CallTarget+Inlining+NGEN
    This PR (8507) - mean (943ms)  : 910, 976
    master - mean (949ms)  : 910, 989

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

    section Bailout
    This PR (8507) - mean (105ms)  : 100, 111
    master - mean (103ms)  : 99, 108

    section CallTarget+Inlining+NGEN
    This PR (8507) - mean (827ms)  : 791, 864
    master - mean (828ms)  : 796, 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 (8507) - mean (211ms)  : 199, 224
    master - mean (208ms)  : 201, 214

    section Bailout
    This PR (8507) - mean (214ms)  : 201, 227
    master - mean (214ms)  : 206, 222

    section CallTarget+Inlining+NGEN
    This PR (8507) - mean (1,223ms)  : 1173, 1274
    master - mean (1,224ms)  : 1171, 1277

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 (8507) - mean (301ms)  : 283, 319
    master - mean (295ms)  : 283, 306

    section Bailout
    This PR (8507) - mean (302ms)  : 282, 322
    master - mean (296ms)  : 286, 306

    section CallTarget+Inlining+NGEN
    This PR (8507) - mean (992ms)  : 961, 1023
    master - mean (980ms)  : 952, 1008

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8507) - mean (295ms)  : 273, 316
    master - mean (292ms)  : 277, 306

    section Bailout
    This PR (8507) - mean (298ms)  : 273, 324
    master - mean (292ms)  : 277, 307

    section CallTarget+Inlining+NGEN
    This PR (8507) - mean (1,189ms)  : 1144, 1235
    master - mean (1,171ms)  : 1134, 1209

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8507) - mean (299ms)  : 276, 323
    master - mean (294ms)  : 282, 307

    section Bailout
    This PR (8507) - mean (305ms)  : 275, 335
    master - mean (295ms)  : 282, 308

    section CallTarget+Inlining+NGEN
    This PR (8507) - mean (1,106ms)  : 994, 1218
    master - mean (1,078ms)  : 987, 1170

Loading

@andrewlock
andrewlock force-pushed the andrew/build-in-gitlab branch from 7fe561b to f9ade5e Compare May 5, 2026 16:09

@bouwkast bouwkast 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!

- Windows PC/Virtual Machine
- Docker Desktop with Windows containers enabled
- Push access to `datadog` DockerHub organization
This is a single-PR flow. You do not need a local Windows machine with Docker Desktop, and you do not need to touch `DataDog/images`.

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.

🚀

@andrewlock
andrewlock enabled auto-merge (squash) May 6, 2026 10:16
@andrewlock
andrewlock merged commit 9818a29 into master May 6, 2026
137 of 138 checks passed
@andrewlock
andrewlock deleted the andrew/build-in-gitlab branch May 6, 2026 11:29
@github-actions github-actions Bot added this to the vNext-v3 milestone May 6, 2026
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