Skip to content

Implement ITR code coverage backfill#8626

Open
tonyredondo wants to merge 43 commits into
masterfrom
feat/itr-code-coverage-backfill
Open

Implement ITR code coverage backfill#8626
tonyredondo wants to merge 43 commits into
masterfrom
feat/itr-code-coverage-backfill

Conversation

@tonyredondo
Copy link
Copy Markdown
Member

@tonyredondo tonyredondo commented May 13, 2026

Summary of changes

  • Adds backend meta.coverage parsing and scoped storage for ITR coverage backfill.
  • Applies skipped-test line coverage to Datadog internal coverage, Coverlet, Cobertura, OpenCover, and line-capable Microsoft CodeCoverage XML reports.
  • Adds source arbitration so selected external coverage results are not overwritten by internal collection.
  • Adds safety gates for missing backend line coverage, local filtering, ambiguous scopes, unsupported command filters/framework subsets, aggregate-only reports, and IPC delivery failures.
  • Tracks actual ITR skips separately from skippable candidates and scopes backend coverage by test bundle/runtime/configuration.

Reason for change

When ITR skips tests, coverage tools can otherwise report incomplete line coverage. The backend now returns skipped-test line coverage in the skippable-tests response, and the tracer needs to merge that data with local coverage before publishing or rewriting report results.

RFC: https://docs.google.com/document/d/1234bLTvL-v9PzA3zIAf_2NN8DdTpfLM8NX4WiniPssw/edit?tab=t.0#heading=h.rnd972k0hiye

Java PR: DataDog/dd-trace-java#7367

Implementation details

  • Introduces shared coverage backfill data parsing, path normalization, persistence, and matching helpers.
  • Adds backfill adapters for internal global coverage, external XML reports, and Coverlet in-memory modules.
  • Sends explicit test_level and test.bundle request scope for coverage-active skippable requests.
  • Aggregates session coverage results by source and count, then publishes the highest-priority selected source.
  • Updates line-count bitmap production so positive LineCallCount values are treated as covered.

Architecture overview

Skippable request initialization

flowchart TD
  A["TestOptimizationSkippableFeature constructor"]
  B{"TestsSkippingEnabled?"}
  C["Disabled: no skippable task"]
  D["CoverageBackfillCapability.IsCoverageBackfillRequired(settings)"]
  E{"Backfill required?"}
  F["Legacy/global mode: create _skippableTestsTask immediately"]
  G["Coverage-active mode: _skippableTestsTask = null"]
  H["Later: GetSkippableTestsTask(moduleName)"]
  I{"moduleName available?"}
  J["Create SkippableTestsRequestScope(test.bundle + runtime/config fingerprint)"]
  K["InternalGetSkippableTestsAsync(scope)"]
  L["ITestOptimizationClient.GetSkippableTestsAsync(scope)"]
  M["Parse skippable tests + meta.coverage"]
  N["CoverageBackfillDataStore.Persist(scope, data)"]
  O["No scoped task, no skippable candidates"]

  A --> B
  B -- "no" --> C
  B -- "yes" --> D --> E
  E -- "no" --> F --> K
  E -- "yes" --> G --> H
  H --> I
  I -- "yes" --> J --> K
  I -- "no" --> O
  K --> L --> M --> N
Loading

Skip decision path

flowchart TD
  A["Common.ShouldSkip(testSuite, testName, args)"]
  B["moduleName = current Bundle ?? Module"]
  C["GetSkippableTestsFromSuiteAndName(testSuite, testName, moduleName)"]
  D{"Candidate matched by name/parameters?"}
  E["return false: do not skip"]
  F["CanSkipForCoverage(candidate, moduleName)"]
  G{"IsCoverageBackfillRequired()?"}
  H["return true: legacy behavior, skip allowed"]
  I["CanSkipWithCoverageBackfill(candidate, moduleName)"]
  J{"All coverage safety checks pass?"}
  K["return true: skip allowed"]
  L["return false: do not skip"]

  A --> B --> C --> D
  D -- "no" --> E
  D -- "yes" --> F --> G
  G -- "no" --> H
  G -- "yes" --> I --> J
  J -- "yes" --> K
  J -- "no" --> L
Loading

Important detail: when coverage backfill is not required, CanSkipForCoverage returns true before calling CanSkipWithCoverageBackfill, so non-coverage-active ITR keeps the legacy behavior.

Coverage backfill safety gate

flowchart TD
  A["CanSkipWithCoverageBackfill"]
  B{"Backend marked candidate missing line coverage?"}
  C["deny skip"]
  D{"Active coverage mode backfillable?"}
  E["deny skip"]
  F["Get scoped/global skippable task"]
  G{"Task available?"}
  H["deny skip"]
  I{"Ambiguous coverage scope?"}
  J["deny skip"]
  K{"Response coverage marked safe?"}
  L["deny skip"]
  M{"Backfill data present and valid?"}
  N["deny skip"]
  O["allow skip"]

  A --> B
  B -- "yes" --> C
  B -- "no" --> D
  D -- "no" --> E
  D -- "yes" --> F --> G
  G -- "no" --> H
  G -- "yes" --> I
  I -- "yes" --> J
  I -- "no" --> K
  K -- "no" --> L
  K -- "yes" --> M
  M -- "no" --> N
  M -- "yes" --> O
Loading

Actual skip tracking

flowchart TD
  A["Test closes with skip reason = ITR"]
  B["SkippableFeature.RecordTestSkippedByItr(bundle/module)"]
  C{"Coverage-active scoped mode and moduleName exists?"}
  D["Record in-memory actual skipped dictionary"]
  E["CoverageBackfillDataStore.RecordActualItrSkip(scope)"]
  F["CoverageBackfillDataStore.RecordActualItrSkip(default)"]

  A --> B --> C
  C -- "yes" --> D --> E
  C -- "no" --> F
Loading

Backfill application is still guarded later by IsCoverageBackfillRequired(). Recording an actual-skip marker does not by itself make non-coverage-active runs apply backfill.

Session finalization and coverage publishing

flowchart TD
  A["DotnetCommon.FinalizeSession"]
  B["Datadog internal coverage JSON"]
  C["TryApplyItrCoverageBackfill"]
  D["TryGetCoverageBackfillDataForSession"]
  E{"Backfill required AND actual ITR skips?"}
  F["No backfill"]
  G["Use safe in-memory data or CoverageBackfillDataStore.TryLoad"]
  H["CoverageBackfillApplicator.ApplyToGlobalCoverage"]
  I["session.RecordCodeCoverage(DatadogInternal)"]

  J["External XML path"]
  K["TryProcessCoverageXml"]
  L["ExternalCoverageXmlBackfill.TryProcess"]
  M["session.RecordCodeCoverage(ExternalXml)"]

  N["Drain IPC messages from child coverage tools"]
  O["SessionCodeCoverageMessage from Coverlet/Microsoft"]
  P["session.RecordCodeCoverage(source)"]

  Q["CodeCoverageResultAggregator"]
  R["TestSession.PublishCodeCoverage"]

  A --> B --> C --> D --> E
  E -- "no" --> F
  E -- "yes" --> G --> H --> I --> Q
  A --> J --> K --> L --> M --> Q
  A --> N --> O --> P --> Q --> R
Loading

Child coverage tool adapters

flowchart TD
  A["Coverlet GetCoverageResult()"]
  B["CoverageGetCoverageResultIntegration"]
  C["TryGetCoverageBackfillDataForCurrentProcess"]
  D{"Actual ITR skip marker exists?"}
  E["No backfill, calculate native percentage"]
  F["CoverletCoverageBackfill.TryApply"]
  G["Send SessionCodeCoverageMessage(Coverlet)"]

  H["Microsoft ManagedVanguard.Stop()"]
  I["ManagedVanguardStopIntegration"]
  J["ExternalCoverageXmlBackfill.TryProcess"]
  K["Send SessionCodeCoverageMessage(MicrosoftCodeCoverage)"]

  A --> B --> C --> D
  D -- "no" --> E --> G
  D -- "yes" --> F --> G
  H --> I --> C
  C --> J --> K
Loading

Type guide

Type Responsibility
CoverageBackfillCapability Decides whether the current run needs coverage backfill and whether the active coverage mode is safe to correct.
TestOptimizationSkippableFeature Owns skippable candidates. Uses one global task in legacy mode and scoped tasks by bundle/module in coverage-active mode.
SkippableTestsRequestScope Represents the backend request scope. Includes test.bundle and a fingerprint built from runtime, OS, service/env, repo/sha, and custom test configurations.
SkippableTest Backend skippable candidate. Also carries _missing_line_code_coverage when the backend cannot provide line coverage for that candidate.
CoverageBackfillData Decoded meta.coverage: repository-relative source path to executed-line bitmap.
CoverageBackfillDataStore Cross-process persistence for backend coverage, actual-skip markers, scoped actual-skip markers, and coverage IPC failures.
CoverageBackfillApplicator Applies backend line bitmaps to Datadog internal GlobalCoverageInfo.
ExternalCoverageXmlBackfill Parses and optionally rewrites line-capable XML reports such as Cobertura, OpenCover, and Microsoft line XML.
CoverletCoverageBackfill Mutates Coverlet's in-memory module model before Coverlet calculates the final line coverage summary.
SessionCodeCoverageMessage IPC message used by child coverage-tool processes/domains to send source-specific coverage results to the parent test session.
CodeCoverageResultAggregator Merges repeated source results and selects the final session coverage source by priority: ExternalXml > Coverlet > MicrosoftCodeCoverage > Unknown > DatadogInternal.

Key behavior cases

  • No coverage report source: ITR keeps legacy behavior. A matched skippable candidate is enough to skip, and CanSkipWithCoverageBackfill is not called.
  • Coverage report source active: skippable requests are scoped by bundle/module, and a test can only be skipped when backend coverage can safely backfill the skipped test.
  • Coverage active but no actual ITR skip: no backfill is applied to the coverage report.
  • Child coverage tools: Coverlet and Microsoft CodeCoverage correct or compute their native result in the child process/domain and send the selected result to the parent session through IPC.

Test coverage

Other details

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented May 13, 2026

Benchmarks

Benchmark execution time: 2026-05-14 20:46:24

Comparing candidate commit 1f33b65 in PR branch feat/itr-code-coverage-backfill with baseline commit 9c344fa 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_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1

Found 2 performance improvements and 4 performance regressions! Performance is the same for 49 metrics, 17 unstable metrics, 86 known flaky benchmarks, 40 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

  • 🟥 throughput [-27145.509op/s; -12867.840op/s] or [-14.971%; -7.097%]
  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]

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 [-81076.794op/s; -75617.716op/s] or [-55.077%; -51.368%]

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

  • 🟥 throughput [-56816.342op/s; -42369.323op/s] or [-28.488%; -21.244%]
  • 🟩 execution_time [-72.364ms; -54.307ms] or [-36.597%; -27.465%]

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 [-12529.723µs; +11697.643µs] or [-9.139%; +8.532%]
  • unstable throughput [-10621.387op/s; +13709.109op/s] or [-6.024%; +7.775%]

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

  • unstable execution_time [+47.900ms; +79.377ms] or [+52.656%; +87.259%]

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

  • unstable execution_time [-38.003ms; -3.434ms] or [-25.681%; -2.321%]
  • unstable throughput [-1261.688op/s; +20649.436op/s] or [-0.820%; +13.420%]

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

  • unstable execution_time [-10.524ms; +13.872ms] or [-7.526%; +9.921%]
  • 🟥 throughput [-28634.539op/s; -12715.585op/s] or [-14.955%; -6.641%]

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

  • unstable execution_time [+24.440ms; +63.999ms] or [+21.881%; +57.300%]

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

  • unstable execution_time [-28.364ms; -0.411ms] or [-18.233%; -0.264%]
  • unstable throughput [-2646.271op/s; +12603.348op/s] or [-2.013%; +9.587%]

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

  • unstable execution_time [-21.847ms; +13.996ms] or [-19.041%; +12.198%]

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

  • unstable execution_time [-12.017ms; +32.258ms] or [-8.368%; +22.462%]
  • unstable throughput [-24797.795op/s; +6910.014op/s] or [-13.844%; +3.858%]

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

  • unstable execution_time [+12.829ms; +37.835ms] or [+14.852%; +43.801%]

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

  • unstable execution_time [-59.951ms; -23.227ms] or [-33.706%; -13.059%]
  • unstable throughput [+2229.201op/s; +35573.757op/s] or [+1.376%; +21.954%]

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

  • unstable execution_time [+12.014ms; +37.427ms] or [+13.865%; +43.193%]

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

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

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

  • unstable execution_time [+26.524ms; +65.298ms] or [+19.879%; +48.939%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-7.698%; -7.691%]
  • unstable execution_time [+22.743ms; +41.784ms] or [+18.100%; +33.254%]
  • 🟥 throughput [-38118.123op/s; -22919.579op/s] or [-24.140%; -14.515%]

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

  • unstable execution_time [-37.211ms; -13.376ms] or [-33.236%; -11.947%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]
  • unstable execution_time [-4.585ms; +18.910ms] or [-3.302%; +13.621%]
  • unstable throughput [-6194.477op/s; +10016.674op/s] or [-3.853%; +6.230%]

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

  • unstable execution_time [-41.732ms; -0.837ms] or [-31.478%; -0.631%]

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

  • unstable execution_time [-20.390ms; +7.734ms] or [-14.237%; +5.400%]
  • unstable throughput [-2613.855op/s; +18085.304op/s] or [-2.541%; +17.578%]

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

  • unstable execution_time [-16.564ms; +8.297ms] or [-10.395%; +5.207%]
  • unstable throughput [-2797.708op/s; +13883.970op/s] or [-2.431%; +12.062%]

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

  • unstable execution_time [+29.414ms; +59.712ms] or [+33.075%; +67.144%]

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+9.570%; +9.578%]
  • unstable execution_time [+23.542ms; +43.984ms] or [+19.132%; +35.744%]
  • unstable throughput [-38571.966op/s; -17245.414op/s] or [-22.208%; -9.929%]

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 [-61.542ms; -23.795ms] or [-36.520%; -14.120%]
  • unstable throughput [+13886.383op/s; +40308.599op/s] or [+9.229%; +26.788%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-5727.841op/s; -5116.733op/s] or [-6.792%; -6.067%]

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

  • unstable execution_time [-56.889ms; -21.933ms] or [-28.382%; -10.943%]
  • unstable throughput [-49358.211op/s; -33988.503op/s] or [-41.488%; -28.569%]

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

  • unstable execution_time [-92.188ms; -68.299ms] or [-46.367%; -34.352%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+317.472ms; +332.884ms] or [+157.541%; +165.189%]
  • 🟥 throughput [-56.851op/s; -44.380op/s] or [-10.229%; -7.985%]

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

  • 🟥 execution_time [+98.786ms; +100.399ms] or [+78.047%; +79.321%]
  • 🟩 throughput [+87.645op/s; +93.583op/s] or [+11.556%; +12.339%]

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

  • 🟥 execution_time [+85.084ms; +86.337ms] or [+75.296%; +76.405%]

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 [-32.032ms; -12.170ms] or [-14.960%; -5.684%]
  • 🟥 throughput [-42623.637op/s; -29805.471op/s] or [-31.113%; -21.756%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • 🟩 execution_time [-63.752ms; -43.643ms] or [-30.358%; -20.782%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-265375.730op/s; -257221.261op/s] or [-27.096%; -26.264%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • 🟩 execution_time [-118.003ms; -112.977ms] or [-52.624%; -50.383%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟩 execution_time [-84.878ms; -80.431ms] or [-42.367%; -40.147%]
  • 🟥 throughput [-131742.434op/s; -115337.858op/s] or [-18.929%; -16.572%]

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

  • 🟥 throughput [-42116.708op/s; -29860.811op/s] or [-26.798%; -19.000%]

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

  • unstable execution_time [-48.987ms; -28.415ms] or [-24.975%; -14.487%]
  • 🟩 throughput [+11373.939op/s; +14227.200op/s] or [+9.061%; +11.334%]

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

  • 🟩 execution_time [-57.029ms; -37.528ms] or [-28.197%; -18.555%]
  • unstable throughput [-254882.679op/s; +70845.617op/s] or [-8.499%; +2.362%]

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

  • 🟩 execution_time [-45.044ms; -23.765ms] or [-20.764%; -10.955%]
  • 🟩 throughput [+190460.226op/s; +248100.428op/s] or [+7.560%; +9.848%]

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

  • 🟥 execution_time [+301.379ms; +315.289ms] or [+150.589%; +157.539%]

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

  • 🟥 execution_time [+126.371ms; +133.725ms] or [+63.729%; +67.438%]

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

  • unstable execution_time [+251.277ms; +289.583ms] or [+126.574%; +145.869%]

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

  • 🟥 execution_time [+297.659ms; +311.347ms] or [+146.198%; +152.921%]

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

  • 🟥 execution_time [+248.046ms; +264.684ms] or [+121.261%; +129.394%]

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

  • 🟥 execution_time [+289.646ms; +302.511ms] or [+144.765%; +151.194%]

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

  • 🟥 execution_time [+20.971µs; +44.582µs] or [+6.695%; +14.233%]
  • 🟥 throughput [-416.839op/s; -218.134op/s] or [-12.994%; -6.800%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+300.046ms; +300.805ms] or [+149.754%; +150.133%]

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

  • unstable execution_time [+358.246ms; +375.322ms] or [+389.249%; +407.802%]
  • 🟥 throughput [-6888.100op/s; -6693.629op/s] or [-56.601%; -55.003%]

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

  • unstable execution_time [+261.410ms; +320.408ms] or [+198.486%; +243.283%]
  • 🟥 throughput [-1195.898op/s; -975.488op/s] or [-11.577%; -9.443%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+296.213ms; +312.056ms] or [+136.196%; +143.480%]
  • 🟥 throughput [-681.811op/s; -664.357op/s] or [-61.779%; -60.197%]

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

  • unstable execution_time [-50.868ms; +83.015ms] or [-21.678%; +35.377%]
  • 🟥 throughput [-696.536op/s; -604.365op/s] or [-46.459%; -40.311%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+338.698ms; +346.991ms] or [+202.581%; +207.541%]
  • 🟥 throughput [-725.148op/s; -691.045op/s] or [-50.491%; -48.116%]

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

  • 🟩 execution_time [-66.315µs; -57.176µs] or [-6.150%; -5.303%]
  • 🟩 throughput [+52.267op/s; +60.754op/s] or [+5.636%; +6.551%]

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

  • 🟩 execution_time [-194.990µs; -184.295µs] or [-9.877%; -9.336%]
  • 🟩 throughput [+52.229op/s; +55.562op/s] or [+10.310%; +10.968%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+307.830ms; +320.382ms] or [+155.017%; +161.338%]

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

  • 🟥 execution_time [+240.995ms; +259.450ms] or [+120.763%; +130.011%]

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

  • 🟥 execution_time [+297.432ms; +304.538ms] or [+149.417%; +152.987%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+301.682ms; +314.036ms] or [+151.495%; +157.698%]

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

  • unstable execution_time [+152.495ms; +207.809ms] or [+75.402%; +102.752%]

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

  • 🟥 execution_time [+304.303ms; +311.843ms] or [+154.234%; +158.056%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+304.833ms; +314.640ms] or [+152.999%; +157.921%]

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

  • 🟥 execution_time [+303.770ms; +310.769ms] or [+151.402%; +154.890%]
  • 🟩 throughput [+40208.436op/s; +48671.823op/s] or [+7.984%; +9.665%]

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

  • 🟥 execution_time [+299.422ms; +305.301ms] or [+148.960%; +151.885%]

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

  • unstable execution_time [-87.158ms; -61.818ms] or [-40.529%; -28.745%]
  • unstable throughput [-113394.364op/s; -69707.723op/s] or [-31.107%; -19.123%]

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

  • unstable execution_time [-89.596ms; -66.158ms] or [-44.943%; -33.186%]

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

  • 🟩 allocated_mem [-25.833KB; -25.810KB] or [-9.423%; -9.415%]
  • unstable execution_time [-66.484µs; -8.997µs] or [-13.140%; -1.778%]
  • unstable throughput [+55.988op/s; +268.653op/s] or [+2.794%; +13.406%]

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

  • 🟩 execution_time [-89.187µs; -33.206µs] or [-15.455%; -5.754%]
  • 🟩 throughput [+120.449op/s; +275.556op/s] or [+6.881%; +15.743%]

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

  • unstable execution_time [+1.737µs; +6.014µs] or [+4.105%; +14.215%]

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

  • unstable execution_time [-14.173µs; -4.817µs] or [-21.988%; -7.474%]
  • unstable throughput [+1491.831op/s; +3486.275op/s] or [+9.153%; +21.389%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+305.453ms; +319.355ms] or [+154.393%; +161.420%]

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

  • 🟥 execution_time [+278.560ms; +297.841ms] or [+141.786%; +151.600%]

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

  • 🟥 execution_time [+301.965ms; +305.932ms] or [+151.171%; +153.157%]

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

  • unstable execution_time [-55.524ms; -27.211ms] or [-27.753%; -13.602%]
  • unstable throughput [-218972.613op/s; -152494.856op/s] or [-41.447%; -28.864%]

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

  • unstable execution_time [-55.199ms; -25.247ms] or [-27.980%; -12.798%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.188ms; +316.805ms] or [+150.614%; +157.899%]

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

  • unstable execution_time [+197.694ms; +257.976ms] or [+99.273%; +129.543%]

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

  • 🟥 execution_time [+306.304ms; +313.861ms] or [+155.338%; +159.170%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.670ms; +301.360ms] or [+149.976%; +150.320%]
  • 🟩 throughput [+64651897.462op/s; +64954519.294op/s] or [+47.084%; +47.304%]

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

  • unstable execution_time [+374.835ms; +386.682ms] or [+466.174%; +480.908%]
  • 🟥 throughput [-7368.769op/s; -7164.593op/s] or [-56.964%; -55.386%]

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

  • 🟥 execution_time [+298.004ms; +300.089ms] or [+148.637%; +149.678%]
  • 🟥 throughput [-18261363.155op/s; -17089162.258op/s] or [-8.089%; -7.569%]

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

  • 🟩 execution_time [-88.159ms; -69.514ms] or [-43.179%; -34.047%]

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

  • unstable execution_time [-75.822ms; -48.868ms] or [-38.367%; -24.727%]

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

  • unstable execution_time [-76.180ms; -56.640ms] or [-39.690%; -29.510%]
  • 🟥 throughput [-192355.141op/s; -67819.755op/s] or [-14.889%; -5.249%]

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

  • unstable execution_time [-76.005ms; -48.432ms] or [-37.343%; -23.796%]
  • 🟩 throughput [+69928.438op/s; +80675.573op/s] or [+6.945%; +8.012%]

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

  • 🟩 execution_time [-94.770ms; -92.956ms] or [-47.328%; -46.422%]

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

  • unstable execution_time [-91.510ms; -69.024ms] or [-45.978%; -34.680%]

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

  • unstable execution_time [-59.812ms; -32.204ms] or [-29.917%; -16.108%]
  • unstable throughput [-302771.159op/s; -164672.645op/s] or [-33.827%; -18.398%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_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_RecordException_Sampled netcoreapp3.1
  • 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_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • 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 netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

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

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8626) 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.53 ± (72.45 - 72.83) ms74.90 ± (74.63 - 75.09) ms+3.3%✅⬆️
.NET Framework 4.8 - Bailout
duration78.88 ± (78.69 - 79.22) ms76.91 ± (76.90 - 77.28) ms-2.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1101.30 ± (1100.83 - 1107.78) ms1102.87 ± (1104.34 - 1112.64) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.39 ± (22.35 - 22.43) ms22.67 ± (22.60 - 22.73) ms+1.2%✅⬆️
process.time_to_main_ms83.82 ± (83.63 - 84.01) ms85.98 ± (85.68 - 86.28) ms+2.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.92 - 10.92) MB10.92 ± (10.91 - 10.92) MB-0.0%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.80 ± (22.75 - 22.85) ms22.40 ± (22.36 - 22.43) ms-1.8%
process.time_to_main_ms88.38 ± (88.08 - 88.68) ms85.77 ± (85.56 - 85.98) ms-3.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.88 ± (10.88 - 10.88) MB10.95 ± (10.95 - 10.96) MB+0.7%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms212.71 ± (211.77 - 213.65) ms212.93 ± (212.04 - 213.82) ms+0.1%✅⬆️
process.time_to_main_ms537.00 ± (535.72 - 538.28) ms539.50 ± (538.07 - 540.92) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.41 ± (48.38 - 48.43) MB48.53 ± (48.51 - 48.56) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.37 ± (21.33 - 21.41) ms21.58 ± (21.53 - 21.64) ms+1.0%✅⬆️
process.time_to_main_ms74.28 ± (74.03 - 74.53) ms75.36 ± (75.09 - 75.63) ms+1.5%✅⬆️
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.60 ± (21.55 - 21.66) ms21.19 ± (21.14 - 21.24) ms-1.9%
process.time_to_main_ms77.44 ± (77.19 - 77.69) ms74.72 ± (74.54 - 74.89) ms-3.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.75 - 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_ms375.86 ± (373.58 - 378.13) ms377.57 ± (375.20 - 379.93) ms+0.5%✅⬆️
process.time_to_main_ms539.08 ± (537.82 - 540.34) ms540.37 ± (539.01 - 541.74) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.79 ± (49.77 - 49.81) MB49.96 ± (49.94 - 49.98) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.6%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.35 ± (19.32 - 19.38) ms19.66 ± (19.60 - 19.72) ms+1.6%✅⬆️
process.time_to_main_ms72.06 ± (71.88 - 72.25) ms74.38 ± (74.09 - 74.66) ms+3.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.69 ± (7.68 - 7.69) MB7.68 ± (7.67 - 7.68) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.70 ± (19.66 - 19.75) ms19.68 ± (19.63 - 19.72) ms-0.1%
process.time_to_main_ms75.27 ± (75.03 - 75.51) ms76.19 ± (75.92 - 76.46) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.74 ± (7.73 - 7.74) MB7.73 ± (7.72 - 7.74) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms291.88 ± (289.76 - 294.00) ms298.11 ± (295.86 - 300.37) ms+2.1%✅⬆️
process.time_to_main_ms497.89 ± (496.73 - 499.05) ms494.67 ± (493.53 - 495.82) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.94 ± (36.92 - 36.97) MB36.91 ± (36.88 - 36.94) 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
duration201.46 ± (201.24 - 202.33) ms201.10 ± (200.37 - 201.27) ms-0.2%
.NET Framework 4.8 - Bailout
duration205.63 ± (205.01 - 206.04) ms204.96 ± (204.39 - 205.29) ms-0.3%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1202.91 ± (1202.06 - 1208.42) ms1199.96 ± (1199.18 - 1204.42) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms195.59 ± (195.03 - 196.15) ms195.21 ± (194.75 - 195.67) ms-0.2%
process.time_to_main_ms84.19 ± (83.85 - 84.52) ms84.55 ± (84.25 - 84.84) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.02 ± (16.00 - 16.05) MB16.05 ± (16.03 - 16.07) MB+0.2%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.6%
.NET Core 3.1 - Bailout
process.internal_duration_ms195.01 ± (194.55 - 195.46) ms195.53 ± (195.01 - 196.06) ms+0.3%✅⬆️
process.time_to_main_ms85.60 ± (85.30 - 85.89) ms86.03 ± (85.72 - 86.35) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.13) MB16.08 ± (16.05 - 16.11) MB-0.1%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.1%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms389.46 ± (388.19 - 390.72) ms389.37 ± (388.10 - 390.63) ms-0.0%
process.time_to_main_ms535.18 ± (533.98 - 536.38) ms534.66 ± (533.43 - 535.90) ms-0.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.40 ± (58.18 - 58.63) MB57.82 ± (57.58 - 58.06) MB-1.0%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.3%
.NET 6 - Baseline
process.internal_duration_ms199.67 ± (199.17 - 200.16) ms199.02 ± (198.49 - 199.55) ms-0.3%
process.time_to_main_ms72.88 ± (72.56 - 73.20) ms73.04 ± (72.77 - 73.32) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.29 ± (16.27 - 16.32) MB16.39 ± (16.36 - 16.42) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.3%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms198.40 ± (198.01 - 198.80) ms197.28 ± (196.81 - 197.75) ms-0.6%
process.time_to_main_ms73.38 ± (73.19 - 73.56) ms73.30 ± (73.07 - 73.53) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.33 ± (16.30 - 16.36) MB16.46 ± (16.44 - 16.49) MB+0.8%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.7%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms597.80 ± (595.34 - 600.25) ms594.98 ± (592.49 - 597.48) ms-0.5%
process.time_to_main_ms537.07 ± (536.12 - 538.03) ms536.10 ± (535.15 - 537.04) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.54 ± (61.45 - 61.63) MB61.32 ± (61.22 - 61.42) MB-0.4%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.4%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms198.21 ± (197.75 - 198.68) ms197.07 ± (196.57 - 197.56) ms-0.6%
process.time_to_main_ms72.57 ± (72.31 - 72.83) ms72.42 ± (72.18 - 72.66) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.67 ± (11.65 - 11.68) MB11.72 ± (11.71 - 11.74) MB+0.5%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.2%
.NET 8 - Bailout
process.internal_duration_ms197.65 ± (197.19 - 198.11) ms197.24 ± (196.78 - 197.70) ms-0.2%
process.time_to_main_ms73.76 ± (73.49 - 74.03) ms73.57 ± (73.35 - 73.78) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.69 ± (11.67 - 11.71) MB11.76 ± (11.74 - 11.78) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.2%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms516.56 ± (513.81 - 519.31) ms515.59 ± (513.07 - 518.12) ms-0.2%
process.time_to_main_ms493.60 ± (492.87 - 494.33) ms492.44 ± (491.61 - 493.28) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.59 ± (50.55 - 50.63) MB50.55 ± (50.51 - 50.59) MB-0.1%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.1%✅⬆️
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 (8626) - mean (75ms)  : 72, 78
    master - mean (73ms)  : 70, 75

    section Bailout
    This PR (8626) - mean (77ms)  : 75, 79
    master - mean (79ms)  : 75, 83

    section CallTarget+Inlining+NGEN
    This PR (8626) - mean (1,108ms)  : 1049, 1168
    master - mean (1,104ms)  : 1056, 1153

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 (8626) - mean (116ms)  : 110, 122
    master - mean (113ms)  : 109, 117

    section Bailout
    This PR (8626) - mean (115ms)  : 112, 118
    master - mean (118ms)  : 113, 124

    section CallTarget+Inlining+NGEN
    This PR (8626) - mean (790ms)  : 761, 820
    master - mean (787ms)  : 759, 814

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8626) - mean (104ms)  : 99, 108
    master - mean (102ms)  : 98, 106

    section Bailout
    This PR (8626) - mean (102ms)  : 100, 105
    master - mean (106ms)  : 100, 111

    section CallTarget+Inlining+NGEN
    This PR (8626) - mean (946ms)  : 912, 980
    master - mean (946ms)  : 907, 986

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

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

    section CallTarget+Inlining+NGEN
    This PR (8626) - mean (824ms)  : 783, 864
    master - mean (822ms)  : 788, 856

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 (8626) - mean (201ms)  : 195, 206
    master - mean (202ms)  : 194, 210

    section Bailout
    This PR (8626) - mean (205ms)  : 200, 209
    master - mean (206ms)  : 198, 213

    section CallTarget+Inlining+NGEN
    This PR (8626) - mean (1,202ms)  : 1167, 1237
    master - mean (1,205ms)  : 1159, 1251

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 (8626) - mean (289ms)  : 279, 299
    master - mean (288ms)  : 281, 295

    section Bailout
    This PR (8626) - mean (290ms)  : 284, 297
    master - mean (290ms)  : 283, 296

    section CallTarget+Inlining+NGEN
    This PR (8626) - mean (963ms)  : 938, 989
    master - mean (967ms)  : 941, 992

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8626) - mean (280ms)  : 272, 288
    master - mean (281ms)  : 275, 287

    section Bailout
    This PR (8626) - mean (279ms)  : 269, 290
    master - mean (280ms)  : 275, 285

    section CallTarget+Inlining+NGEN
    This PR (8626) - mean (1,160ms)  : 1121, 1200
    master - mean (1,163ms)  : 1117, 1208

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

    section Bailout
    This PR (8626) - mean (281ms)  : 275, 287
    master - mean (282ms)  : 275, 288

    section CallTarget+Inlining+NGEN
    This PR (8626) - mean (1,040ms)  : 998, 1081
    master - mean (1,041ms)  : 997, 1085

Loading

@tonyredondo tonyredondo force-pushed the feat/itr-code-coverage-backfill branch from 3f0c9b0 to 7cf4fee Compare May 14, 2026 16:39
@tonyredondo tonyredondo force-pushed the feat/itr-code-coverage-backfill branch from 7cf4fee to c30b95f Compare May 14, 2026 17:20
@tonyredondo tonyredondo marked this pull request as ready for review May 14, 2026 19:48
@tonyredondo tonyredondo requested review from a team as code owners May 14, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant