Skip to content

Make sure we pin the dd-apm-test-agent smoke test image - #8952

Merged
andrewlock merged 2 commits into
masterfrom
andrew/fix-ddapm-test-agent
Jul 28, 2026
Merged

Make sure we pin the dd-apm-test-agent smoke test image#8952
andrewlock merged 2 commits into
masterfrom
andrew/fix-ddapm-test-agent

Conversation

@andrewlock

Copy link
Copy Markdown
Member

Summary of changes

Pins the test-agent image to the sha256 digest that is installed in the image

Reason for change

We pin the digest in the root docker-compose.yml file, but we store the smoke test digests in a different file, so we need to pin it there as well (previously we were not pinning these images at all).

Implementation details

  • Pin the dd-apm-test-agent image to the same digest as we use in docker-compose.yml
  • Handle the digest when deciding whether to pull the image

Test coverage

Covered by existing - shouldn't get unable to find image issues now

Other details

Didn't add it to the auto-bumped smoke test image digests, because we don't want to auto-bump this one.

#incident-57303

@andrewlock
andrewlock requested a review from a team as a code owner July 28, 2026 11:15
@andrewlock andrewlock added area:builds project files, build scripts, pipelines, versioning, releases, packages area:tests unit tests, integration tests type:flake-fix labels Jul 28, 2026
@andrewlock andrewlock changed the title Make sure we pin the dd- smoke test image Make sure we pin the dd-apm-test-agent smoke test image Jul 28, 2026

@bouwkast bouwkast left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍

var name = atIndex >= 0 ? image[..atIndex] : image;

var firstColon = name.IndexOf(':');
var repo = firstColon >= 0 ? name[..firstColon] : name;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This parsing would fail when using a port (localhost:5000/team/image:latest@sha256:...)
We are not using ports right now, though, so it does not fail currently.
Using lastIndexOf could be an alternative

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

interesting, didn't even consider that seeing as we don't really use ports 😅 Agreed it would be better, but given we were using IndexOf previously and I doubt that we'll ever include ports, I'll leave it for now and we can support it later as necessary (just to reduce CI burden tbh 😅)

@pr-commenter

pr-commenter Bot commented Jul 28, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-28 12:01:19

Comparing candidate commit 1434a6d in PR branch andrew/fix-ddapm-test-agent with baseline commit fb1bb2e in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 1 performance regressions! Performance is the same for 70 metrics, 1 unstable metrics, 59 known flaky benchmarks, 67 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.DbCommandBenchmark.ExecuteNonQuery net472

  • 🟥 throughput [-39118.071op/s; -34746.225op/s] or [-11.018%; -9.786%]

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

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

  • unstable execution_time [-28.143ms; -7.734ms] or [-14.054%; -3.862%]

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 [-9986.416op/s; -9497.801op/s] or [-11.841%; -11.262%]

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

  • 🟥 throughput [-11738.626op/s; -9836.762op/s] or [-11.936%; -10.002%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+314.204ms; +319.747ms] or [+155.919%; +158.670%]
  • 🟥 throughput [-46.153op/s; -41.137op/s] or [-8.304%; -7.401%]

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

  • 🟥 execution_time [+378.154ms; +379.588ms] or [+298.765%; +299.898%]
  • 🟩 throughput [+95.017op/s; +97.497op/s] or [+12.528%; +12.855%]

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

  • 🟥 execution_time [+400.537ms; +403.044ms] or [+354.460%; +356.679%]

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.605ms; -12.435ms] or [-7.755%; -5.808%]
  • 🟩 throughput [+7333.807op/s; +10106.443op/s] or [+5.353%; +7.377%]

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 [-269747.593op/s; -259585.357op/s] or [-27.543%; -26.505%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-26.266ms; -21.404ms] or [-11.713%; -9.545%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-156820.415op/s; -140778.605op/s] or [-22.532%; -20.227%]

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

  • 🟩 throughput [+9193.422op/s; +12149.043op/s] or [+5.850%; +7.730%]

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

  • 🟩 throughput [+8895.501op/s; +11588.047op/s] or [+7.086%; +9.231%]

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

  • 🟩 throughput [+421891.780op/s; +448090.608op/s] or [+14.068%; +14.941%]

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

  • 🟩 execution_time [-19.078ms; -14.742ms] or [-8.794%; -6.796%]
  • 🟩 throughput [+182739.149op/s; +237682.311op/s] or [+7.253%; +9.434%]

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

  • 🟥 execution_time [+299.803ms; +300.561ms] or [+149.801%; +150.180%]

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

  • 🟥 execution_time [+298.539ms; +308.239ms] or [+150.554%; +155.446%]

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

  • 🟥 execution_time [+299.218ms; +301.662ms] or [+150.723%; +151.954%]

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

  • 🟥 execution_time [+298.286ms; +299.481ms] or [+146.506%; +147.093%]

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

  • 🟥 execution_time [+295.454ms; +298.213ms] or [+144.437%; +145.785%]

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

  • 🟥 execution_time [+300.330ms; +301.834ms] or [+150.104%; +150.856%]

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

  • 🟥 execution_time [+23.115µs; +46.850µs] or [+7.379%; +14.957%]
  • 🟥 throughput [-435.187op/s; -235.552op/s] or [-13.566%; -7.343%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.774ms; +300.759ms] or [+149.618%; +150.110%]

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

  • 🟥 execution_time [+418.309ms; +425.717ms] or [+454.510%; +462.559%]
  • 🟩 throughput [+652.767op/s; +846.835op/s] or [+5.364%; +6.959%]

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

  • 🟥 execution_time [+368.681ms; +373.325ms] or [+279.936%; +283.462%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+249.111ms; +328.056ms] or [+114.539%; +150.837%]
  • 🟥 throughput [-582.575op/s; -525.230op/s] or [-52.787%; -47.591%]

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

  • unstable execution_time [+212.650ms; +345.886ms] or [+90.623%; +147.402%]
  • 🟥 throughput [-675.489op/s; -592.014op/s] or [-45.055%; -39.488%]

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

  • 🟥 execution_time [+335.723ms; +341.982ms] or [+200.801%; +204.545%]
  • 🟥 throughput [-392.184op/s; -355.323op/s] or [-27.307%; -24.741%]

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

  • 🟩 execution_time [-164.020µs; -133.337µs] or [-8.309%; -6.754%]
  • 🟩 throughput [+37.165op/s; +46.328op/s] or [+7.337%; +9.146%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.674ms; +306.107ms] or [+152.924%; +154.150%]

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

  • 🟥 execution_time [+302.923ms; +306.693ms] or [+151.795%; +153.684%]

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

  • 🟥 execution_time [+299.937ms; +303.551ms] or [+150.676%; +152.491%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+305.001ms; +307.816ms] or [+153.161%; +154.575%]

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

  • 🟥 execution_time [+298.675ms; +300.505ms] or [+147.682%; +148.587%]

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

  • 🟥 execution_time [+303.485ms; +308.435ms] or [+153.820%; +156.328%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.930ms; +302.711ms] or [+151.040%; +151.934%]

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

  • 🟥 execution_time [+296.357ms; +298.830ms] or [+147.707%; +148.939%]
  • 🟩 throughput [+52922.934op/s; +58263.446op/s] or [+10.509%; +11.569%]

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

  • 🟥 execution_time [+300.737ms; +304.682ms] or [+149.614%; +151.577%]

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

  • 🟩 execution_time [-16.451ms; -12.785ms] or [-7.650%; -5.945%]
  • 🟩 throughput [+22899.927op/s; +29885.722op/s] or [+6.282%; +8.198%]

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

  • unstable execution_time [+17.692µs; +61.867µs] or [+4.370%; +15.281%]

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

  • 🟩 allocated_mem [-18.406KB; -18.383KB] or [-6.714%; -6.706%]
  • unstable execution_time [-38.573µs; +18.695µs] or [-7.624%; +3.695%]

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

  • unstable execution_time [-63.790µs; -1.519µs] or [-11.054%; -0.263%]
  • unstable throughput [+21.048op/s; +197.705op/s] or [+1.202%; +11.295%]

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

  • unstable execution_time [+10.821µs; +16.753µs] or [+25.578%; +39.600%]
  • 🟥 throughput [-6616.502op/s; -4506.919op/s] or [-27.853%; -18.973%]

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

  • unstable execution_time [-12.293µs; -4.793µs] or [-19.072%; -7.437%]
  • unstable throughput [+986.969op/s; +2639.470op/s] or [+6.055%; +16.194%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.216ms; +303.737ms] or [+152.757%; +153.525%]

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

  • 🟥 execution_time [+304.645ms; +307.976ms] or [+155.063%; +156.759%]

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

  • 🟥 execution_time [+299.628ms; +301.711ms] or [+150.001%; +151.043%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟥 throughput [-25716.445op/s; -23050.033op/s] or [-7.119%; -6.381%]

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

  • 🟩 throughput [+35202.816op/s; +39910.963op/s] or [+6.663%; +7.554%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+298.301ms; +300.430ms] or [+148.676%; +149.737%]

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

  • 🟥 execution_time [+301.333ms; +302.632ms] or [+151.315%; +151.968%]

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

  • 🟥 execution_time [+303.683ms; +306.275ms] or [+154.008%; +155.323%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.420ms; +301.276ms] or [+149.851%; +150.278%]
  • 🟩 throughput [+65989038.807op/s; +66343974.324op/s] or [+48.057%; +48.316%]

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

  • 🟥 execution_time [+415.206ms; +419.860ms] or [+516.383%; +522.171%]

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

  • 🟥 execution_time [+300.010ms; +301.117ms] or [+149.638%; +150.190%]
  • 🟩 throughput [+14221353.962op/s; +17470577.999op/s] or [+6.299%; +7.738%]

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

  • 🟩 throughput [+52289.678op/s; +71847.275op/s] or [+6.052%; +8.316%]

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

  • 🟩 throughput [+82196.860op/s; +113351.779op/s] or [+6.362%; +8.774%]

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

  • 🟩 throughput [+83698.315op/s; +90939.654op/s] or [+8.313%; +9.032%]

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

  • 🟩 throughput [+50511.276op/s; +54992.383op/s] or [+9.172%; +9.986%]

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.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0
  • 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 net6.0
  • 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 (8952) 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.15 ± (73.16 - 73.71) ms70.15 ± (70.11 - 70.39) ms-4.1%
.NET Framework 4.8 - Bailout
duration74.66 ± (74.65 - 75.02) ms75.00 ± (74.91 - 75.28) ms+0.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1082.23 ± (1083.48 - 1089.39) ms1090.34 ± (1088.64 - 1094.52) ms+0.7%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.25 ± (22.21 - 22.29) ms22.04 ± (22.01 - 22.07) ms-1.0%
process.time_to_main_ms82.74 ± (82.45 - 83.03) ms80.82 ± (80.64 - 81.00) ms-2.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed11.00 ± (11.00 - 11.01) MB10.99 ± (10.99 - 10.99) MB-0.1%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.03 ± (22.00 - 22.05) ms22.24 ± (22.20 - 22.29) ms+1.0%✅⬆️
process.time_to_main_ms82.03 ± (81.88 - 82.18) ms83.89 ± (83.59 - 84.19) ms+2.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed11.05 ± (11.04 - 11.05) MB11.02 ± (11.02 - 11.03) MB-0.2%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms208.72 ± (207.98 - 209.47) ms207.98 ± (207.04 - 208.93) ms-0.4%
process.time_to_main_ms535.91 ± (534.72 - 537.11) ms535.28 ± (534.08 - 536.47) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.66 ± (49.64 - 49.69) MB49.49 ± (49.45 - 49.52) MB-0.4%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.3%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.08 ± (21.03 - 21.13) ms21.09 ± (21.04 - 21.14) ms+0.1%✅⬆️
process.time_to_main_ms73.57 ± (73.30 - 73.84) ms73.77 ± (73.48 - 74.05) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.72 - 10.72) MB10.71 ± (10.71 - 10.71) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.76 ± (20.73 - 20.79) ms21.00 ± (20.95 - 21.05) ms+1.2%✅⬆️
process.time_to_main_ms72.32 ± (72.18 - 72.47) ms74.24 ± (74.02 - 74.46) ms+2.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.84 ± (10.84 - 10.85) MB10.84 ± (10.83 - 10.84) MB-0.0%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms370.15 ± (367.90 - 372.39) ms371.32 ± (369.20 - 373.44) ms+0.3%✅⬆️
process.time_to_main_ms544.64 ± (543.41 - 545.87) ms545.62 ± (544.25 - 546.99) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.59 ± (50.57 - 50.62) MB50.66 ± (50.64 - 50.68) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.07 ± (19.04 - 19.10) ms19.06 ± (19.03 - 19.09) ms-0.0%
process.time_to_main_ms69.89 ± (69.75 - 70.04) ms69.87 ± (69.75 - 70.00) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.75 ± (7.75 - 7.76) MB7.77 ± (7.76 - 7.78) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.55 ± (19.49 - 19.61) ms19.20 ± (19.16 - 19.23) ms-1.8%
process.time_to_main_ms74.88 ± (74.57 - 75.20) ms73.26 ± (72.96 - 73.56) ms-2.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.80 ± (7.80 - 7.80) MB7.82 ± (7.82 - 7.83) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms296.22 ± (293.74 - 298.70) ms298.87 ± (296.77 - 300.96) ms+0.9%✅⬆️
process.time_to_main_ms495.84 ± (494.70 - 496.99) ms491.93 ± (490.83 - 493.04) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed38.03 ± (38.00 - 38.06) MB38.00 ± (37.97 - 38.03) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration205.73 ± (205.83 - 206.69) ms207.32 ± (207.32 - 208.20) ms+0.8%✅⬆️
.NET Framework 4.8 - Bailout
duration210.46 ± (210.18 - 211.12) ms210.28 ± (210.04 - 210.80) ms-0.1%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1230.24 ± (1232.41 - 1239.84) ms1241.28 ± (1240.38 - 1246.70) ms+0.9%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms200.20 ± (199.76 - 200.64) ms200.78 ± (200.29 - 201.26) ms+0.3%✅⬆️
process.time_to_main_ms88.02 ± (87.69 - 88.35) ms87.43 ± (87.17 - 87.69) ms-0.7%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.12) MB16.18 ± (16.17 - 16.20) MB+0.6%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+1.4%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms198.48 ± (198.08 - 198.89) ms200.12 ± (199.68 - 200.57) ms+0.8%✅⬆️
process.time_to_main_ms88.65 ± (88.41 - 88.88) ms89.35 ± (89.07 - 89.63) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.18 ± (16.16 - 16.21) MB16.22 ± (16.20 - 16.24) MB+0.2%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.3%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms392.79 ± (391.35 - 394.22) ms392.09 ± (390.77 - 393.41) ms-0.2%
process.time_to_main_ms558.54 ± (557.16 - 559.92) ms558.70 ± (557.39 - 560.01) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.98 ± (58.76 - 59.20) MB59.55 ± (59.37 - 59.74) MB+1.0%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.0%
.NET 6 - Baseline
process.internal_duration_ms203.95 ± (203.53 - 204.38) ms203.32 ± (202.93 - 203.72) ms-0.3%
process.time_to_main_ms76.41 ± (76.11 - 76.71) ms76.44 ± (76.20 - 76.68) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.56 ± (16.54 - 16.59) MB16.36 ± (16.33 - 16.39) MB-1.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.4%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms203.68 ± (203.25 - 204.12) ms204.08 ± (203.59 - 204.56) ms+0.2%✅⬆️
process.time_to_main_ms77.38 ± (77.15 - 77.61) ms77.90 ± (77.64 - 78.16) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.59 ± (16.56 - 16.61) MB16.46 ± (16.44 - 16.48) MB-0.8%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.6%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms581.19 ± (578.48 - 583.91) ms583.07 ± (580.51 - 585.63) ms+0.3%✅⬆️
process.time_to_main_ms570.26 ± (568.94 - 571.59) ms573.13 ± (571.82 - 574.45) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.57 ± (61.49 - 61.64) MB61.50 ± (61.43 - 61.57) MB-0.1%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.1%
.NET 8 - Baseline
process.internal_duration_ms203.00 ± (202.55 - 203.46) ms204.15 ± (203.73 - 204.57) ms+0.6%✅⬆️
process.time_to_main_ms76.12 ± (75.89 - 76.35) ms76.30 ± (76.01 - 76.59) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.81 ± (11.79 - 11.84) MB11.79 ± (11.77 - 11.81) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+1.4%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms201.16 ± (200.76 - 201.57) ms203.49 ± (203.04 - 203.95) ms+1.2%✅⬆️
process.time_to_main_ms76.66 ± (76.49 - 76.82) ms77.75 ± (77.51 - 77.99) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.85 ± (11.83 - 11.87) MB11.84 ± (11.82 - 11.86) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.6%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms511.05 ± (506.81 - 515.28) ms513.46 ± (508.98 - 517.95) ms+0.5%✅⬆️
process.time_to_main_ms518.64 ± (517.65 - 519.63) ms526.39 ± (525.40 - 527.37) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed51.42 ± (51.38 - 51.47) MB51.39 ± (51.35 - 51.43) MB-0.1%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.4%✅⬆️
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 (8952) - mean (70ms)  : 68, 72
    master - mean (73ms)  : 69, 77

    section Bailout
    This PR (8952) - mean (75ms)  : 73, 77
    master - mean (75ms)  : 72, 77

    section CallTarget+Inlining+NGEN
    This PR (8952) - mean (1,092ms)  : 1050, 1133
    master - mean (1,086ms)  : 1043, 1129

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 (8952) - mean (108ms)  : 105, 112
    master - mean (111ms)  : 105, 118

    section Bailout
    This PR (8952) - mean (113ms)  : 106, 120
    master - mean (110ms)  : 107, 112

    section CallTarget+Inlining+NGEN
    This PR (8952) - mean (780ms)  : 762, 798
    master - mean (780ms)  : 755, 806

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

    section Bailout
    This PR (8952) - mean (101ms)  : 96, 107
    master - mean (99ms)  : 96, 101

    section CallTarget+Inlining+NGEN
    This PR (8952) - mean (946ms)  : 903, 989
    master - mean (944ms)  : 909, 979

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

    section Bailout
    This PR (8952) - mean (100ms)  : 93, 107
    master - mean (102ms)  : 95, 109

    section CallTarget+Inlining+NGEN
    This PR (8952) - mean (820ms)  : 783, 857
    master - mean (824ms)  : 778, 870

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 (8952) - mean (208ms)  : 203, 213
    master - mean (206ms)  : 201, 211

    section Bailout
    This PR (8952) - mean (210ms)  : 207, 214
    master - mean (211ms)  : 206, 215

    section CallTarget+Inlining+NGEN
    This PR (8952) - mean (1,244ms)  : 1198, 1289
    master - mean (1,236ms)  : 1181, 1292

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 (8952) - mean (299ms)  : 289, 308
    master - mean (298ms)  : 292, 305

    section Bailout
    This PR (8952) - mean (300ms)  : 291, 309
    master - mean (297ms)  : 291, 304

    section CallTarget+Inlining+NGEN
    This PR (8952) - mean (994ms)  : 966, 1023
    master - mean (992ms)  : 970, 1014

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8952) - mean (290ms)  : 284, 295
    master - mean (290ms)  : 284, 296

    section Bailout
    This PR (8952) - mean (291ms)  : 285, 298
    master - mean (291ms)  : 284, 297

    section CallTarget+Inlining+NGEN
    This PR (8952) - mean (1,188ms)  : 1145, 1232
    master - mean (1,189ms)  : 1153, 1226

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8952) - mean (291ms)  : 285, 297
    master - mean (290ms)  : 281, 299

    section Bailout
    This PR (8952) - mean (292ms)  : 286, 298
    master - mean (288ms)  : 283, 294

    section CallTarget+Inlining+NGEN
    This PR (8952) - mean (1,077ms)  : 997, 1157
    master - mean (1,063ms)  : 1001, 1126

Loading

@andrewlock
andrewlock enabled auto-merge (squash) July 28, 2026 12:14
@andrewlock
andrewlock merged commit 1b87865 into master Jul 28, 2026
143 of 144 checks passed
@andrewlock
andrewlock deleted the andrew/fix-ddapm-test-agent branch July 28, 2026 12:40
@github-actions github-actions Bot added this to the vNext-v3 milestone Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages area:tests unit tests, integration tests type:flake-fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants