Skip to content

fix(debugger): redact nullable wrappers of configured types#8642

Open
dudikeleti wants to merge 1 commit into
masterfrom
codex/fix-nullable-tostring-redaction-issue
Open

fix(debugger): redact nullable wrappers of configured types#8642
dudikeleti wants to merge 1 commit into
masterfrom
codex/fix-nullable-tostring-redaction-issue

Conversation

@dudikeleti
Copy link
Copy Markdown
Contributor

Motivation

  • Unwrapping Nullable<T> was added to IsSafeToCallToString, but type-redaction checks still used the original wrapper type, allowing configured redacted underlying types (e.g., System.Guid) to be bypassed when serialized as Guid?.
  • This caused a confidentiality regression where nullable forms of allow-listed safe-to-ToString value types could be emitted without redaction.

Description

  • Unwrap Nullable<T> before checking/caching in Redaction.IsRedactedType so configured redacted underlying types apply to nullable wrappers as well (tracer/src/Datadog.Trace/Debugger/Snapshots/Redaction.cs).
  • Add IsRedactedType_WithConfiguredUnderlyingNullableType_Test to assert Guid? is redacted when System.Guid is configured as redacted (tracer/test/Datadog.Trace.Tests/Debugger/RedactionTests.cs).
  • Extend the combined ShouldRedact theory to include a Guid? case and include System.Guid in the test configuration to cover the end-to-end decision path.

Testing

  • Ran the focused test command dotnet test tracer/test/Datadog.Trace.Tests/Datadog.Trace.Tests.csproj --filter "FullyQualifiedName~Datadog.Trace.Tests.Debugger.RedactionTests" --no-restore, and the modified redaction tests passed on supported TFMs in this environment.
  • Some test host processes for other TFMs aborted due to missing system runtime dependencies (ICU/libssl) in this environment, which is unrelated to the change and did not affect the targeted redaction test results.

Codex Task

@dudikeleti dudikeleti marked this pull request as ready for review May 14, 2026 17:15
@dudikeleti dudikeleti requested a review from a team as a code owner May 14, 2026 17:15
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5bd78c8852

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +252 to +253
var effectiveType = Nullable.GetUnderlyingType(type) ?? type;
return _redactedTypesCache.GetOrAdd(effectiveType, CheckForRedactedType);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve nullable-wrapper redaction rules

When a user configures DD_DYNAMIC_INSTRUMENTATION_REDACTED_TYPES=System.Nullable* (or an exact nullable wrapper type name), nullable values used to match because CheckForRedactedType inspected the wrapper's FullName. After always passing only the underlying type into the cache/check, those existing wrapper-specific wildcard rules never see System.Nullable..., so nullable values can be emitted despite an active redaction rule. Consider evaluating both the original wrapper type and the underlying type.

Useful? React with 👍 / 👎.

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented May 14, 2026

Benchmarks

Benchmark execution time: 2026-05-14 18:14:30

Comparing candidate commit 5bd78c8 in PR branch codex/fix-nullable-tostring-redaction-issue 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.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • 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_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472

Found 4 performance improvements and 4 performance regressions! Performance is the same for 47 metrics, 17 unstable metrics, 89 known flaky benchmarks, 37 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 net6.0

  • 🟩 allocated_mem [-96 bytes; -95 bytes] or [-6.126%; -6.119%]

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

  • 🟥 throughput [-27118.799op/s; -13162.904op/s] or [-14.957%; -7.260%]
  • 🟩 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 net472

  • 🟥 throughput [-5154.286op/s; -4585.899op/s] or [-5.884%; -5.235%]

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

  • 🟥 throughput [-66389.883op/s; -59311.328op/s] or [-45.100%; -40.291%]
  • 🟩 execution_time [-45.284ms; -29.561ms] or [-22.472%; -14.669%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync netcoreapp3.1

  • 🟩 execution_time [-99.249ms; -96.871ms] or [-49.565%; -48.377%]

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 [-16.645ms; +0.370ms] or [-12.141%; +0.270%]
  • unstable throughput [+15462.502op/s; +44121.074op/s] or [+8.769%; +25.023%]

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

  • unstable execution_time [+29.616ms; +58.974ms] or [+32.557%; +64.830%]

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

  • unstable execution_time [-38.192ms; -3.613ms] or [-25.809%; -2.442%]
  • unstable throughput [-4803.014op/s; +17026.575op/s] or [-3.122%; +11.066%]

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

  • unstable execution_time [+9.449ms; +33.708ms] or [+10.565%; +37.688%]

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

  • unstable execution_time [+26.080ms; +61.037ms] or [+18.652%; +43.653%]
  • unstable throughput [-48797.934op/s; -23808.862op/s] or [-25.486%; -12.435%]

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

  • unstable execution_time [-36.336ms; -10.976ms] or [-32.533%; -9.827%]

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

  • unstable execution_time [-35.202ms; -7.037ms] or [-22.628%; -4.524%]
  • unstable throughput [+14275.279op/s; +37589.295op/s] or [+10.859%; +28.593%]

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

  • unstable execution_time [-16864.952µs; +17849.280µs] or [-14.698%; +15.556%]

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

  • unstable execution_time [-35.546ms; -3.819ms] or [-24.752%; -2.659%]
  • unstable throughput [+1825.543op/s; +24048.903op/s] or [+1.019%; +13.426%]

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

  • unstable execution_time [+12.776ms; +38.206ms] or [+14.790%; +44.230%]

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

  • unstable execution_time [-71.184ms; -39.113ms] or [-40.022%; -21.990%]
  • unstable throughput [+15459.801op/s; +44246.070op/s] or [+9.541%; +27.305%]

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

  • unstable execution_time [+31.955ms; +62.320ms] or [+36.878%; +71.921%]

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

  • unstable execution_time [+18.354ms; +38.911ms] or [+14.700%; +31.166%]
  • unstable throughput [-38288.493op/s; -19345.852op/s] or [-20.947%; -10.584%]

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

  • unstable execution_time [-59.388ms; -29.064ms] or [-44.510%; -21.783%]

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

  • unstable execution_time [+32.330ms; +73.895ms] or [+25.731%; +58.811%]
  • unstable throughput [-43659.125op/s; -19440.479op/s] or [-27.649%; -12.311%]

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

  • unstable execution_time [-0.433ms; +37.933ms] or [-0.387%; +33.880%]

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

  • unstable execution_time [+1.961ms; +28.865ms] or [+1.412%; +20.792%]
  • unstable throughput [-13501.780op/s; +8131.226op/s] or [-8.397%; +5.057%]

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

  • unstable execution_time [-42.824ms; -2.076ms] or [-32.302%; -1.566%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-5.210%; -5.202%]
  • unstable execution_time [-20.018ms; +2.288ms] or [-13.977%; +1.597%]
  • unstable throughput [-4345.492op/s; +14004.557op/s] or [-4.224%; +13.612%]

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

  • unstable execution_time [-9.777ms; +15.417ms] or [-6.136%; +9.675%]
  • unstable throughput [-10485.167op/s; +7135.162op/s] or [-9.109%; +6.199%]

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 [+19.648ms; +40.376ms] or [+15.967%; +32.812%]
  • unstable throughput [-46361.307op/s; -21795.691op/s] or [-26.693%; -12.549%]

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

  • unstable execution_time [+13.163ms; +37.529ms] or [+15.129%; +43.134%]

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

  • unstable execution_time [-40.704ms; +9.381ms] or [-24.154%; +5.567%]
  • unstable throughput [-5892.792op/s; +28046.060op/s] or [-3.916%; +18.639%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-10359.133op/s; -9766.164op/s] or [-12.283%; -11.580%]

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

  • unstable execution_time [-49.463ms; -7.768ms] or [-24.677%; -3.875%]
  • unstable throughput [-52758.694op/s; -35324.939op/s] or [-44.346%; -29.692%]

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

  • 🟩 execution_time [-98.766ms; -95.994ms] or [-49.676%; -48.282%]
  • 🟥 throughput [-6618.200op/s; -5254.881op/s] or [-6.729%; -5.343%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+326.658ms; +340.325ms] or [+162.099%; +168.881%]
  • 🟥 throughput [-52.502op/s; -40.423op/s] or [-9.446%; -7.273%]

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

  • 🟥 execution_time [+98.422ms; +100.075ms] or [+77.759%; +79.066%]
  • 🟩 throughput [+88.838op/s; +94.992op/s] or [+11.713%; +12.524%]

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

  • 🟥 execution_time [+83.099ms; +84.247ms] or [+73.539%; +74.556%]

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 [-76.005ms; -61.279ms] or [-35.497%; -28.620%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • 🟩 execution_time [-61.844ms; -41.655ms] or [-29.450%; -19.836%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-264867.024op/s; -259323.379op/s] or [-27.044%; -26.478%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • unstable execution_time [-91.927ms; -66.155ms] or [-40.995%; -29.502%]
  • unstable throughput [-250890.776op/s; -138556.618op/s] or [-26.803%; -14.802%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • unstable execution_time [-64.316ms; -40.057ms] or [-32.104%; -19.995%]
  • 🟥 throughput [-123620.207op/s; -106966.972op/s] or [-17.762%; -15.369%]

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

  • 🟩 execution_time [-30.787ms; -14.330ms] or [-15.533%; -7.230%]
  • 🟥 throughput [-29701.847op/s; -16195.333op/s] or [-18.899%; -10.305%]

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

  • 🟩 execution_time [-61.117ms; -44.857ms] or [-31.160%; -22.870%]
  • 🟩 throughput [+9373.549op/s; +12125.834op/s] or [+7.467%; +9.660%]

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

  • 🟩 execution_time [-42.077ms; -21.921ms] or [-20.804%; -10.838%]
  • unstable throughput [-591454.480op/s; -241448.643op/s] or [-19.722%; -8.051%]

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

  • unstable execution_time [-64.347ms; -37.661ms] or [-29.662%; -17.360%]
  • 🟩 throughput [+156378.175op/s; +213817.847op/s] or [+6.207%; +8.487%]

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

  • 🟥 execution_time [+301.257ms; +315.746ms] or [+150.528%; +157.767%]

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

  • 🟥 execution_time [+132.287ms; +138.628ms] or [+66.713%; +69.910%]

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

  • unstable execution_time [+254.289ms; +290.422ms] or [+128.091%; +146.292%]

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

  • 🟥 execution_time [+298.071ms; +311.751ms] or [+146.401%; +153.120%]

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

  • 🟥 execution_time [+236.894ms; +254.825ms] or [+115.809%; +124.574%]

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

  • 🟥 execution_time [+300.635ms; +306.875ms] or [+150.257%; +153.375%]

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

  • 🟥 execution_time [+24.034µs; +48.100µs] or [+7.673%; +15.356%]
  • 🟥 throughput [-444.167op/s; -242.171op/s] or [-13.846%; -7.549%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+300.674ms; +301.426ms] or [+150.067%; +150.443%]

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

  • unstable execution_time [+360.286ms; +383.021ms] or [+391.466%; +416.169%]
  • 🟥 throughput [-6957.566op/s; -6717.481op/s] or [-57.171%; -55.199%]

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

  • unstable execution_time [+252.766ms; +320.548ms] or [+191.923%; +243.389%]
  • 🟥 throughput [-1326.915op/s; -1085.324op/s] or [-12.845%; -10.507%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+304.049ms; +320.882ms] or [+139.799%; +147.538%]
  • 🟥 throughput [-682.382op/s; -665.609op/s] or [-61.830%; -60.311%]

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

  • unstable execution_time [-52.797ms; +81.144ms] or [-22.500%; +34.580%]
  • 🟥 throughput [-702.356op/s; -609.965op/s] or [-46.847%; -40.685%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+334.817ms; +342.438ms] or [+200.260%; +204.818%]
  • 🟥 throughput [-725.355op/s; -691.221op/s] or [-50.505%; -48.129%]

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

  • 🟩 throughput [+26.703op/s; +31.615op/s] or [+5.271%; +6.241%]

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

  • 🟩 execution_time [-228.351µs; -217.173µs] or [-5.791%; -5.507%]
  • 🟩 throughput [+14.791op/s; +15.588op/s] or [+5.833%; +6.147%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.530ms; +312.691ms] or [+152.852%; +157.465%]

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

  • 🟥 execution_time [+238.632ms; +252.977ms] or [+119.579%; +126.767%]

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

  • 🟥 execution_time [+300.994ms; +308.158ms] or [+151.207%; +154.805%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.700ms; +316.648ms] or [+152.006%; +159.010%]

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

  • unstable execution_time [+223.060ms; +254.505ms] or [+110.293%; +125.842%]

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

  • 🟥 execution_time [+305.642ms; +312.625ms] or [+154.913%; +158.452%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+303.151ms; +314.169ms] or [+152.154%; +157.685%]

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

  • 🟥 execution_time [+302.968ms; +309.909ms] or [+151.002%; +154.461%]
  • 🟩 throughput [+35188.765op/s; +44649.315op/s] or [+6.987%; +8.866%]

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

  • unstable execution_time [+213.819ms; +279.892ms] or [+106.373%; +139.244%]

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

  • unstable execution_time [-95.246ms; -57.505ms] or [-44.290%; -26.740%]
  • unstable throughput [-86073.866op/s; -36957.928op/s] or [-23.612%; -10.139%]

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

  • unstable execution_time [-70.974ms; -43.698ms] or [-35.601%; -21.920%]

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

  • 🟩 allocated_mem [-26.417KB; -26.394KB] or [-9.636%; -9.628%]
  • unstable execution_time [-73.847µs; -17.510µs] or [-14.595%; -3.461%]
  • unstable throughput [+92.239op/s; +299.609op/s] or [+4.603%; +14.951%]

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

  • 🟩 allocated_mem [-17.706KB; -17.686KB] or [-6.455%; -6.447%]
  • 🟩 execution_time [-90.202µs; -34.919µs] or [-15.631%; -6.051%]
  • 🟩 throughput [+125.811op/s; +276.227op/s] or [+7.188%; +15.781%]

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 [+2.249µs; +6.570µs] or [+5.316%; +15.529%]
  • 🟥 throughput [-3120.136op/s; -1212.545op/s] or [-13.135%; -5.104%]

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

  • unstable execution_time [-13.752µs; -4.042µs] or [-21.335%; -6.272%]
  • unstable throughput [+1331.303op/s; +3334.794op/s] or [+8.168%; +20.460%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.888ms; +318.132ms] or [+153.602%; +160.802%]

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

  • unstable execution_time [+279.719ms; +300.355ms] or [+142.376%; +152.880%]

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

  • 🟥 execution_time [+300.541ms; +306.303ms] or [+150.458%; +153.343%]

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

  • unstable execution_time [-45.640ms; -19.654ms] or [-22.813%; -9.824%]
  • unstable throughput [-198180.800op/s; -117159.496op/s] or [-37.511%; -22.176%]

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

  • unstable execution_time [-30.778ms; -6.741ms] or [-15.601%; -3.417%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.081ms; +314.714ms] or [+150.062%; +156.857%]
  • 🟥 throughput [-12541.771op/s; -8698.368op/s] or [-8.282%; -5.744%]

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

  • unstable execution_time [+199.125ms; +256.606ms] or [+99.991%; +128.855%]

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

  • 🟥 execution_time [+305.440ms; +312.065ms] or [+154.899%; +158.259%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.933ms; +300.706ms] or [+149.608%; +149.994%]
  • 🟩 throughput [+64652121.327op/s; +64952100.667op/s] or [+47.084%; +47.302%]

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

  • unstable execution_time [+374.128ms; +386.590ms] or [+465.294%; +480.793%]
  • 🟥 throughput [-7380.565op/s; -7162.872op/s] or [-57.055%; -55.373%]

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

  • 🟥 execution_time [+296.841ms; +299.291ms] or [+148.057%; +149.279%]
  • 🟥 throughput [-18192622.234op/s; -16864392.816op/s] or [-8.058%; -7.470%]

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

  • unstable execution_time [-72.028ms; -35.249ms] or [-35.278%; -17.264%]
  • unstable throughput [-246583.287op/s; -77586.878op/s] or [-23.023%; -7.244%]

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

  • 🟩 execution_time [-99.041ms; -94.935ms] or [-50.115%; -48.038%]

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

  • unstable execution_time [-66.907ms; -41.543ms] or [-34.859%; -21.644%]
  • unstable throughput [-246384.033op/s; -65576.813op/s] or [-19.071%; -5.076%]

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

  • unstable execution_time [-74.410ms; -47.960ms] or [-36.559%; -23.564%]
  • 🟩 throughput [+81471.349op/s; +90500.342op/s] or [+8.091%; +8.988%]

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

  • 🟩 execution_time [-89.187ms; -69.365ms] or [-44.540%; -34.641%]
  • unstable throughput [-42760.188op/s; +19738.252op/s] or [-7.764%; +3.584%]

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

  • unstable execution_time [-70.668ms; -43.318ms] or [-35.506%; -21.765%]

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

  • unstable execution_time [-79.854ms; -51.972ms] or [-39.941%; -25.995%]
  • unstable throughput [-220308.263op/s; -84171.930op/s] or [-24.614%; -9.404%]

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

  • unstable execution_time [-29.515ms; -6.257ms] or [-14.990%; -3.178%]

Known flaky benchmarks without significant changes:

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

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

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8642) 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.47 ± (74.56 - 75.13) ms+2.7%✅⬆️
.NET Framework 4.8 - Bailout
duration78.88 ± (78.69 - 79.22) ms77.58 ± (77.39 - 77.76) ms-1.6%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1101.30 ± (1100.83 - 1107.78) ms1102.64 ± (1103.87 - 1112.39) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.39 ± (22.35 - 22.43) ms22.53 ± (22.49 - 22.57) ms+0.6%✅⬆️
process.time_to_main_ms83.82 ± (83.63 - 84.01) ms84.52 ± (84.29 - 84.74) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.92 - 10.92) MB10.91 ± (10.91 - 10.92) MB-0.1%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.80 ± (22.75 - 22.85) ms22.35 ± (22.31 - 22.38) ms-2.0%
process.time_to_main_ms88.38 ± (88.08 - 88.68) ms86.54 ± (86.30 - 86.79) ms-2.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.88 ± (10.88 - 10.88) MB10.94 ± (10.94 - 10.94) MB+0.6%✅⬆️
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) ms213.32 ± (212.37 - 214.28) ms+0.3%✅⬆️
process.time_to_main_ms537.00 ± (535.72 - 538.28) ms538.34 ± (537.00 - 539.67) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.41 ± (48.38 - 48.43) MB48.39 ± (48.35 - 48.42) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 6 - Baseline
process.internal_duration_ms21.37 ± (21.33 - 21.41) ms21.61 ± (21.55 - 21.66) ms+1.1%✅⬆️
process.time_to_main_ms74.28 ± (74.03 - 74.53) ms76.21 ± (75.93 - 76.49) ms+2.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.64) MB10.63 ± (10.63 - 10.63) MB-0.0%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.60 ± (21.55 - 21.66) ms21.13 ± (21.09 - 21.16) ms-2.2%
process.time_to_main_ms77.44 ± (77.19 - 77.69) ms74.99 ± (74.80 - 75.17) ms-3.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.75 - 10.75) MB10.74 ± (10.74 - 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) ms378.41 ± (376.38 - 380.44) ms+0.7%✅⬆️
process.time_to_main_ms539.08 ± (537.82 - 540.34) ms538.09 ± (536.81 - 539.38) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.79 ± (49.77 - 49.81) MB49.88 ± (49.85 - 49.90) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.35 ± (19.32 - 19.38) ms19.34 ± (19.30 - 19.37) ms-0.0%
process.time_to_main_ms72.06 ± (71.88 - 72.25) ms72.36 ± (72.17 - 72.54) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.69 ± (7.68 - 7.69) MB7.67 ± (7.66 - 7.67) MB-0.2%
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.73) ms-0.1%
process.time_to_main_ms75.27 ± (75.03 - 75.51) ms75.84 ± (75.59 - 76.09) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.74 ± (7.73 - 7.74) MB7.72 ± (7.71 - 7.72) MB-0.3%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms291.88 ± (289.76 - 294.00) ms297.66 ± (295.40 - 299.92) ms+2.0%✅⬆️
process.time_to_main_ms497.89 ± (496.73 - 499.05) ms497.93 ± (496.57 - 499.28) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.94 ± (36.92 - 36.97) MB36.89 ± (36.85 - 36.92) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.3%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration201.46 ± (201.24 - 202.33) ms200.16 ± (199.68 - 200.57) ms-0.6%
.NET Framework 4.8 - Bailout
duration205.63 ± (205.01 - 206.04) ms204.77 ± (203.90 - 204.94) ms-0.4%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1202.91 ± (1202.06 - 1208.42) ms1208.22 ± (1206.72 - 1213.05) ms+0.4%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms195.59 ± (195.03 - 196.15) ms193.83 ± (193.29 - 194.37) ms-0.9%
process.time_to_main_ms84.19 ± (83.85 - 84.52) ms83.76 ± (83.41 - 84.10) ms-0.5%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.02 ± (16.00 - 16.05) MB16.03 ± (16.01 - 16.06) MB+0.1%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-0.7%
.NET Core 3.1 - Bailout
process.internal_duration_ms195.01 ± (194.55 - 195.46) ms195.35 ± (194.91 - 195.79) ms+0.2%✅⬆️
process.time_to_main_ms85.60 ± (85.30 - 85.89) ms85.66 ± (85.39 - 85.93) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.13) MB16.10 ± (16.08 - 16.11) MB-0.0%
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) ms386.75 ± (385.52 - 387.98) ms-0.7%
process.time_to_main_ms535.18 ± (533.98 - 536.38) ms534.47 ± (533.44 - 535.50) ms-0.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.40 ± (58.18 - 58.63) MB57.38 ± (57.17 - 57.59) MB-1.8%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.4%
.NET 6 - Baseline
process.internal_duration_ms199.67 ± (199.17 - 200.16) ms199.24 ± (198.71 - 199.76) ms-0.2%
process.time_to_main_ms72.88 ± (72.56 - 73.20) ms72.84 ± (72.53 - 73.16) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.29 ± (16.27 - 16.32) MB16.35 ± (16.33 - 16.37) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.8%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms198.40 ± (198.01 - 198.80) ms198.42 ± (198.04 - 198.81) ms+0.0%✅⬆️
process.time_to_main_ms73.38 ± (73.19 - 73.56) ms74.24 ± (74.00 - 74.47) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.33 ± (16.30 - 16.36) MB16.43 ± (16.41 - 16.46) MB+0.6%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.4%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms597.80 ± (595.34 - 600.25) ms594.00 ± (591.57 - 596.43) ms-0.6%
process.time_to_main_ms537.07 ± (536.12 - 538.03) ms537.04 ± (536.06 - 538.01) ms-0.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.54 ± (61.45 - 61.63) MB61.43 ± (61.33 - 61.53) MB-0.2%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms198.21 ± (197.75 - 198.68) ms196.57 ± (195.99 - 197.15) ms-0.8%
process.time_to_main_ms72.57 ± (72.31 - 72.83) ms71.67 ± (71.43 - 71.91) ms-1.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.67 ± (11.65 - 11.68) MB11.72 ± (11.70 - 11.74) MB+0.4%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.5%
.NET 8 - Bailout
process.internal_duration_ms197.65 ± (197.19 - 198.11) ms195.28 ± (194.75 - 195.80) ms-1.2%
process.time_to_main_ms73.76 ± (73.49 - 74.03) ms72.86 ± (72.61 - 73.10) ms-1.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.69 ± (11.67 - 11.71) MB11.82 ± (11.79 - 11.84) MB+1.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.5%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms516.56 ± (513.81 - 519.31) ms514.39 ± (511.57 - 517.20) ms-0.4%
process.time_to_main_ms493.60 ± (492.87 - 494.33) ms492.66 ± (491.78 - 493.53) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.59 ± (50.55 - 50.63) MB50.62 ± (50.58 - 50.66) 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 (8642) - mean (75ms)  : 70, 79
    master - mean (73ms)  : 70, 75

    section Bailout
    This PR (8642) - mean (78ms)  : 76, 80
    master - mean (79ms)  : 75, 83

    section CallTarget+Inlining+NGEN
    This PR (8642) - mean (1,108ms)  : 1044, 1172
    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 (8642) - mean (114ms)  : 110, 118
    master - mean (113ms)  : 109, 117

    section Bailout
    This PR (8642) - mean (116ms)  : 112, 120
    master - mean (118ms)  : 113, 124

    section CallTarget+Inlining+NGEN
    This PR (8642) - mean (788ms)  : 764, 813
    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 (8642) - mean (105ms)  : 98, 111
    master - mean (102ms)  : 98, 106

    section Bailout
    This PR (8642) - mean (103ms)  : 99, 106
    master - mean (106ms)  : 100, 111

    section CallTarget+Inlining+NGEN
    This PR (8642) - mean (943ms)  : 905, 981
    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 (8642) - mean (100ms)  : 95, 104
    master - mean (99ms)  : 95, 103

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

    section CallTarget+Inlining+NGEN
    This PR (8642) - mean (824ms)  : 784, 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 (8642) - mean (200ms)  : 195, 205
    master - mean (202ms)  : 194, 210

    section Bailout
    This PR (8642) - mean (204ms)  : 199, 210
    master - mean (206ms)  : 198, 213

    section CallTarget+Inlining+NGEN
    This PR (8642) - mean (1,210ms)  : 1165, 1255
    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 (8642) - mean (287ms)  : 281, 294
    master - mean (288ms)  : 281, 295

    section Bailout
    This PR (8642) - mean (290ms)  : 281, 298
    master - mean (290ms)  : 283, 296

    section CallTarget+Inlining+NGEN
    This PR (8642) - mean (961ms)  : 944, 978
    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 (8642) - mean (281ms)  : 274, 287
    master - mean (281ms)  : 275, 287

    section Bailout
    This PR (8642) - mean (281ms)  : 276, 286
    master - mean (280ms)  : 275, 285

    section CallTarget+Inlining+NGEN
    This PR (8642) - mean (1,161ms)  : 1117, 1205
    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 (8642) - mean (279ms)  : 271, 287
    master - mean (281ms)  : 274, 289

    section Bailout
    This PR (8642) - mean (278ms)  : 270, 287
    master - mean (282ms)  : 275, 288

    section CallTarget+Inlining+NGEN
    This PR (8642) - mean (1,039ms)  : 992, 1086
    master - mean (1,041ms)  : 997, 1085

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