Skip to content

Decrease warnings part 4#8599

Merged
NachoEchevarria merged 6 commits into
masterfrom
nacho/FixWarningsPart4
May 13, 2026
Merged

Decrease warnings part 4#8599
NachoEchevarria merged 6 commits into
masterfrom
nacho/FixWarningsPart4

Conversation

@NachoEchevarria

@NachoEchevarria NachoEchevarria commented May 11, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

Part 4 of the warning-reduction series. 7 warning sources fixed across profiler demos and tracer test-applications.

Reason for change

Continuing the cleanup of CI build warnings; this batch surfaced after parts 1-3 merged.

Implementation details

  • StyleCop:
    • Samples.BuggyBits/CompanyInformationController.cs — reordered Contact (public) above GetGitHubPageViaThread (private) to satisfy SA1202; added whitespace around = in Index(bool shortLived = false) default value to satisfy SA1003.
    • Samples.BuggyBits/Program.cs — moved CreateHostBuilder (public) up above GetOpenPort so all public members come before any private ones (SA1202).
    • Samples.Computer01/AppDomainCrash.cs — moved the // just swallow comment from inline-on-catch into the catch block body (SA1108).
  • Obsoletion (SYSLIB0051): Samples.ExceptionGenerator/GenericExceptionsScenario.cs — wrapped the Exception(SerializationInfo, StreamingContext) ctor and the System.Runtime.Serialization using directive in #if !NET8_0_OR_GREATER. The ctor is the classic pre-net8 Exception subclass pattern; preserved on older TFMs, removed on net8+ where it's obsolete.
  • Nullability (CS8602): Samples.LifetimeManager.TerminationSignals/Program.cs — added ! to Assembly.GetType(name, throwOnError: true). With throwOnError: true the BCL throws TypeLoadException rather than returning null, so the value is guaranteed non-null at runtime even though the BCL annotation is conservative.
  • NETSDK1206: Samples.Debugger.AspNetCore5.csproj — scoped <NoWarn>NETSDK1206</NoWarn> to IsTargetFrameworkCompatible('net8.0'). The deprecated alpine-* RIDs come from a transitive package (SQLitePCLRaw.lib.e_sqlite3); the suppression only activates on net8+ where the warning fires, leaving older TFMs untouched.

Test coverage

No behavioral changes. CI verifies the warning count drops without breaking compilation.

Other details

@NachoEchevarria NachoEchevarria changed the title Initial fix Decrease warnings part 4 May 11, 2026
@NachoEchevarria NachoEchevarria added the area:builds project files, build scripts, pipelines, versioning, releases, packages label May 11, 2026
@pr-commenter

pr-commenter Bot commented May 11, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-12 12:16:59

Comparing candidate commit 0f9685f in PR branch nacho/FixWarningsPart4 with baseline commit d43a6e5 in branch master.

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

Scenarios present only in baseline:

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

Found 2 performance improvements and 4 performance regressions! Performance is the same for 49 metrics, 17 unstable metrics, 92 known flaky benchmarks, 34 flaky benchmarks without significant changes.

Explanation

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

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

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

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

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

More details about the CI and significant changes

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

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

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

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

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

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

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]

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

  • 🟥 throughput [-75255.739op/s; -68273.830op/s] or [-51.122%; -46.380%]
  • 🟩 execution_time [-31.814ms; -16.349ms] or [-15.787%; -8.113%]

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

  • 🟥 throughput [-37644.210op/s; -27220.068op/s] or [-18.875%; -13.648%]
  • 🟩 execution_time [-77.006ms; -66.027ms] or [-38.944%; -33.392%]

Known flaky benchmarks

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

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

  • unstable execution_time [-27.879ms; -1.243ms] or [-18.176%; -0.811%]
  • unstable throughput [-4937.989op/s; +21944.587op/s] or [-2.996%; +13.316%]

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

  • unstable execution_time [+12.911ms; +37.457ms] or [+14.552%; +42.218%]

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

  • unstable execution_time [-27.301ms; -8.070ms] or [-19.506%; -5.766%]
  • unstable throughput [+432.144op/s; +16058.532op/s] or [+0.282%; +10.463%]

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

  • unstable execution_time [-34.953ms; -10.237ms] or [-31.190%; -9.135%]

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

  • unstable execution_time [-29.371ms; +6.000ms] or [-18.819%; +3.845%]
  • unstable throughput [+5391.542op/s; +27518.887op/s] or [+3.264%; +16.661%]

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

  • unstable execution_time [+12.830ms; +36.679ms] or [+14.627%; +41.817%]

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

  • unstable execution_time [-41.631ms; -13.435ms] or [-25.561%; -8.249%]
  • unstable throughput [+9144.153op/s; +24865.296op/s] or [+7.395%; +20.109%]

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

  • unstable execution_time [-31.315ms; -3.444ms] or [-20.588%; -2.264%]
  • unstable throughput [+9270.127op/s; +35734.293op/s] or [+5.771%; +22.244%]

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

  • unstable execution_time [+12.026ms; +37.268ms] or [+13.692%; +42.429%]

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

  • unstable execution_time [-4.316ms; +40.846ms] or [-2.871%; +27.164%]
  • unstable throughput [-21681.646op/s; +10439.643op/s] or [-12.465%; +6.002%]

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

  • unstable execution_time [-43.193ms; -3.871ms] or [-31.900%; -2.859%]

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]
  • unstable execution_time [-10.628ms; +15.032ms] or [-7.867%; +11.127%]
  • unstable throughput [-11918.012op/s; +11604.145op/s] or [-6.987%; +6.803%]

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

  • unstable execution_time [-62.875ms; -23.992ms] or [-40.517%; -15.460%]

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

  • unstable execution_time [-19.629ms; +10.622ms] or [-12.495%; +6.761%]
  • 🟩 throughput [+7770.001op/s; +20328.788op/s] or [+5.517%; +14.434%]

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

  • unstable execution_time [-16981.738µs; +18549.346µs] or [-15.405%; +16.827%]

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

  • unstable execution_time [-11745.373µs; +11914.421µs] or [-8.520%; +8.643%]
  • unstable throughput [-12514.422op/s; +8289.492op/s] or [-7.855%; +5.203%]

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

  • unstable execution_time [-59.911ms; -28.414ms] or [-44.959%; -21.323%]

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

  • unstable execution_time [+8.478ms; +25.600ms] or [+7.942%; +23.982%]
  • unstable throughput [-29115.729op/s; -12463.144op/s] or [-21.480%; -9.195%]

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

  • unstable execution_time [-33.060ms; -7.367ms] or [-29.816%; -6.644%]

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

  • unstable execution_time [-7.349ms; +16.334ms] or [-4.530%; +10.069%]
  • unstable throughput [-9973.694op/s; +4299.944op/s] or [-9.005%; +3.882%]

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

  • unstable execution_time [+5.354ms; +43.174ms] or [+4.764%; +38.419%]

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

  • unstable execution_time [+51.166ms; +66.938ms] or [+40.639%; +53.166%]
  • unstable throughput [-82078.345op/s; -55718.511op/s] or [-46.719%; -31.715%]

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

  • unstable execution_time [-35.759ms; -10.261ms] or [-33.387%; -9.581%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]
  • unstable execution_time [+2.474ms; +38.678ms] or [+1.745%; +27.275%]
  • unstable throughput [-17722.332op/s; +2995.094op/s] or [-10.267%; +1.735%]

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

  • unstable execution_time [-17500.687µs; +17794.791µs] or [-15.767%; +16.032%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-11389.412op/s; -10366.165op/s] or [-13.504%; -12.291%]

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

  • 🟩 execution_time [-60.910ms; -43.408ms] or [-30.388%; -21.656%]
  • 🟥 throughput [-48203.378op/s; -37869.741op/s] or [-40.517%; -31.831%]

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

  • unstable execution_time [-73.551ms; -45.273ms] or [-36.994%; -22.771%]
  • 🟥 throughput [-6502.542op/s; -5368.222op/s] or [-6.612%; -5.458%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+318.779ms; +334.123ms] or [+158.189%; +165.803%]
  • 🟥 throughput [-51.978op/s; -39.417op/s] or [-9.352%; -7.092%]

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

  • unstable execution_time [+114.530ms; +168.361ms] or [+90.486%; +133.015%]
  • unstable throughput [-29.109op/s; +65.486op/s] or [-3.838%; +8.634%]

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

  • 🟥 execution_time [+85.423ms; +86.636ms] or [+75.596%; +76.670%]

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

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

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+9.299%; +9.310%]
  • 🟩 execution_time [-84.428ms; -80.194ms] or [-39.431%; -37.454%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • unstable execution_time [-64.348ms; -43.009ms] or [-30.642%; -20.480%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-262072.339op/s; -257434.198op/s] or [-26.759%; -26.285%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • 🟩 execution_time [-103.419ms; -82.252ms] or [-46.121%; -36.681%]
  • unstable throughput [-173435.362op/s; -75499.165op/s] or [-18.528%; -8.066%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • unstable execution_time [-27.898ms; -6.553ms] or [-13.926%; -3.271%]
  • 🟥 throughput [-123804.070op/s; -107513.114op/s] or [-17.788%; -15.448%]

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

  • 🟩 execution_time [-39.868ms; -20.484ms] or [-20.115%; -10.335%]
  • 🟥 throughput [-25030.662op/s; -10047.841op/s] or [-15.927%; -6.393%]

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

  • unstable execution_time [-49.545ms; -29.894ms] or [-25.260%; -15.241%]
  • 🟩 throughput [+8643.006op/s; +11437.114op/s] or [+6.885%; +9.111%]

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

  • unstable execution_time [-35.188ms; -12.743ms] or [-17.398%; -6.301%]
  • unstable throughput [-636515.345op/s; -293727.237op/s] or [-21.224%; -9.794%]

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

  • unstable execution_time [-65.490ms; -39.623ms] or [-30.189%; -18.265%]
  • 🟩 throughput [+155698.487op/s; +210975.749op/s] or [+6.180%; +8.374%]

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

  • 🟥 execution_time [+301.303ms; +315.179ms] or [+150.551%; +157.484%]

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

  • unstable execution_time [+146.616ms; +186.721ms] or [+73.939%; +94.164%]

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

  • 🟥 execution_time [+302.667ms; +309.459ms] or [+152.460%; +155.881%]

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

  • 🟥 execution_time [+298.677ms; +312.458ms] or [+146.698%; +153.467%]

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

  • 🟥 execution_time [+243.566ms; +259.008ms] or [+119.071%; +126.619%]

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

  • 🟥 execution_time [+284.789ms; +300.891ms] or [+142.337%; +150.385%]

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

  • 🟥 execution_time [+20.435µs; +44.070µs] or [+6.524%; +14.069%]
  • 🟥 throughput [-412.467op/s; -213.564op/s] or [-12.858%; -6.657%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.796ms; +301.393ms] or [+149.629%; +150.426%]

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

  • unstable execution_time [+348.347ms; +370.858ms] or [+378.494%; +402.953%]
  • 🟥 throughput [-6865.271op/s; -6574.362op/s] or [-56.413%; -54.022%]

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

  • unstable execution_time [+182.266ms; +253.254ms] or [+138.393%; +192.293%]
  • 🟥 throughput [-1307.691op/s; -1054.202op/s] or [-12.659%; -10.205%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+302.034ms; +318.950ms] or [+138.872%; +146.650%]
  • 🟥 throughput [-687.058op/s; -669.208op/s] or [-62.254%; -60.637%]

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

  • unstable execution_time [-53.399ms; +80.395ms] or [-22.756%; +34.261%]
  • 🟥 throughput [-700.651op/s; -609.649op/s] or [-46.734%; -40.664%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+343.469ms; +351.274ms] or [+205.434%; +210.103%]
  • 🟥 throughput [-731.559op/s; -697.541op/s] or [-50.937%; -48.569%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • 🟥 execution_time [+307.495µs; +341.207µs] or [+15.475%; +17.171%]
  • 🟥 throughput [-73.534op/s; -67.116op/s] or [-14.612%; -13.337%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • 🟥 execution_time [+258.249µs; +274.052µs] or [+10.087%; +10.705%]
  • 🟥 throughput [-37.750op/s; -35.750op/s] or [-9.665%; -9.152%]

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

  • 🟩 execution_time [-193.384µs; -173.874µs] or [-9.796%; -8.808%]
  • 🟩 throughput [+49.176op/s; +55.137op/s] or [+9.708%; +10.884%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+302.526ms; +315.333ms] or [+152.346%; +158.796%]

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

  • unstable execution_time [+238.988ms; +259.209ms] or [+119.758%; +129.890%]

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

  • 🟥 execution_time [+300.141ms; +306.947ms] or [+150.778%; +154.197%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+301.850ms; +314.293ms] or [+151.579%; +157.827%]

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

  • unstable execution_time [+225.111ms; +254.127ms] or [+111.307%; +125.655%]

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

  • 🟥 execution_time [+303.382ms; +310.358ms] or [+153.767%; +157.303%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+306.081ms; +320.129ms] or [+153.625%; +160.676%]

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

  • 🟥 execution_time [+304.507ms; +311.862ms] or [+151.769%; +155.435%]
  • 🟩 throughput [+42288.955op/s; +53106.190op/s] or [+8.397%; +10.545%]

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

  • 🟥 execution_time [+296.525ms; +304.193ms] or [+147.519%; +151.333%]

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

  • unstable execution_time [-92.434ms; -64.176ms] or [-42.982%; -29.842%]
  • unstable throughput [-95434.975op/s; -44207.115op/s] or [-26.180%; -12.127%]

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

  • unstable execution_time [-88.361ms; -65.527ms] or [-44.323%; -32.869%]

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

  • 🟩 allocated_mem [-26.544KB; -26.519KB] or [-9.683%; -9.674%]
  • unstable execution_time [-71.407µs; -18.163µs] or [-14.113%; -3.590%]

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

  • 🟩 allocated_mem [-17.348KB; -17.328KB] or [-6.324%; -6.317%]
  • 🟩 execution_time [-83.810µs; -29.927µs] or [-14.524%; -5.186%]
  • 🟩 throughput [+104.170op/s; +249.221op/s] or [+5.951%; +14.238%]

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

  • 🟥 allocated_mem [+8.190KB; +8.196KB] or [+16.663%; +16.675%]

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

  • unstable execution_time [+4.437µs; +9.690µs] or [+10.488%; +22.903%]
  • 🟥 throughput [-4202.425op/s; -2166.769op/s] or [-17.691%; -9.121%]

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

  • unstable execution_time [-13.032µs; -3.650µs] or [-20.218%; -5.663%]
  • unstable throughput [+1105.647op/s; +3045.962op/s] or [+6.784%; +18.688%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+298.790ms; +313.474ms] or [+151.025%; +158.447%]

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

  • 🟥 execution_time [+304.742ms; +311.973ms] or [+155.113%; +158.793%]

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

  • 🟥 execution_time [+303.043ms; +308.998ms] or [+151.710%; +154.691%]

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

  • unstable execution_time [-78.606ms; -50.579ms] or [-39.291%; -25.282%]
  • unstable throughput [-177592.482op/s; -104712.267op/s] or [-33.615%; -19.820%]

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

  • unstable execution_time [-31.055ms; -6.327ms] or [-15.742%; -3.207%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.549ms; +314.837ms] or [+150.295%; +156.918%]

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

  • unstable execution_time [+260.865ms; +292.722ms] or [+130.994%; +146.991%]

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

  • unstable execution_time [+235.824ms; +288.362ms] or [+119.595%; +146.239%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.879ms; +300.657ms] or [+149.581%; +149.969%]
  • 🟩 throughput [+59974651.587op/s; +60294158.627op/s] or [+43.677%; +43.910%]

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

  • unstable execution_time [+367.892ms; +379.766ms] or [+457.539%; +472.306%]
  • 🟥 throughput [-7367.947op/s; -7160.544op/s] or [-56.958%; -55.355%]

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

  • 🟥 execution_time [+296.242ms; +299.017ms] or [+147.759%; +149.143%]
  • 🟥 throughput [-17826583.940op/s; -16416408.493op/s] or [-7.896%; -7.271%]

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

  • unstable execution_time [-28.872ms; -1.002ms] or [-14.141%; -0.491%]
  • unstable throughput [-450868.828op/s; -318789.116op/s] or [-42.096%; -29.764%]

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

  • unstable execution_time [-70.066ms; -44.508ms] or [-35.454%; -22.521%]

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

  • unstable execution_time [-45.589ms; -20.463ms] or [-23.752%; -10.661%]
  • unstable throughput [-371622.413op/s; -197165.438op/s] or [-28.764%; -15.261%]

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

  • unstable execution_time [-32.780ms; -11.045ms] or [-16.106%; -5.427%]
  • 🟩 throughput [+58723.178op/s; +80463.987op/s] or [+5.832%; +7.991%]

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

  • unstable execution_time [-73.392ms; -46.600ms] or [-36.651%; -23.272%]
  • unstable throughput [-49024.024op/s; +13135.764op/s] or [-8.902%; +2.385%]

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

  • unstable execution_time [-88.659ms; -66.681ms] or [-44.546%; -33.503%]

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

  • unstable execution_time [-98.762ms; -73.044ms] or [-49.399%; -36.535%]
  • unstable throughput [-94451.910op/s; +35419.874op/s] or [-10.553%; +3.957%]

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

  • unstable execution_time [-53.995ms; -24.954ms] or [-27.423%; -12.674%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • 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_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice 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 netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

@dd-trace-dotnet-ci-bot

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

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration73.02 ± (73.12 - 73.65) ms72.96 ± (72.97 - 73.34) ms-0.1%
.NET Framework 4.8 - Bailout
duration77.76 ± (77.64 - 78.04) ms77.75 ± (78.00 - 78.50) ms-0.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1096.60 ± (1095.32 - 1101.43) ms1092.45 ± (1093.92 - 1100.74) ms-0.4%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.38 ± (22.34 - 22.42) ms22.60 ± (22.55 - 22.65) ms+1.0%✅⬆️
process.time_to_main_ms83.98 ± (83.77 - 84.19) ms84.75 ± (84.46 - 85.04) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.92) MB10.93 ± (10.92 - 10.93) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.58 ± (22.51 - 22.64) ms22.60 ± (22.55 - 22.65) ms+0.1%✅⬆️
process.time_to_main_ms88.13 ± (87.71 - 88.54) ms87.62 ± (87.35 - 87.89) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.88 ± (10.87 - 10.88) MB10.95 ± (10.95 - 10.95) MB+0.7%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms211.71 ± (210.84 - 212.58) ms211.01 ± (210.24 - 211.78) ms-0.3%
process.time_to_main_ms537.57 ± (536.26 - 538.88) ms537.15 ± (535.88 - 538.42) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed47.95 ± (47.92 - 47.99) MB48.05 ± (48.02 - 48.08) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.8%
.NET 6 - Baseline
process.internal_duration_ms21.70 ± (21.63 - 21.76) ms21.16 ± (21.12 - 21.21) ms-2.5%
process.time_to_main_ms76.71 ± (76.41 - 77.00) ms73.84 ± (73.58 - 74.11) ms-3.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.60 - 10.61) MB10.63 ± (10.63 - 10.64) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.26 ± (21.22 - 21.31) ms21.24 ± (21.19 - 21.30) ms-0.1%
process.time_to_main_ms75.51 ± (75.27 - 75.75) ms76.28 ± (76.03 - 76.53) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.73) MB10.75 ± (10.74 - 10.75) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms378.40 ± (376.22 - 380.58) ms378.44 ± (376.05 - 380.84) ms+0.0%✅⬆️
process.time_to_main_ms538.17 ± (536.76 - 539.58) ms537.58 ± (536.10 - 539.06) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.45 ± (49.43 - 49.47) MB49.60 ± (49.57 - 49.62) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 8 - Baseline
process.internal_duration_ms19.64 ± (19.59 - 19.69) ms19.65 ± (19.61 - 19.69) ms+0.1%✅⬆️
process.time_to_main_ms73.67 ± (73.43 - 73.91) ms73.61 ± (73.41 - 73.81) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.65 ± (7.65 - 7.66) MB7.66 ± (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.82 ± (19.76 - 19.88) ms19.83 ± (19.78 - 19.88) ms+0.1%✅⬆️
process.time_to_main_ms75.92 ± (75.66 - 76.18) ms75.67 ± (75.41 - 75.94) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.71) MB7.71 ± (7.70 - 7.71) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms296.03 ± (293.79 - 298.26) ms296.13 ± (293.90 - 298.36) ms+0.0%✅⬆️
process.time_to_main_ms497.28 ± (496.08 - 498.49) ms497.05 ± (495.95 - 498.14) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.63 ± (36.60 - 36.66) MB36.66 ± (36.63 - 36.69) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.1%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration189.94 ± (190.01 - 190.62) ms193.24 ± (193.06 - 193.79) ms+1.7%✅⬆️
.NET Framework 4.8 - Bailout
duration193.39 ± (193.21 - 193.58) ms197.56 ± (197.34 - 197.95) ms+2.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1157.87 ± (1157.64 - 1163.05) ms1167.15 ± (1167.60 - 1173.12) ms+0.8%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms186.69 ± (186.30 - 187.08) ms187.34 ± (186.97 - 187.72) ms+0.4%✅⬆️
process.time_to_main_ms81.25 ± (80.94 - 81.56) ms81.64 ± (81.41 - 81.88) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.12) MB16.08 ± (16.06 - 16.11) MB-0.1%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)-0.2%
.NET Core 3.1 - Bailout
process.internal_duration_ms187.60 ± (187.23 - 187.97) ms186.99 ± (186.71 - 187.26) ms-0.3%
process.time_to_main_ms83.38 ± (83.21 - 83.55) ms82.56 ± (82.38 - 82.75) ms-1.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.22 ± (16.20 - 16.25) MB16.12 ± (16.09 - 16.15) MB-0.6%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-0.2%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms379.98 ± (378.54 - 381.42) ms379.07 ± (378.03 - 380.11) ms-0.2%
process.time_to_main_ms521.18 ± (520.11 - 522.25) ms518.14 ± (517.17 - 519.12) ms-0.6%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed56.83 ± (56.73 - 56.93) MB56.89 ± (56.83 - 56.94) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms192.90 ± (192.42 - 193.37) ms191.56 ± (191.30 - 191.82) ms-0.7%
process.time_to_main_ms71.50 ± (71.34 - 71.67) ms70.76 ± (70.61 - 70.91) ms-1.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.40 ± (16.37 - 16.42) MB16.12 ± (15.98 - 16.25) MB-1.7%
runtime.dotnet.threads.count19 ± (19 - 19)18 ± (18 - 18)-5.0%
.NET 6 - Bailout
process.internal_duration_ms193.17 ± (192.69 - 193.64) ms190.90 ± (190.69 - 191.10) ms-1.2%
process.time_to_main_ms72.40 ± (72.22 - 72.58) ms71.92 ± (71.79 - 72.04) ms-0.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.31 ± (16.22 - 16.39) MB16.27 ± (16.16 - 16.39) MB-0.2%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.8%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms589.73 ± (587.06 - 592.41) ms586.06 ± (582.29 - 589.84) ms-0.6%
process.time_to_main_ms531.94 ± (530.59 - 533.29) ms518.78 ± (517.74 - 519.82) ms-2.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed60.93 ± (60.83 - 61.03) MB60.86 ± (60.76 - 60.96) MB-0.1%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.3%
.NET 8 - Baseline
process.internal_duration_ms198.55 ± (198.16 - 198.94) ms195.97 ± (195.53 - 196.41) ms-1.3%
process.time_to_main_ms73.82 ± (73.57 - 74.07) ms72.71 ± (72.52 - 72.89) ms-1.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.61 ± (11.60 - 11.63) MB11.64 ± (11.62 - 11.65) MB+0.2%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.4%
.NET 8 - Bailout
process.internal_duration_ms195.34 ± (194.84 - 195.84) ms191.51 ± (191.12 - 191.91) ms-2.0%
process.time_to_main_ms73.58 ± (73.40 - 73.76) ms72.34 ± (72.18 - 72.49) ms-1.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.70 ± (11.67 - 11.72) MB11.78 ± (11.76 - 11.81) MB+0.7%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.6%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms516.64 ± (513.71 - 519.56) ms510.03 ± (507.45 - 512.61) ms-1.3%
process.time_to_main_ms495.96 ± (495.00 - 496.91) ms487.71 ± (486.90 - 488.52) ms-1.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.46 ± (50.42 - 50.50) MB50.37 ± (50.34 - 50.40) MB-0.2%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.4%
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 (8599) - mean (73ms)  : 70, 76
    master - mean (73ms)  : 69, 77

    section Bailout
    This PR (8599) - mean (78ms)  : 75, 82
    master - mean (78ms)  : 75, 81

    section CallTarget+Inlining+NGEN
    This PR (8599) - mean (1,097ms)  : 1049, 1146
    master - mean (1,098ms)  : 1055, 1142

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 (8599) - mean (114ms)  : 109, 120
    master - mean (113ms)  : 109, 118

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

    section CallTarget+Inlining+NGEN
    This PR (8599) - mean (785ms)  : 756, 814
    master - mean (784ms)  : 758, 810

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

    section Bailout
    This PR (8599) - mean (104ms)  : 99, 109
    master - mean (103ms)  : 98, 109

    section CallTarget+Inlining+NGEN
    This PR (8599) - mean (942ms)  : 896, 988
    master - mean (945ms)  : 903, 987

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

    section Bailout
    This PR (8599) - mean (104ms)  : 99, 108
    master - mean (104ms)  : 98, 109

    section CallTarget+Inlining+NGEN
    This PR (8599) - mean (825ms)  : 783, 866
    master - mean (824ms)  : 779, 869

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 (8599) - mean (193ms)  : 190, 197
    master - mean (190ms)  : 187, 193

    section Bailout
    This PR (8599) - mean (198ms)  : 195, 201
    master - mean (193ms)  : 192, 195

    section CallTarget+Inlining+NGEN
    This PR (8599) - mean (1,170ms)  : 1131, 1210
    master - mean (1,160ms)  : 1122, 1199

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 (8599) - mean (278ms)  : 272, 283
    master - mean (277ms)  : 270, 283

    section Bailout
    This PR (8599) - mean (278ms)  : 274, 281
    master - mean (279ms)  : 274, 285

    section CallTarget+Inlining+NGEN
    This PR (8599) - mean (936ms)  : 914, 959
    master - mean (941ms)  : 920, 961

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8599) - mean (271ms)  : 267, 274
    master - mean (273ms)  : 266, 280

    section Bailout
    This PR (8599) - mean (271ms)  : 268, 274
    master - mean (274ms)  : 268, 280

    section CallTarget+Inlining+NGEN
    This PR (8599) - mean (1,134ms)  : 1076, 1191
    master - mean (1,152ms)  : 1101, 1202

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8599) - mean (279ms)  : 270, 289
    master - mean (283ms)  : 276, 290

    section Bailout
    This PR (8599) - mean (274ms)  : 268, 280
    master - mean (279ms)  : 271, 288

    section CallTarget+Inlining+NGEN
    This PR (8599) - mean (1,029ms)  : 991, 1067
    master - mean (1,044ms)  : 994, 1094

Loading

@NachoEchevarria
NachoEchevarria marked this pull request as ready for review May 12, 2026 11:09
@NachoEchevarria
NachoEchevarria requested review from a team as code owners May 12, 2026 11:09

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@NachoEchevarria
NachoEchevarria merged commit 108dbb9 into master May 13, 2026
147 checks passed
@NachoEchevarria
NachoEchevarria deleted the nacho/FixWarningsPart4 branch May 13, 2026 08:43
@github-actions github-actions Bot added this to the vNext-v3 milestone May 13, 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.

4 participants