Skip to content

feat(openfeature): emit server-side EVP flagevaluation#8787

Draft
leoromanovsky wants to merge 21 commits into
masterfrom
leo.romanovsky/ffl-2446-evp-flagevaluation-dotnet
Draft

feat(openfeature): emit server-side EVP flagevaluation#8787
leoromanovsky wants to merge 21 commits into
masterfrom
leo.romanovsky/ffl-2446-evp-flagevaluation-dotnet

Conversation

@leoromanovsky

@leoromanovsky leoromanovsky commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Motivation

Customers need .NET services to produce the same server-side feature-flag evaluation signal as the other supported runtimes, and APM needs backend-visible evidence to approve the rollout. This contribution adds bounded EVP flagevaluation delivery alongside the existing OTel feature_flag.evaluations metric path so .NET participates in the cross-SDK customer value without changing application evaluation behavior.

Changes

  • Adds an EVP flagevaluation writer behind DD_FLAGGING_EVALUATION_COUNTS_ENABLED; OTel metrics remain unchanged.
  • Renames the OpenFeature capture hook to FlagEvalEVPHook so it is distinct from FlagEvalMetricsHook.
  • Aggregates repeated evaluations by worker-visible dimensions: flag key, variant key, allocation key, runtime-default state, error message, targeting key, and pruned context.
  • Prunes evaluation context before enqueue with deterministic 256-field / 256-character bounds.
  • Degrades aggregation by omitting targeting_key and context after the per-flag full-fidelity cap is exceeded.
  • Splits final EVP requests by encoded uncompressed JSON byte size before gzip transport so each request stays under the 5 MiB EVP payload limit.
  • Degrades a single oversized full-fidelity row by omitting targeting_key and context; drops only if the degraded row still cannot fit.
  • Bounds the async handoff queue at 16,384 events and reports backpressure drops if the queue overflows.
  • Drains the send loop on shutdown and final-flushes the remaining aggregate window.
  • Adds payload coverage for the worker-facing contract: no reason, runtime-default state, error.message, degraded omission, visible-dimension buckets, byte-size splitting, and oversized-row degradation/drop.
  • Updates the embedded telemetry metric allowlist for the new flagevaluation drop/degrade/split counters.
  • Removes the copied flageval-worker schema fixture from the SDK test tree and keeps contract coverage as direct payload assertions.

Decisions

  • EVP flagevaluation delivery is a separate bounded logging path from OTel metrics so this rollout does not change existing metric semantics or application evaluation behavior.
  • Aggregation uses only fields accepted by the worker schema; OpenFeature reason is intentionally excluded from payloads and cardinality.
  • targeting_rule.key is reserved for real targeting-rule metadata and is omitted when the provider does not supply it.
  • Context pruning happens before enqueue so high-cardinality input is bounded before it reaches the async writer.
  • Queue overflow and degraded-tier overflow are observable best-effort drops rather than blocking work on customer evaluation threads.
  • Payload splitting is done in the background writer/flusher, not the OpenFeature evaluation hook. The split decision uses encoded uncompressed JSON bytes including the {context, flagEvaluations} wrapper. Compression remains a wire concern after the 5 MiB decision.
  • Hook names follow the cross-SDK architecture split: metrics for the existing OTel counter path, EVP for the flagevaluation path.
  • The SDK should not vendor the backend worker schema as a test fixture; backend schema conformance is owned by the shared worker/system-test surface, while this PR asserts the .NET payload fields it constructs.
flowchart TD
  A[drained aggregated rows] --> B[serialize candidate batch as JSON]
  B --> C{batch <= 5 MiB?}
  C -- yes --> D[gzip and post asynchronously through EVP proxy]
  C -- no --> E{current row fits degraded?}
  E -- yes --> F[omit targeting_key and context]
  F --> B
  E -- no --> G[drop, log, count]
Loading

Validation Evidence

Dogfooding App

  • ffe-dogfooding app-dotnet was run with locally built .NET artifacts from this PR:
    • Datadog.FeatureFlags.OpenFeature 2.3.0
    • Datadog.Trace.Bundle 3.47.0
  • The app reached PROVIDER_READY.
  • Dogfooding ran without the local mock-intake EVP tee/proxy: Agent DD_EVP_PROXY_CONFIG_ADDITIONAL_ENDPOINTS={}, DD_SKIP_SSL_VALIDATION=false, and DD_REMOTE_CONFIGURATION_NO_TLS_VALIDATION=false.
  • Sent 5 identical evaluations per targeting key for ffe-dogfooding-string-flag:
    • dotnet-batch-evp-agent-20260623T030818Z-alpha
    • dotnet-batch-evp-agent-20260623T030818Z-bravo
    • dotnet-batch-evp-agent-20260623T030818Z-charlie
  • App-side result: all 15 evaluations returned variant_2.

System Tests

Staging End-To-End

  • Retriever staging query used --datacenter us1.staging.dog --customer-auth=skip against the flagevaluation track for the exact targeting keys above.
  • Retriever returned one backend row per targeting key, each with flag.key=ffe-dogfooding-string-flag, variant.key=variant_2, allocation.key=allocation-override-392dd7c149f8, and evaluation_count=5:
    • dotnet-batch-evp-agent-20260623T030818Z-alpha: first_evaluation=1782184098608, last_evaluation=1782184098650, timestamp=1782184098747, evaluation_count=5
    • dotnet-batch-evp-agent-20260623T030818Z-bravo: first_evaluation=1782184098660, last_evaluation=1782184098698, timestamp=1782184098747, evaluation_count=5
    • dotnet-batch-evp-agent-20260623T030818Z-charlie: first_evaluation=1782184098708, last_evaluation=1782184098745, timestamp=1782184098747, evaluation_count=5

…regation

- Tests for canonical context key (type-tagged, not a hash, reviewer concern #3)
- Tests for context pruning 256 fields/256 chars (reviewer concern #1)
- Tests for two-tier aggregation: full tier, degraded overflow, drop-count (concern #8)
- Tests for runtime_default from absent variant (reviewer concern #5)
- Tests for EVP path constant and payload shape (NullValueHandling.Ignore, concern #2)
…sk 1)

- FlagEvaluationApi with FlagEvaluationPath = "evp_proxy/v2/api/v2/flagevaluations"
- FlagEvaluationAggregator: two-tier (full → degraded → drop-counted), NO ultra-degraded
- Comparable canonical-context key (sorted, type-tagged length-delimited, NOT a hash)
- Context pruning: 256 fields / 256 chars (reviewer concern #1)
- Caps: globalCap=131072, perFlagCap=10000, degradedCap=32768 (concern #8)
- runtime_default_used from absent variant (reviewer concern #5)
- NullValueHandling.Ignore for optional-field omission per tier (concern #2)
- AgentTransportStrategy + EventPlatformHeaderHelper, 10s SendInterval
- 18 unit tests all passing
- FlagEvalEVPHookTests covers variant=null runtime_default_used, degraded tier omits
  context+targetingKey, allocationKey+targetingKey in full payload, empty aggregator
  returns null, EVP path constant, and FeatureFlagsModule.GetEVPApi() RED gate
- FeatureFlagsModule_WhenEnabled_ExposesEVPApi fails (GetEVPApi not yet implemented)
…luation

- Add FlagEvalEVPHook: FinallyAsync hook capturing all eval paths (success/error/default)
  per reviewer concern #7; routes through FeatureFlagsSdk.EnqueueEVP delegate bridge
- Add OpenFeatureSdkEnqueueEVPIntegration: CallTarget instrumentation intercepting EnqueueEVP
  stub in Datadog.FeatureFlags.OpenFeature, routing to FeatureFlagsModule.GetEVPApi().Enqueue()
- Update DatadogProvider: register FlagEvalEVPHook alongside existing FlagEvalMetricsHook
  when DD_FLAGGING_EVALUATION_COUNTS_ENABLED != "false" (dual killswitch)
- Update FeatureFlagsModule: create FlagEvaluationApi when EVP enabled; expose GetEVPApi()
  for CallTarget bridge; dispose EVP api alongside exposure api
- Update FeatureFlagsSdk: add no-op EnqueueEVP stub with NoInlining for CallTarget hook
- Add DD_FLAGGING_EVALUATION_COUNTS_ENABLED to supported-configurations.yaml and all four
  generated ConfigurationKeys.FeatureFlags.g.cs TFM variants
- Add DD_FLAGGING_EVALUATION_COUNTS_ENABLED to config_norm_rules.json to satisfy
  AllConfigurationValuesAreRegisteredWithIntake test
…tercepts the stub

The native profiler's method hook table (generated_calltargets.g.cpp) was missing
the EnqueueEVP entry for Datadog.FeatureFlags.OpenFeature.FeatureFlagsSdk. The CLR
profiler only instruments methods listed in this table at JIT time; without the
entry, FlagEvalEVPHook.FinallyAsync called the stub directly (a no-op), so nothing
was ever enqueued and the EVP flagevaluation count stayed at zero.

Also adds the corresponding entry to supported_calltargets.g.json for integration
test consistency.
…hand-off

Route the DD_FLAGGING_EVALUATION_COUNTS_ENABLED killswitch through TracerSettings
(parsed, telemetry-reported, overridable) instead of a raw environment read, and
register the EVP hook unconditionally in the provider so the killswitch lives on
the tracer side. Add an async hand-off: the hot-path Enqueue does a cheap bounded
ConcurrentQueue offer with backpressure drop counting, and the background send loop
drains into the two-tier aggregator and drains again on shutdown so a process exit
does not lose the last window. Stamp the evaluation time (dd.eval.timestamp_ms) at
provider entry so first/last_evaluation reflect the evaluation moment. Fix the batch
wrapper to serialize as camelCase "flagEvaluations" while inner event fields stay
snake_case. Add a wired BenchmarkDotNet hot-path benchmark and expand unit coverage
for the aggregation, payload, transport, backpressure, and shutdown-drain contracts.
@datadog-official

This comment has been minimized.

@pr-commenter

pr-commenter Bot commented Jun 14, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-28 22:49:20

Comparing candidate commit 68417d8 in PR branch leo.romanovsky/ffl-2446-evp-flagevaluation-dotnet with baseline commit 4ab6729 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 3 performance regressions! Performance is the same for 69 metrics, 0 unstable metrics, 63 known flaky benchmarks, 63 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.StartActiveSpan net472

  • 🟥 throughput [-16345.604op/s; -13912.330op/s] or [-8.247%; -7.020%]

scenario:Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery net472

  • 🟥 throughput [-23584.623op/s; -19848.846op/s] or [-6.643%; -5.590%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5284.127op/s; -5021.165op/s] or [-6.032%; -5.732%]

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.TelemetrySpanBenchmark.StartSpan net472

  • 🟥 throughput [-22597.647op/s; -21225.091op/s] or [-11.702%; -10.992%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-6717.921op/s; -6060.067op/s] or [-7.965%; -7.185%]

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

  • 🟥 throughput [-10052.585op/s; -8957.604op/s] or [-10.221%; -9.108%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+301.469ms; +306.821ms] or [+149.599%; +152.255%]
  • 🟥 throughput [-52.455op/s; -46.285op/s] or [-9.438%; -8.327%]

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

  • 🟥 execution_time [+378.418ms; +379.429ms] or [+298.974%; +299.772%]
  • 🟩 throughput [+95.263op/s; +97.052op/s] or [+12.560%; +12.796%]

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

  • 🟥 execution_time [+391.354ms; +393.640ms] or [+346.334%; +348.356%]

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

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

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.976%; +9.987%]
  • 🟩 execution_time [-15.701ms; -11.516ms] or [-7.333%; -5.378%]
  • 🟩 throughput [+7200.193op/s; +9968.320op/s] or [+5.256%; +7.276%]

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

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

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-262965.971op/s; -260107.051op/s] or [-26.850%; -26.558%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-26.505ms; -21.646ms] or [-11.820%; -9.653%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-148346.497op/s; -132433.375op/s] or [-21.315%; -19.028%]

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

  • 🟩 throughput [+11103.535op/s; +13806.577op/s] or [+8.845%; +10.999%]

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

  • 🟩 throughput [+447821.920op/s; +474706.467op/s] or [+14.932%; +15.829%]

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

  • 🟩 execution_time [-19.062ms; -14.721ms] or [-8.787%; -6.786%]
  • 🟩 throughput [+171803.093op/s; +225739.126op/s] or [+6.819%; +8.960%]

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

  • 🟥 execution_time [+300.091ms; +301.051ms] or [+149.945%; +150.425%]

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

  • 🟥 execution_time [+299.623ms; +302.786ms] or [+151.101%; +152.696%]

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

  • 🟥 execution_time [+299.463ms; +302.416ms] or [+150.846%; +152.334%]

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

  • 🟥 execution_time [+297.304ms; +298.241ms] or [+146.024%; +146.484%]

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

  • 🟥 execution_time [+296.995ms; +299.685ms] or [+145.190%; +146.505%]

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

  • 🟥 execution_time [+298.149ms; +300.956ms] or [+149.014%; +150.417%]

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

  • 🟥 execution_time [+22.814µs; +46.443µs] or [+7.283%; +14.827%]
  • 🟥 throughput [-432.226op/s; -233.410op/s] or [-13.474%; -7.276%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.458ms; +300.319ms] or [+149.460%; +149.890%]

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

  • 🟥 execution_time [+413.794ms; +420.019ms] or [+449.604%; +456.368%]
  • 🟩 throughput [+703.883op/s; +906.307op/s] or [+5.784%; +7.447%]

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

  • unstable execution_time [+294.905ms; +348.241ms] or [+223.919%; +264.416%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+298.872ms; +348.499ms] or [+137.419%; +160.237%]
  • 🟥 throughput [-562.424op/s; -510.093op/s] or [-50.961%; -46.219%]

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

  • unstable execution_time [+203.946ms; +337.209ms] or [+86.913%; +143.704%]
  • 🟥 throughput [-673.269op/s; -589.826op/s] or [-44.907%; -39.342%]

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

  • unstable execution_time [+310.270ms; +328.676ms] or [+185.578%; +196.586%]
  • 🟥 throughput [-409.732op/s; -369.730op/s] or [-28.529%; -25.744%]

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

  • unstable throughput [+6.817op/s; +49.205op/s] or [+1.960%; +14.144%]

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

  • 🟩 execution_time [-194.417µs; -142.501µs] or [-9.848%; -7.219%]
  • 🟩 throughput [+41.502op/s; +55.581op/s] or [+8.193%; +10.972%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.219ms; +305.374ms] or [+152.695%; +153.781%]

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

  • 🟥 execution_time [+304.124ms; +306.810ms] or [+152.397%; +153.743%]

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

  • 🟥 execution_time [+302.844ms; +306.135ms] or [+152.136%; +153.789%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+301.834ms; +303.806ms] or [+151.571%; +152.561%]

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

  • 🟥 execution_time [+298.444ms; +302.045ms] or [+147.567%; +149.348%]

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

  • 🟥 execution_time [+302.150ms; +306.257ms] or [+153.143%; +155.225%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+301.523ms; +303.923ms] or [+151.337%; +152.542%]

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

  • 🟥 execution_time [+298.969ms; +305.447ms] or [+149.009%; +152.237%]
  • 🟩 throughput [+33095.614op/s; +43810.196op/s] or [+6.572%; +8.699%]

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

  • 🟥 execution_time [+299.954ms; +302.825ms] or [+149.225%; +150.653%]

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

  • 🟩 execution_time [-15.989ms; -12.324ms] or [-7.435%; -5.731%]

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

  • unstable execution_time [+1.106µs; +43.564µs] or [+0.273%; +10.761%]

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

  • 🟩 allocated_mem [-20.301KB; -20.277KB] or [-7.405%; -7.397%]
  • unstable execution_time [-22.550µs; +33.529µs] or [-4.457%; +6.627%]

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

  • 🟩 allocated_mem [-19.097KB; -19.080KB] or [-6.962%; -6.956%]
  • unstable execution_time [-49.696µs; +12.379µs] or [-8.612%; +2.145%]

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 [+6.321µs; +10.969µs] or [+14.942%; +25.928%]
  • 🟥 throughput [-4884.093op/s; -2987.776op/s] or [-20.560%; -12.578%]

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

  • unstable execution_time [-13.104µs; -5.306µs] or [-20.330%; -8.232%]
  • unstable throughput [+1231.579op/s; +2918.740op/s] or [+7.556%; +17.907%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.875ms; +303.503ms] or [+152.585%; +153.407%]

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

  • 🟥 execution_time [+302.088ms; +305.219ms] or [+153.762%; +155.356%]

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

  • 🟥 execution_time [+301.038ms; +303.303ms] or [+150.707%; +151.841%]

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

  • 🟩 throughput [+30221.994op/s; +34495.273op/s] or [+5.720%; +6.529%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.075ms; +303.179ms] or [+150.059%; +151.107%]

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

  • 🟥 execution_time [+299.105ms; +300.519ms] or [+150.196%; +150.906%]
  • 🟩 throughput [+11626.122op/s; +14800.298op/s] or [+5.056%; +6.436%]

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

  • 🟥 execution_time [+304.203ms; +306.746ms] or [+154.272%; +155.562%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.790ms; +301.793ms] or [+150.035%; +150.536%]
  • 🟩 throughput [+61022947.017op/s; +61397334.111op/s] or [+44.441%; +44.713%]

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

  • 🟥 execution_time [+420.793ms; +424.283ms] or [+523.331%; +527.671%]

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

  • 🟥 execution_time [+299.438ms; +300.431ms] or [+149.353%; +149.848%]

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

  • 🟩 throughput [+71767.074op/s; +96821.495op/s] or [+6.701%; +9.040%]

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

  • 🟩 throughput [+54573.721op/s; +73510.070op/s] or [+6.317%; +8.509%]

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

  • 🟩 throughput [+89054.859op/s; +120240.336op/s] or [+6.893%; +9.307%]

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

  • 🟩 throughput [+85788.920op/s; +95699.180op/s] or [+8.520%; +9.504%]

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

  • 🟩 throughput [+49584.423op/s; +56477.254op/s] or [+9.004%; +10.255%]

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

  • 🟩 throughput [+22385.816op/s; +32162.098op/s] or [+5.011%; +7.199%]

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

  • 🟩 throughput [+70770.752op/s; +108891.958op/s] or [+7.907%; +12.166%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8787) 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.54 ± (72.41 - 72.95) ms72.42 ± (72.37 - 72.93) ms-0.2%
.NET Framework 4.8 - Bailout
duration74.36 ± (74.29 - 74.64) ms74.35 ± (74.33 - 74.67) ms-0.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1080.76 ± (1078.88 - 1084.93) ms1079.53 ± (1079.18 - 1085.11) ms-0.1%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.36 ± (22.30 - 22.42) ms22.37 ± (22.32 - 22.41) ms+0.0%✅⬆️
process.time_to_main_ms83.55 ± (83.25 - 83.86) ms83.25 ± (82.99 - 83.52) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.93) MB10.93 ± (10.93 - 10.93) MB-0.0%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.07 ± (22.03 - 22.11) ms21.99 ± (21.96 - 22.02) ms-0.4%
process.time_to_main_ms82.28 ± (82.17 - 82.40) ms82.34 ± (82.20 - 82.47) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.97 ± (10.97 - 10.98) MB10.97 ± (10.97 - 10.98) MB+0.0%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms209.68 ± (208.64 - 210.71) ms209.42 ± (208.64 - 210.21) ms-0.1%
process.time_to_main_ms527.19 ± (525.86 - 528.51) ms533.15 ± (531.81 - 534.48) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.65 ± (48.61 - 48.68) MB48.80 ± (48.77 - 48.84) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.41 ± (21.35 - 21.46) ms20.97 ± (20.92 - 21.01) ms-2.1%
process.time_to_main_ms73.97 ± (73.69 - 74.26) ms71.72 ± (71.46 - 71.98) ms-3.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.63) MB10.64 ± (10.63 - 10.64) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.03 ± (20.99 - 21.07) ms20.75 ± (20.72 - 20.78) ms-1.4%
process.time_to_main_ms72.61 ± (72.40 - 72.81) ms71.01 ± (70.93 - 71.09) ms-2.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.73) MB10.75 ± (10.75 - 10.76) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms369.97 ± (367.73 - 372.21) ms373.66 ± (371.42 - 375.91) ms+1.0%✅⬆️
process.time_to_main_ms537.76 ± (536.50 - 539.02) ms533.65 ± (532.47 - 534.84) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.12 ± (50.10 - 50.14) MB50.21 ± (50.19 - 50.23) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.3%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.08 ± (19.05 - 19.10) ms19.23 ± (19.19 - 19.27) ms+0.8%✅⬆️
process.time_to_main_ms69.21 ± (69.10 - 69.33) ms69.76 ± (69.58 - 69.94) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.67 - 7.68) 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.33 ± (19.29 - 19.37) ms19.41 ± (19.37 - 19.46) ms+0.4%✅⬆️
process.time_to_main_ms73.74 ± (73.52 - 73.96) ms73.25 ± (73.03 - 73.47) ms-0.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.72 - 7.73) MB7.73 ± (7.72 - 7.73) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms299.55 ± (296.83 - 302.27) ms297.19 ± (294.96 - 299.42) ms-0.8%
process.time_to_main_ms485.74 ± (484.76 - 486.72) ms483.75 ± (482.77 - 484.73) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.10 ± (37.07 - 37.12) MB37.25 ± (37.22 - 37.28) MB+0.4%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.0%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration201.56 ± (201.40 - 202.29) ms203.89 ± (203.57 - 204.47) ms+1.2%✅⬆️
.NET Framework 4.8 - Bailout
duration205.38 ± (205.03 - 205.75) ms207.72 ± (207.29 - 208.07) ms+1.1%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1203.77 ± (1202.85 - 1208.99) ms1210.70 ± (1211.13 - 1218.49) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms195.87 ± (195.44 - 196.31) ms196.30 ± (195.84 - 196.75) ms+0.2%✅⬆️
process.time_to_main_ms85.01 ± (84.73 - 85.28) ms85.45 ± (85.12 - 85.78) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.03 - 16.09) MB16.08 ± (16.06 - 16.10) MB+0.1%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms195.63 ± (195.29 - 195.97) ms195.77 ± (195.41 - 196.12) ms+0.1%✅⬆️
process.time_to_main_ms86.60 ± (86.40 - 86.81) ms86.56 ± (86.34 - 86.78) ms-0.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.12 ± (16.09 - 16.14) MB16.08 ± (16.06 - 16.11) MB-0.2%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.3%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms387.81 ± (386.36 - 389.25) ms388.13 ± (386.77 - 389.49) ms+0.1%✅⬆️
process.time_to_main_ms540.34 ± (539.04 - 541.64) ms542.12 ± (540.93 - 543.30) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.90 ± (57.70 - 58.11) MB58.20 ± (57.97 - 58.43) MB+0.5%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.3%
.NET 6 - Baseline
process.internal_duration_ms200.23 ± (199.75 - 200.71) ms200.90 ± (200.45 - 201.35) ms+0.3%✅⬆️
process.time_to_main_ms73.54 ± (73.29 - 73.79) ms74.09 ± (73.86 - 74.32) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.38 ± (16.36 - 16.40) MB16.42 ± (16.39 - 16.44) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.0%
.NET 6 - Bailout
process.internal_duration_ms199.64 ± (199.13 - 200.14) ms201.37 ± (201.01 - 201.74) ms+0.9%✅⬆️
process.time_to_main_ms74.54 ± (74.28 - 74.79) ms75.43 ± (75.21 - 75.65) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.43 ± (16.41 - 16.45) MB16.49 ± (16.46 - 16.51) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.2%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms589.29 ± (586.87 - 591.70) ms584.30 ± (581.80 - 586.80) ms-0.8%
process.time_to_main_ms553.80 ± (552.63 - 554.96) ms554.70 ± (553.54 - 555.87) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.71 ± (61.61 - 61.81) MB61.45 ± (61.37 - 61.54) MB-0.4%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.2%
.NET 8 - Baseline
process.internal_duration_ms197.65 ± (197.25 - 198.05) ms198.49 ± (197.98 - 198.99) ms+0.4%✅⬆️
process.time_to_main_ms72.67 ± (72.35 - 72.98) ms73.40 ± (73.13 - 73.67) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.68 ± (11.66 - 11.71) MB11.71 ± (11.69 - 11.74) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (18 - 19)18 ± (18 - 19)-0.6%
.NET 8 - Bailout
process.internal_duration_ms197.13 ± (196.74 - 197.51) ms198.60 ± (198.24 - 198.97) ms+0.7%✅⬆️
process.time_to_main_ms73.67 ± (73.49 - 73.85) ms74.86 ± (74.69 - 75.04) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.75 ± (11.73 - 11.77) MB11.79 ± (11.77 - 11.81) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (19 - 20)+1.6%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms511.96 ± (509.19 - 514.73) ms512.79 ± (509.53 - 516.04) ms+0.2%✅⬆️
process.time_to_main_ms499.36 ± (498.48 - 500.24) ms505.33 ± (504.40 - 506.26) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.92 ± (50.87 - 50.96) MB50.98 ± (50.94 - 51.02) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (30 - 30)+0.7%✅⬆️
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 (8787) - mean (73ms)  : 68, 77
    master - mean (73ms)  : 69, 77

    section Bailout
    This PR (8787) - mean (74ms)  : 73, 76
    master - mean (74ms)  : 73, 76

    section CallTarget+Inlining+NGEN
    This PR (8787) - mean (1,082ms)  : 1040, 1124
    master - mean (1,082ms)  : 1038, 1126

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8787) - mean (113ms)  : 108, 119
    master - mean (114ms)  : 106, 121

    section Bailout
    This PR (8787) - mean (111ms)  : 109, 113
    master - mean (111ms)  : 109, 113

    section CallTarget+Inlining+NGEN
    This PR (8787) - mean (780ms)  : 752, 809
    master - mean (773ms)  : 755, 791

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

    section Bailout
    This PR (8787) - mean (98ms)  : 96, 99
    master - mean (100ms)  : 95, 105

    section CallTarget+Inlining+NGEN
    This PR (8787) - mean (939ms)  : 896, 981
    master - mean (937ms)  : 891, 984

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

    section Bailout
    This PR (8787) - mean (100ms)  : 96, 105
    master - mean (101ms)  : 96, 106

    section CallTarget+Inlining+NGEN
    This PR (8787) - mean (810ms)  : 774, 847
    master - mean (815ms)  : 772, 857

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 (8787) - mean (204ms)  : 200, 208
    master - mean (202ms)  : 197, 206

    section Bailout
    This PR (8787) - mean (208ms)  : 204, 211
    master - mean (205ms)  : 202, 209

    section CallTarget+Inlining+NGEN
    This PR (8787) - mean (1,215ms)  : 1160, 1270
    master - mean (1,206ms)  : 1165, 1247

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 (8787) - mean (292ms)  : 284, 299
    master - mean (291ms)  : 285, 297

    section Bailout
    This PR (8787) - mean (292ms)  : 287, 297
    master - mean (292ms)  : 288, 296

    section CallTarget+Inlining+NGEN
    This PR (8787) - mean (972ms)  : 948, 996
    master - mean (969ms)  : 949, 989

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8787) - mean (285ms)  : 277, 293
    master - mean (284ms)  : 275, 292

    section Bailout
    This PR (8787) - mean (286ms)  : 281, 292
    master - mean (284ms)  : 278, 290

    section CallTarget+Inlining+NGEN
    This PR (8787) - mean (1,168ms)  : 1130, 1206
    master - mean (1,177ms)  : 1140, 1214

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8787) - mean (282ms)  : 276, 288
    master - mean (280ms)  : 275, 285

    section Bailout
    This PR (8787) - mean (283ms)  : 278, 288
    master - mean (281ms)  : 277, 285

    section CallTarget+Inlining+NGEN
    This PR (8787) - mean (1,051ms)  : 999, 1103
    master - mean (1,041ms)  : 994, 1088

Loading

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