Skip to content

[TESTS] Fix monitoring home calculation fallback for tests#8798

Merged
andrewlock merged 2 commits into
masterfrom
dani/apm/update-monitoring-home-fallback
Jun 18, 2026
Merged

[TESTS] Fix monitoring home calculation fallback for tests#8798
andrewlock merged 2 commits into
masterfrom
dani/apm/update-monitoring-home-fallback

Conversation

@dromanol

Copy link
Copy Markdown
Contributor

Summary of changes

Update calculation method for monitoring home folder when env var is not set

Reason for change

Tests were failing locally when monitoring home env var was missing

Implementation details

Pointed to artifacts/monitoring-home instead of old shared/bin/monitoring-home

Test coverage

Other details

@dromanol dromanol added the area:tests unit tests, integration tests label Jun 18, 2026
@dromanol
dromanol marked this pull request as ready for review June 18, 2026 08:44
@dromanol
dromanol requested review from a team as code owners June 18, 2026 08:44

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks for this, and sorry! 🙈

@pr-commenter

pr-commenter Bot commented Jun 18, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-18 09:42:29

Comparing candidate commit 2dd08e5 in PR branch dani/apm/update-monitoring-home-fallback with baseline commit db226d5 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 1 performance regressions! Performance is the same for 71 metrics, 0 unstable metrics, 61 known flaky benchmarks, 65 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.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-4716.370op/s; -4455.782op/s] or [-5.384%; -5.087%]

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.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-6818.160op/s; -6410.288op/s] or [-8.084%; -7.601%]

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

  • 🟥 throughput [-7636.029op/s; -6296.168op/s] or [-7.764%; -6.402%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+301.372ms; +308.022ms] or [+149.551%; +152.851%]
  • 🟥 throughput [-45.621op/s; -41.944op/s] or [-8.208%; -7.546%]

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

  • 🟥 execution_time [+382.412ms; +384.434ms] or [+302.129%; +303.727%]
  • 🟩 throughput [+86.950op/s; +90.349op/s] or [+11.464%; +11.912%]

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

  • 🟥 execution_time [+390.077ms; +391.708ms] or [+345.203%; +346.647%]

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 [-16.334ms; -12.138ms] or [-7.628%; -5.669%]

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 [-287212.854op/s; -284347.560op/s] or [-29.326%; -29.033%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-26.223ms; -21.369ms] or [-11.695%; -9.529%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-151159.141op/s; -135067.491op/s] or [-21.719%; -19.407%]

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

  • 🟩 throughput [+9391.486op/s; +12296.887op/s] or [+5.976%; +7.824%]

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

  • 🟩 throughput [+9807.062op/s; +12469.690op/s] or [+7.813%; +9.934%]

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

  • 🟩 throughput [+423114.274op/s; +455852.294op/s] or [+14.108%; +15.200%]

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

  • 🟩 execution_time [-18.178ms; -13.763ms] or [-8.380%; -6.344%]
  • 🟩 throughput [+132976.724op/s; +198540.465op/s] or [+5.278%; +7.881%]

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

  • 🟥 execution_time [+299.378ms; +300.170ms] or [+149.589%; +149.985%]

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

  • 🟥 execution_time [+299.908ms; +303.245ms] or [+151.244%; +152.927%]

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

  • 🟥 execution_time [+300.395ms; +303.715ms] or [+151.315%; +152.988%]

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

  • 🟥 execution_time [+296.946ms; +298.404ms] or [+145.848%; +146.564%]

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

  • 🟥 execution_time [+291.300ms; +294.487ms] or [+142.406%; +143.964%]

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

  • 🟥 execution_time [+300.320ms; +301.600ms] or [+150.099%; +150.739%]

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

  • 🟥 execution_time [+22.412µs; +46.073µs] or [+7.155%; +14.709%]
  • 🟥 throughput [-429.046op/s; -229.978op/s] or [-13.375%; -7.169%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.746ms; +300.664ms] or [+149.604%; +150.062%]

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

  • unstable execution_time [+333.481ms; +393.553ms] or [+362.341%; +427.612%]
  • 🟩 throughput [+807.345op/s; +1020.271op/s] or [+6.634%; +8.384%]

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

  • unstable execution_time [+298.284ms; +349.918ms] or [+226.484%; +265.689%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+182.453ms; +253.046ms] or [+83.890%; +116.348%]
  • 🟥 throughput [-565.367op/s; -510.118op/s] or [-51.228%; -46.222%]

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

  • unstable execution_time [+206.681ms; +339.959ms] or [+88.079%; +144.876%]
  • 🟥 throughput [-678.045op/s; -594.005op/s] or [-45.226%; -39.620%]

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

  • 🟥 execution_time [+341.907ms; +354.717ms] or [+204.500%; +212.162%]
  • 🟥 throughput [-429.982op/s; -392.698op/s] or [-29.939%; -27.343%]

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

  • unstable throughput [-16.366op/s; +59.864op/s] or [-3.055%; +11.174%]

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

  • 🟩 execution_time [-198.547µs; -156.559µs] or [-10.058%; -7.931%]
  • 🟩 throughput [+45.190op/s; +56.632op/s] or [+8.921%; +11.180%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.527ms; +305.760ms] or [+152.850%; +153.975%]

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

  • 🟥 execution_time [+301.781ms; +303.029ms] or [+151.223%; +151.848%]

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

  • 🟥 execution_time [+300.771ms; +303.911ms] or [+151.094%; +152.672%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.403ms; +304.358ms] or [+151.857%; +152.838%]
  • 🟩 throughput [+16764.092op/s; +19260.211op/s] or [+5.616%; +6.452%]

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

  • 🟥 execution_time [+296.896ms; +300.012ms] or [+146.802%; +148.342%]

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

  • 🟥 execution_time [+302.506ms; +306.552ms] or [+153.324%; +155.374%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.564ms; +302.020ms] or [+150.856%; +151.587%]

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

  • 🟥 execution_time [+299.293ms; +301.550ms] or [+149.170%; +150.295%]
  • 🟩 throughput [+47592.631op/s; +50980.903op/s] or [+9.450%; +10.123%]

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

  • 🟥 execution_time [+298.493ms; +301.638ms] or [+148.498%; +150.062%]

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

  • 🟩 execution_time [-16.751ms; -13.085ms] or [-7.789%; -6.084%]
  • 🟩 throughput [+23269.605op/s; +29801.312op/s] or [+6.384%; +8.175%]

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

  • unstable execution_time [+5.992µs; +48.595µs] or [+1.480%; +12.003%]

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

  • 🟩 allocated_mem [-25.210KB; -25.187KB] or [-9.196%; -9.188%]
  • unstable execution_time [-51.757µs; +4.591µs] or [-10.229%; +0.907%]

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

  • unstable execution_time [-42.974µs; +17.605µs] or [-7.447%; +3.051%]

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

  • unstable execution_time [+7.862µs; +12.761µs] or [+18.582%; +30.163%]
  • 🟥 throughput [-5497.023op/s; -3547.242op/s] or [-23.141%; -14.933%]

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

  • unstable execution_time [-15.303µs; -8.091µs] or [-23.742%; -12.553%]
  • 🟩 throughput [+2049.953op/s; +3587.173op/s] or [+12.577%; +22.008%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.794ms; +305.021ms] or [+153.554%; +154.174%]

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

  • 🟥 execution_time [+298.901ms; +301.935ms] or [+152.140%; +153.684%]

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

  • 🟥 execution_time [+301.260ms; +303.662ms] or [+150.818%; +152.020%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟥 throughput [-21358.840op/s; -18717.518op/s] or [-5.913%; -5.182%]

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

  • 🟩 throughput [+28744.338op/s; +32036.629op/s] or [+5.441%; +6.064%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+299.824ms; +301.958ms] or [+149.435%; +150.499%]

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

  • 🟥 execution_time [+300.973ms; +303.418ms] or [+151.135%; +152.362%]

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

  • 🟥 execution_time [+304.130ms; +306.695ms] or [+154.235%; +155.536%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.884ms; +301.651ms] or [+150.083%; +150.465%]
  • 🟩 throughput [+61193122.983op/s; +61497484.445op/s] or [+44.565%; +44.786%]

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

  • 🟥 execution_time [+422.395ms; +425.696ms] or [+525.323%; +529.428%]

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

  • 🟥 execution_time [+299.322ms; +300.380ms] or [+149.295%; +149.823%]

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

  • 🟩 throughput [+98325.467op/s; +105149.075op/s] or [+9.180%; +9.817%]

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

  • 🟩 throughput [+89116.149op/s; +118778.339op/s] or [+6.898%; +9.194%]

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

  • 🟩 throughput [+63447.820op/s; +71785.493op/s] or [+6.301%; +7.129%]

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

  • 🟩 throughput [+44736.378op/s; +51551.419op/s] or [+8.123%; +9.361%]

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

  • 🟩 throughput [+50410.046op/s; +83844.117op/s] or [+5.632%; +9.367%]

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 net472
  • 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.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.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.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration73.53 ± (73.60 - 74.00) ms74.45 ± (74.43 - 74.86) ms+1.3%✅⬆️
.NET Framework 4.8 - Bailout
duration78.61 ± (78.44 - 78.89) ms77.32 ± (77.28 - 77.66) ms-1.6%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1089.16 ± (1091.07 - 1096.93) ms1096.06 ± (1094.91 - 1102.12) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.76 ± (22.71 - 22.82) ms22.84 ± (22.77 - 22.92) ms+0.4%✅⬆️
process.time_to_main_ms85.53 ± (85.25 - 85.81) ms86.36 ± (86.05 - 86.66) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.89 - 10.90) MB10.92 ± (10.91 - 10.92) MB+0.2%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.38 ± (22.35 - 22.42) ms22.45 ± (22.41 - 22.49) ms+0.3%✅⬆️
process.time_to_main_ms85.59 ± (85.37 - 85.81) ms85.22 ± (85.02 - 85.43) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.93 - 10.94) MB10.97 ± (10.97 - 10.98) MB+0.3%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms215.18 ± (214.35 - 216.01) ms213.14 ± (212.22 - 214.06) ms-0.9%
process.time_to_main_ms539.55 ± (538.39 - 540.71) ms537.05 ± (535.54 - 538.57) ms-0.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.61 ± (48.57 - 48.64) MB48.70 ± (48.66 - 48.73) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 6 - Baseline
process.internal_duration_ms21.21 ± (21.17 - 21.25) ms21.48 ± (21.43 - 21.53) ms+1.3%✅⬆️
process.time_to_main_ms72.46 ± (72.30 - 72.62) ms74.37 ± (74.17 - 74.58) ms+2.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.63 ± (10.63 - 10.63) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.14 ± (21.09 - 21.18) ms21.22 ± (21.18 - 21.25) ms+0.4%✅⬆️
process.time_to_main_ms73.99 ± (73.80 - 74.18) ms74.51 ± (74.32 - 74.69) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.74) 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_ms375.34 ± (373.07 - 377.60) ms372.72 ± (370.64 - 374.80) ms-0.7%
process.time_to_main_ms547.68 ± (546.42 - 548.93) ms548.23 ± (546.96 - 549.49) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.22 ± (50.20 - 50.24) MB50.19 ± (50.17 - 50.22) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.68 ± (19.63 - 19.73) ms19.53 ± (19.49 - 19.57) ms-0.8%
process.time_to_main_ms73.34 ± (73.13 - 73.56) ms73.07 ± (72.88 - 73.26) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.67) MB7.68 ± (7.68 - 7.69) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.44 ± (19.39 - 19.49) ms19.54 ± (19.49 - 19.59) ms+0.5%✅⬆️
process.time_to_main_ms73.53 ± (73.36 - 73.70) ms74.71 ± (74.51 - 74.91) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.73 ± (7.73 - 7.74) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms296.88 ± (294.78 - 298.97) ms294.48 ± (292.39 - 296.58) ms-0.8%
process.time_to_main_ms495.01 ± (494.11 - 495.91) ms494.32 ± (493.51 - 495.14) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.16 ± (37.14 - 37.18) MB37.20 ± (37.17 - 37.22) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.2%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration200.86 ± (200.62 - 201.43) ms201.43 ± (201.32 - 202.18) ms+0.3%✅⬆️
.NET Framework 4.8 - Bailout
duration204.11 ± (203.85 - 204.49) ms206.33 ± (205.74 - 206.71) ms+1.1%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1198.96 ± (1198.03 - 1204.47) ms1200.28 ± (1202.16 - 1208.79) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms194.77 ± (194.29 - 195.25) ms194.75 ± (194.29 - 195.22) ms-0.0%
process.time_to_main_ms85.04 ± (84.75 - 85.33) ms84.54 ± (84.27 - 84.82) ms-0.6%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.09 ± (16.06 - 16.11) MB16.12 ± (16.10 - 16.14) MB+0.2%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms194.20 ± (193.71 - 194.68) ms193.24 ± (192.77 - 193.70) ms-0.5%
process.time_to_main_ms85.28 ± (84.98 - 85.58) ms84.97 ± (84.75 - 85.19) ms-0.4%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.12 ± (16.10 - 16.15) MB16.16 ± (16.13 - 16.19) MB+0.2%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (20 - 21)-0.2%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms387.20 ± (385.80 - 388.61) ms388.96 ± (387.66 - 390.27) ms+0.5%✅⬆️
process.time_to_main_ms540.90 ± (539.56 - 542.24) ms537.03 ± (535.60 - 538.46) ms-0.7%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.08 ± (57.84 - 58.31) MB57.72 ± (57.53 - 57.91) MB-0.6%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.0%
.NET 6 - Baseline
process.internal_duration_ms200.08 ± (199.62 - 200.54) ms198.32 ± (197.84 - 198.81) ms-0.9%
process.time_to_main_ms74.17 ± (73.89 - 74.46) ms73.14 ± (72.83 - 73.44) ms-1.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.38 ± (16.36 - 16.41) MB16.40 ± (16.37 - 16.44) MB+0.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.9%
.NET 6 - Bailout
process.internal_duration_ms198.65 ± (198.28 - 199.02) ms198.55 ± (198.08 - 199.02) ms-0.1%
process.time_to_main_ms74.57 ± (74.36 - 74.78) ms74.34 ± (74.07 - 74.60) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.46 ± (16.43 - 16.48) MB16.44 ± (16.41 - 16.46) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.0%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms584.37 ± (581.97 - 586.78) ms584.04 ± (581.34 - 586.73) ms-0.1%
process.time_to_main_ms552.61 ± (551.35 - 553.87) ms552.71 ± (551.60 - 553.83) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.44 ± (61.34 - 61.53) MB61.50 ± (61.41 - 61.59) MB+0.1%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.2%
.NET 8 - Baseline
process.internal_duration_ms196.88 ± (196.47 - 197.28) ms197.65 ± (197.24 - 198.07) ms+0.4%✅⬆️
process.time_to_main_ms72.90 ± (72.65 - 73.14) ms72.60 ± (72.31 - 72.89) ms-0.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.70 ± (11.68 - 11.72) MB11.77 ± (11.75 - 11.79) MB+0.6%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.1%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms196.06 ± (195.65 - 196.47) ms198.24 ± (197.68 - 198.79) ms+1.1%✅⬆️
process.time_to_main_ms73.18 ± (72.95 - 73.40) ms74.51 ± (74.27 - 74.74) ms+1.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.78 ± (11.76 - 11.80) MB11.82 ± (11.80 - 11.84) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms510.41 ± (507.86 - 512.96) ms513.10 ± (510.51 - 515.69) ms+0.5%✅⬆️
process.time_to_main_ms496.52 ± (495.66 - 497.38) ms503.39 ± (502.36 - 504.42) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.96 ± (50.93 - 51.00) MB50.93 ± (50.89 - 50.97) MB-0.1%
runtime.dotnet.threads.count29 ± (29 - 29)30 ± (29 - 30)+0.5%✅⬆️
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 (8798) - mean (75ms)  : 72, 78
    master - mean (74ms)  : 71, 77

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

    section CallTarget+Inlining+NGEN
    This PR (8798) - mean (1,099ms)  : 1044, 1153
    master - mean (1,094ms)  : 1052, 1136

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 (8798) - mean (116ms)  : 112, 121
    master - mean (116ms)  : 111, 121

    section Bailout
    This PR (8798) - mean (115ms)  : 111, 118
    master - mean (116ms)  : 112, 120

    section CallTarget+Inlining+NGEN
    This PR (8798) - mean (787ms)  : 766, 809
    master - mean (793ms)  : 771, 815

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8798) - mean (102ms)  : 98, 107
    master - mean (101ms)  : 97, 104

    section Bailout
    This PR (8798) - mean (102ms)  : 98, 106
    master - mean (102ms)  : 99, 105

    section CallTarget+Inlining+NGEN
    This PR (8798) - mean (956ms)  : 911, 1000
    master - mean (953ms)  : 915, 991

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

    section Bailout
    This PR (8798) - mean (102ms)  : 98, 106
    master - mean (101ms)  : 98, 103

    section CallTarget+Inlining+NGEN
    This PR (8798) - mean (818ms)  : 787, 850
    master - mean (823ms)  : 788, 858

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 (8798) - mean (202ms)  : 196, 207
    master - mean (201ms)  : 197, 205

    section Bailout
    This PR (8798) - mean (206ms)  : 201, 211
    master - mean (204ms)  : 201, 207

    section CallTarget+Inlining+NGEN
    This PR (8798) - mean (1,205ms)  : 1158, 1253
    master - mean (1,201ms)  : 1153, 1249

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 (8798) - mean (289ms)  : 280, 297
    master - mean (290ms)  : 283, 297

    section Bailout
    This PR (8798) - mean (287ms)  : 281, 294
    master - mean (290ms)  : 284, 296

    section CallTarget+Inlining+NGEN
    This PR (8798) - mean (966ms)  : 945, 987
    master - mean (968ms)  : 947, 989

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8798) - mean (280ms)  : 274, 286
    master - mean (284ms)  : 278, 290

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

    section CallTarget+Inlining+NGEN
    This PR (8798) - mean (1,169ms)  : 1128, 1210
    master - mean (1,168ms)  : 1135, 1200

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8798) - mean (281ms)  : 276, 286
    master - mean (280ms)  : 273, 287

    section Bailout
    This PR (8798) - mean (284ms)  : 278, 290
    master - mean (279ms)  : 273, 285

    section CallTarget+Inlining+NGEN
    This PR (8798) - mean (1,048ms)  : 1007, 1089
    master - mean (1,038ms)  : 1002, 1075

Loading

@andrewlock
andrewlock enabled auto-merge (squash) June 18, 2026 10:19
@andrewlock
andrewlock merged commit 6e0f7d7 into master Jun 18, 2026
148 of 151 checks passed
@andrewlock
andrewlock deleted the dani/apm/update-monitoring-home-fallback branch June 18, 2026 10:21
@github-actions github-actions Bot added this to the vNext-v3 milestone Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants