Skip to content

Skip sending errors to instrumentation telemetry for performance counter initialization#8598

Merged
andrewlock merged 1 commit into
masterfrom
andrew/mute-errors
May 12, 2026
Merged

Skip sending errors to instrumentation telemetry for performance counter initialization#8598
andrewlock merged 1 commit into
masterfrom
andrew/mute-errors

Conversation

@andrewlock

@andrewlock andrewlock commented May 11, 2026

Copy link
Copy Markdown
Member

Summary of changes

Skip sending errors to instrumentation telemetry for performance counter initialization

Reason for change

We were already skipping logging these errors inside InitializePerformanceCounters, but after logging, these known failure paths call throw, which then gets caught and re-logged with a more generic error. There's little value in sending this to telemetry, because this is an app-level permissions issue that we can't resolve directly.

Implementation details

Error -> ErrorSkipTelemetry

Test coverage

meh

Other details

Error Tracking

@andrewlock
andrewlock requested a review from a team as a code owner May 11, 2026 11:04
@github-actions github-actions Bot added the area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) label May 11, 2026
@pr-commenter

pr-commenter Bot commented May 11, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-11 11:58:04

Comparing candidate commit 2559d5a in PR branch andrew/mute-errors with baseline commit b9b7af8 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 netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1

Found 3 performance improvements and 1 performance regressions! Performance is the same for 50 metrics, 18 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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-7.321%; -7.312%]

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

  • 🟥 throughput [-71671.801op/s; -64840.155op/s] or [-48.688%; -44.047%]
  • 🟩 execution_time [-40.628ms; -25.805ms] or [-20.161%; -12.806%]

Known flaky benchmarks

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

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

  • unstable execution_time [-27.027ms; -9.277ms] or [-18.631%; -6.395%]

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

  • unstable execution_time [-17274.724µs; +17933.904µs] or [-15.602%; +16.197%]

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

  • unstable execution_time [+7.077ms; +24.626ms] or [+5.711%; +19.873%]

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

  • unstable execution_time [+27.170ms; +67.000ms] or [+24.580%; +60.613%]

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

  • unstable execution_time [+1.652ms; +21.782ms] or [+1.090%; +14.362%]
  • unstable throughput [-15520.904op/s; -1433.681op/s] or [-11.995%; -1.108%]

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

  • unstable execution_time [+1.924ms; +40.928ms] or [+1.687%; +35.882%]

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

  • unstable execution_time [+5.201ms; +39.566ms] or [+4.068%; +30.945%]
  • unstable throughput [-24761.722op/s; -45.055op/s] or [-13.231%; -0.024%]

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

  • unstable execution_time [+23.444ms; +62.733ms] or [+17.321%; +46.349%]

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

  • unstable execution_time [-11.790ms; +18.680ms] or [-7.854%; +12.444%]
  • unstable throughput [-21599.872op/s; +7650.856op/s] or [-12.952%; +4.588%]

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

  • unstable execution_time [-57.029ms; -26.387ms] or [-42.675%; -19.746%]

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

  • unstable execution_time [-44.309ms; -24.750ms] or [-28.612%; -15.982%]
  • unstable throughput [+23882.957op/s; +41400.359op/s] or [+15.649%; +27.127%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-7.698%; -7.691%]

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

  • unstable execution_time [-83.078ms; -50.873ms] or [-53.927%; -33.022%]

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

  • unstable execution_time [+5.551ms; +21.520ms] or [+4.428%; +17.166%]

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

  • unstable execution_time [+30.619ms; +60.492ms] or [+34.566%; +68.291%]

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

  • unstable execution_time [-28.092ms; +4.260ms] or [-18.933%; +2.871%]
  • unstable throughput [-5829.755op/s; +17520.328op/s] or [-5.644%; +16.963%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-6.927%; -6.920%]

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

  • unstable execution_time [-15.076ms; +19.661ms] or [-13.495%; +17.600%]

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 [-31.925ms; +4.283ms] or [-20.841%; +2.796%]
  • unstable throughput [-8834.269op/s; +13475.652op/s] or [-6.272%; +9.567%]

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]
  • unstable execution_time [-73.633ms; -31.815ms] or [-38.401%; -16.592%]
  • unstable throughput [+8637.166op/s; +39683.485op/s] or [+6.087%; +27.967%]

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

  • unstable execution_time [-61.266ms; -31.023ms] or [-45.679%; -23.130%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-10031.044op/s; -9248.698op/s] or [-11.894%; -10.966%]

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

  • unstable execution_time [-24.151ms; +1.330ms] or [-12.049%; +0.663%]
  • 🟥 throughput [-64887.430op/s; -58296.333op/s] or [-54.540%; -49.000%]

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

  • unstable execution_time [-71.843ms; -43.916ms] or [-36.135%; -22.088%]
  • 🟥 throughput [-7913.837op/s; -6612.075op/s] or [-8.047%; -6.723%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+327.027ms; +342.714ms] or [+162.282%; +170.067%]
  • 🟥 throughput [-54.198op/s; -40.817op/s] or [-9.751%; -7.344%]

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

  • 🟥 execution_time [+99.320ms; +100.856ms] or [+78.469%; +79.682%]
  • 🟩 throughput [+85.922op/s; +91.568op/s] or [+11.329%; +12.073%]

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

  • 🟥 execution_time [+84.621ms; +85.451ms] or [+74.887%; +75.621%]

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 [-48.297ms; -27.843ms] or [-22.556%; -13.003%]
  • 🟥 throughput [-32722.683op/s; -19160.818op/s] or [-23.886%; -13.986%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • unstable execution_time [-47.008ms; -25.489ms] or [-22.385%; -12.138%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-273085.472op/s; -265852.367op/s] or [-27.883%; -27.145%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • 🟩 execution_time [-106.466ms; -84.878ms] or [-47.479%; -37.852%]
  • unstable throughput [-164778.127op/s; -69373.997op/s] or [-17.603%; -7.411%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • unstable execution_time [-43.756ms; -20.828ms] or [-21.841%; -10.396%]
  • 🟥 throughput [-139189.078op/s; -122894.381op/s] or [-19.999%; -17.658%]

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

  • 🟩 execution_time [-60.300ms; -56.724ms] or [-30.425%; -28.620%]

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

  • 🟩 execution_time [-60.366ms; -44.344ms] or [-30.777%; -22.608%]
  • 🟩 throughput [+8800.399op/s; +11635.168op/s] or [+7.011%; +9.269%]

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

  • 🟩 execution_time [-77.119ms; -75.469ms] or [-38.130%; -37.314%]
  • 🟩 throughput [+380354.799op/s; +412528.915op/s] or [+12.683%; +13.755%]

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

  • 🟩 execution_time [-45.366ms; -24.546ms] or [-20.912%; -11.315%]
  • 🟩 throughput [+149269.304op/s; +211033.020op/s] or [+5.925%; +8.376%]

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

  • 🟥 execution_time [+302.320ms; +316.168ms] or [+151.059%; +157.978%]
  • 🟥 throughput [-751.663op/s; -547.708op/s] or [-8.302%; -6.049%]

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

  • 🟥 execution_time [+131.177ms; +138.512ms] or [+66.153%; +69.852%]

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

  • unstable execution_time [+253.839ms; +289.907ms] or [+127.864%; +146.032%]

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

  • 🟥 execution_time [+298.516ms; +312.054ms] or [+146.619%; +153.268%]

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

  • 🟥 execution_time [+239.983ms; +255.764ms] or [+117.319%; +125.033%]

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

  • 🟥 execution_time [+280.721ms; +295.932ms] or [+140.304%; +147.906%]

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

  • 🟥 execution_time [+23.731µs; +47.367µs] or [+7.576%; +15.122%]
  • 🟥 throughput [-439.810op/s; -240.948op/s] or [-13.710%; -7.511%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.675ms; +300.419ms] or [+149.568%; +149.940%]

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

  • unstable execution_time [+367.951ms; +387.243ms] or [+399.794%; +420.755%]
  • 🟥 throughput [-7001.540op/s; -6786.019op/s] or [-57.533%; -55.762%]

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

  • 🟥 execution_time [+369.224ms; +374.805ms] or [+280.348%; +284.586%]
  • 🟥 throughput [-1188.922op/s; -976.995op/s] or [-11.510%; -9.458%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+295.516ms; +312.124ms] or [+135.875%; +143.512%]
  • 🟥 throughput [-681.564op/s; -663.917op/s] or [-61.756%; -60.157%]

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

  • unstable execution_time [-49.463ms; +84.678ms] or [-21.079%; +36.086%]
  • 🟥 throughput [-713.076op/s; -618.286op/s] or [-47.562%; -41.240%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+335.532ms; +343.127ms] or [+200.687%; +205.230%]
  • 🟥 throughput [-726.357op/s; -692.248op/s] or [-50.575%; -48.200%]

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

  • 🟩 execution_time [-73.519µs; -63.227µs] or [-6.818%; -5.864%]
  • 🟩 throughput [+58.127op/s; +67.959op/s] or [+6.267%; +7.327%]

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

  • 🟩 execution_time [-216.033µs; -196.445µs] or [-10.943%; -9.951%]
  • 🟩 throughput [+56.226op/s; +62.394op/s] or [+11.100%; +12.317%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+304.893ms; +319.494ms] or [+153.539%; +160.891%]

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

  • 🟥 execution_time [+230.262ms; +241.414ms] or [+115.385%; +120.973%]

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

  • 🟥 execution_time [+299.210ms; +306.586ms] or [+150.310%; +154.016%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+305.374ms; +319.620ms] or [+153.349%; +160.502%]

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

  • unstable execution_time [+211.014ms; +235.267ms] or [+104.337%; +116.329%]

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

  • 🟥 execution_time [+301.855ms; +309.049ms] or [+152.993%; +156.639%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+303.577ms; +316.183ms] or [+152.368%; +158.695%]

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

  • unstable execution_time [+215.937ms; +283.944ms] or [+107.625%; +141.520%]
  • 🟩 throughput [+28477.313op/s; +39939.006op/s] or [+5.655%; +7.931%]

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

  • 🟥 execution_time [+303.580ms; +310.462ms] or [+151.029%; +154.452%]

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

  • unstable execution_time [-82.272ms; -41.343ms] or [-38.257%; -19.225%]
  • unstable throughput [-109873.023op/s; -52722.594op/s] or [-30.141%; -14.463%]

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

  • unstable execution_time [-87.043ms; -64.577ms] or [-43.662%; -32.393%]

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

  • 🟩 allocated_mem [-26.344KB; -26.321KB] or [-9.610%; -9.601%]
  • unstable execution_time [-82.414µs; -30.447µs] or [-16.289%; -6.018%]
  • 🟩 throughput [+141.505op/s; +327.087op/s] or [+7.061%; +16.322%]

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

  • 🟩 execution_time [-99.695µs; -43.238µs] or [-17.277%; -7.493%]
  • 🟩 throughput [+160.268op/s; +316.968op/s] or [+9.156%; +18.109%]

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

  • unstable execution_time [+2.720µs; +7.575µs] or [+6.428%; +17.905%]
  • 🟥 throughput [-3411.503op/s; -1397.517op/s] or [-14.361%; -5.883%]

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

  • unstable execution_time [-14.995µs; -5.743µs] or [-23.264%; -8.911%]
  • unstable throughput [+1781.670op/s; +3787.573op/s] or [+10.931%; +23.238%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+304.772ms; +318.903ms] or [+154.049%; +161.191%]

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

  • unstable execution_time [+281.753ms; +302.785ms] or [+143.411%; +154.117%]

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

  • 🟥 execution_time [+299.966ms; +305.073ms] or [+150.170%; +152.727%]

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

  • unstable execution_time [-34.605ms; -10.344ms] or [-17.297%; -5.170%]
  • 🟥 throughput [-270900.084op/s; -218125.739op/s] or [-51.276%; -41.287%]

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

  • unstable execution_time [-56.823ms; -26.928ms] or [-28.804%; -13.650%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.081ms; +313.620ms] or [+149.563%; +156.311%]

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

  • unstable execution_time [+203.246ms; +261.102ms] or [+102.061%; +131.113%]

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

  • 🟥 execution_time [+305.747ms; +312.346ms] or [+155.055%; +158.402%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.827ms; +300.899ms] or [+149.555%; +150.090%]
  • 🟩 throughput [+60111114.746op/s; +60423071.948op/s] or [+43.777%; +44.004%]

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

  • unstable execution_time [+375.343ms; +391.886ms] or [+466.805%; +487.381%]
  • 🟥 throughput [-7424.265op/s; -7199.409op/s] or [-57.393%; -55.655%]

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

  • 🟥 execution_time [+303.081ms; +306.159ms] or [+151.170%; +152.705%]
  • 🟥 throughput [-30490757.669op/s; -29132304.331op/s] or [-13.505%; -12.904%]

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

  • unstable execution_time [-75.109ms; -47.149ms] or [-36.787%; -23.093%]
  • unstable throughput [-213847.329op/s; -59763.957op/s] or [-19.966%; -5.580%]

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

  • unstable execution_time [-71.357ms; -44.625ms] or [-36.107%; -22.581%]
  • 🟩 throughput [+45064.422op/s; +65176.477op/s] or [+5.216%; +7.544%]

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

  • unstable execution_time [-64.757ms; -40.313ms] or [-33.739%; -21.003%]
  • unstable throughput [-255534.205op/s; -73730.867op/s] or [-19.779%; -5.707%]

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

  • unstable execution_time [-54.763ms; -28.564ms] or [-26.906%; -14.034%]
  • 🟩 throughput [+92198.773op/s; +102229.219op/s] or [+9.157%; +10.153%]

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

  • unstable execution_time [-73.539ms; -47.523ms] or [-36.725%; -23.733%]
  • unstable throughput [-52755.090op/s; +7318.760op/s] or [-9.579%; +1.329%]

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

  • unstable execution_time [-51.742ms; -24.869ms] or [-25.997%; -12.495%]

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

  • 🟩 execution_time [-105.039ms; -101.419ms] or [-52.538%; -50.727%]

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

  • unstable execution_time [-55.258ms; -26.350ms] or [-28.065%; -13.383%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • 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_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 netcoreapp3.1
  • 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.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

@bouwkast

Copy link
Copy Markdown
Collaborator

FYI I changed your link to error tracking to be the exact issue URL so it wired up the issue to this PR

@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration75.28 ± (74.97 - 75.58) ms72.63 ± (72.80 - 73.25) ms-3.5%
.NET Framework 4.8 - Bailout
duration78.09 ± (78.15 - 78.79) ms76.78 ± (76.70 - 77.07) ms-1.7%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1120.81 ± (1121.34 - 1128.97) ms1124.14 ± (1125.48 - 1132.94) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.60 ± (22.54 - 22.66) ms22.42 ± (22.39 - 22.46) ms-0.8%
process.time_to_main_ms85.61 ± (85.29 - 85.94) ms84.24 ± (84.06 - 84.43) ms-1.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.92) MB10.91 ± (10.91 - 10.91) MB-0.0%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.41 ± (22.36 - 22.45) ms22.80 ± (22.75 - 22.86) ms+1.8%✅⬆️
process.time_to_main_ms86.03 ± (85.84 - 86.23) ms89.16 ± (88.87 - 89.45) ms+3.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.89 - 10.90) MB10.93 ± (10.93 - 10.94) MB+0.4%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms205.14 ± (204.60 - 205.69) ms204.47 ± (203.94 - 204.99) ms-0.3%
process.time_to_main_ms567.03 ± (565.45 - 568.61) ms567.49 ± (566.13 - 568.85) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.86 ± (49.83 - 49.88) MB49.71 ± (49.67 - 49.75) MB-0.3%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-1.0%
.NET 6 - Baseline
process.internal_duration_ms21.45 ± (21.39 - 21.50) ms21.59 ± (21.53 - 21.65) ms+0.7%✅⬆️
process.time_to_main_ms75.39 ± (75.05 - 75.72) ms75.52 ± (75.22 - 75.83) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.63 ± (10.62 - 10.63) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.39 ± (21.34 - 21.45) ms21.25 ± (21.21 - 21.30) ms-0.6%
process.time_to_main_ms76.36 ± (76.12 - 76.60) ms75.06 ± (74.87 - 75.25) ms-1.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.74) 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_ms352.66 ± (350.79 - 354.52) ms352.88 ± (350.79 - 354.97) ms+0.1%✅⬆️
process.time_to_main_ms564.21 ± (562.60 - 565.81) ms566.04 ± (564.55 - 567.53) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.99 ± (50.97 - 51.02) MB51.17 ± (51.15 - 51.20) MB+0.4%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.43 ± (19.40 - 19.47) ms19.87 ± (19.80 - 19.93) ms+2.2%✅⬆️
process.time_to_main_ms72.68 ± (72.53 - 72.83) ms75.47 ± (75.17 - 75.76) ms+3.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.67) MB7.67 ± (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.86 ± (19.81 - 19.92) ms19.66 ± (19.62 - 19.71) ms-1.0%
process.time_to_main_ms76.49 ± (76.21 - 76.77) ms75.16 ± (74.93 - 75.38) ms-1.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.71 - 7.72) MB7.71 ± (7.70 - 7.71) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms286.09 ± (282.45 - 289.73) ms280.97 ± (277.57 - 284.36) ms-1.8%
process.time_to_main_ms519.87 ± (518.61 - 521.12) ms522.39 ± (521.18 - 523.60) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.94 ± (37.91 - 37.97) MB37.83 ± (37.80 - 37.86) MB-0.3%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.4%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration194.53 ± (194.44 - 195.16) ms193.58 ± (193.59 - 194.28) ms-0.5%
.NET Framework 4.8 - Bailout
duration198.45 ± (198.25 - 198.78) ms197.38 ± (197.19 - 197.71) ms-0.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1210.00 ± (1209.50 - 1215.00) ms1229.06 ± (1230.62 - 1240.58) ms+1.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms187.17 ± (186.78 - 187.56) ms192.38 ± (191.91 - 192.84) ms+2.8%✅⬆️
process.time_to_main_ms81.27 ± (81.09 - 81.46) ms83.93 ± (83.68 - 84.18) ms+3.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.05 ± (16.04 - 16.07) MB16.11 ± (16.09 - 16.13) MB+0.4%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)+0.0%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms186.80 ± (186.51 - 187.09) ms189.64 ± (189.18 - 190.11) ms+1.5%✅⬆️
process.time_to_main_ms82.92 ± (82.77 - 83.07) ms84.36 ± (84.13 - 84.58) ms+1.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.20 ± (16.17 - 16.24) MB16.14 ± (16.12 - 16.16) MB-0.4%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.2%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms373.76 ± (372.69 - 374.82) ms370.66 ± (369.77 - 371.55) ms-0.8%
process.time_to_main_ms551.42 ± (550.08 - 552.76) ms547.32 ± (546.07 - 548.57) ms-0.7%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.46 ± (58.42 - 58.50) MB58.49 ± (58.45 - 58.53) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.5%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms195.73 ± (195.16 - 196.31) ms191.71 ± (191.46 - 191.95) ms-2.1%
process.time_to_main_ms72.01 ± (71.78 - 72.23) ms71.21 ± (71.06 - 71.36) ms-1.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.34 ± (16.33 - 16.36) MB16.32 ± (16.22 - 16.41) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-1.6%
.NET 6 - Bailout
process.internal_duration_ms193.06 ± (192.74 - 193.38) ms191.47 ± (191.19 - 191.74) ms-0.8%
process.time_to_main_ms72.03 ± (71.89 - 72.18) ms71.97 ± (71.84 - 72.10) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.30 ± (16.21 - 16.39) MB16.30 ± (16.19 - 16.40) MB-0.0%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.0%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms568.22 ± (565.17 - 571.26) ms567.29 ± (564.59 - 569.99) ms-0.2%
process.time_to_main_ms543.51 ± (542.52 - 544.51) ms551.20 ± (549.96 - 552.43) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.93 ± (61.90 - 61.96) MB61.99 ± (61.96 - 62.02) MB+0.1%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.1%
.NET 8 - Baseline
process.internal_duration_ms194.85 ± (194.35 - 195.36) ms190.01 ± (189.77 - 190.25) ms-2.5%
process.time_to_main_ms71.77 ± (71.59 - 71.95) ms70.40 ± (70.25 - 70.56) ms-1.9%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.73 ± (11.72 - 11.75) MB11.70 ± (11.67 - 11.72) MB-0.3%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.2%
.NET 8 - Bailout
process.internal_duration_ms193.07 ± (192.55 - 193.59) ms188.26 ± (188.06 - 188.47) ms-2.5%
process.time_to_main_ms72.44 ± (72.25 - 72.62) ms71.01 ± (70.91 - 71.11) ms-2.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.80 ± (11.78 - 11.81) MB11.82 ± (11.79 - 11.85) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.3%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms491.26 ± (488.81 - 493.72) ms491.96 ± (489.56 - 494.35) ms+0.1%✅⬆️
process.time_to_main_ms497.98 ± (497.09 - 498.88) ms502.88 ± (501.82 - 503.94) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed51.62 ± (51.59 - 51.64) MB51.54 ± (51.51 - 51.57) MB-0.2%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 30)+0.6%✅⬆️
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 (8598) - mean (73ms)  : 70, 76
    master - mean (75ms)  : 71, 80

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

    section CallTarget+Inlining+NGEN
    This PR (8598) - mean (1,129ms)  : 1074, 1184
    master - mean (1,125ms)  : 1071, 1179

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 (8598) - mean (114ms)  : 110, 118
    master - mean (115ms)  : 108, 123

    section Bailout
    This PR (8598) - mean (119ms)  : 113, 125
    master - mean (115ms)  : 112, 118

    section CallTarget+Inlining+NGEN
    This PR (8598) - mean (810ms)  : 787, 832
    master - mean (808ms)  : 783, 834

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8598) - mean (104ms)  : 97, 111
    master - mean (103ms)  : 98, 109

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

    section CallTarget+Inlining+NGEN
    This PR (8598) - mean (951ms)  : 911, 991
    master - mean (946ms)  : 910, 981

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8598) - mean (104ms)  : 97, 111
    master - mean (100ms)  : 96, 104

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

    section CallTarget+Inlining+NGEN
    This PR (8598) - mean (832ms)  : 779, 886
    master - mean (835ms)  : 778, 892

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 (8598) - mean (194ms)  : 190, 197
    master - mean (195ms)  : 191, 198

    section Bailout
    This PR (8598) - mean (197ms)  : 195, 200
    master - mean (199ms)  : 196, 201

    section CallTarget+Inlining+NGEN
    This PR (8598) - mean (1,236ms)  : 1159, 1312
    master - mean (1,212ms)  : 1173, 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 (8598) - mean (286ms)  : 277, 294
    master - mean (277ms)  : 269, 284

    section Bailout
    This PR (8598) - mean (283ms)  : 273, 292
    master - mean (278ms)  : 274, 282

    section CallTarget+Inlining+NGEN
    This PR (8598) - mean (959ms)  : 938, 980
    master - mean (964ms)  : 938, 990

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8598) - mean (271ms)  : 268, 275
    master - mean (276ms)  : 263, 290

    section Bailout
    This PR (8598) - mean (272ms)  : 268, 275
    master - mean (273ms)  : 268, 278

    section CallTarget+Inlining+NGEN
    This PR (8598) - mean (1,148ms)  : 1103, 1192
    master - mean (1,144ms)  : 1097, 1191

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8598) - mean (270ms)  : 266, 274
    master - mean (277ms)  : 266, 287

    section Bailout
    This PR (8598) - mean (269ms)  : 266, 272
    master - mean (275ms)  : 264, 287

    section CallTarget+Inlining+NGEN
    This PR (8598) - mean (1,028ms)  : 989, 1066
    master - mean (1,023ms)  : 980, 1067

Loading

@andrewlock
andrewlock merged commit 4b9ebf8 into master May 12, 2026
140 checks passed
@andrewlock
andrewlock deleted the andrew/mute-errors branch May 12, 2026 11:32
@github-actions github-actions Bot added this to the vNext-v3 milestone May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) identified-by:telemetry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants