Skip to content

Add .NET service names to macrobenchmarks#8490

Merged
andrewlock merged 1 commit into
masterfrom
andrew/add-service-name-to-macrobenchmarks
Apr 23, 2026
Merged

Add .NET service names to macrobenchmarks#8490
andrewlock merged 1 commit into
masterfrom
andrew/add-service-name-to-macrobenchmarks

Conversation

@andrewlock

@andrewlock andrewlock commented Apr 21, 2026

Copy link
Copy Markdown
Member

Summary of changes

Adds DD_SERVICE to each of the benchmark jobs

Reason for change

Lets us compare between scenarios in telemetry metrics

Implementation details

Manually added DD_SERVICE to each job

Test coverage

I'll trigger a manual run for the branch to confirm we can see this data as expected

Other details

We may want to make the service name dynamic in the future, so we can isolate these to a specific commit, but I think that's not critical atm, given that these mostly only run on master, so we should generally be able to distinguish based on start time (except when there are multiple commits to master)

@andrewlock andrewlock added area:builds project files, build scripts, pipelines, versioning, releases, packages area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos labels Apr 21, 2026
@pr-commenter

pr-commenter Bot commented Apr 21, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-04-21 11:32:01

Comparing candidate commit 3fa93fc in PR branch andrew/add-service-name-to-macrobenchmarks with baseline commit b821c57 in branch master.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 26 metrics, 0 unstable metrics, 87 known flaky benchmarks.

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 [-22176.263op/s; -18227.824op/s] or [-6.246%; -5.134%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.005%]
  • ignore execution_time [-887.656µs; +73.706µs] or [-0.441%; +0.037%]
  • ignore throughput [-1406.414op/s; -561.053op/s] or [-1.668%; -0.665%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1672.790µs; +1825.921µs] or [-0.835%; +0.911%]
  • 🟩 throughput [+10255.314op/s; +12446.494op/s] or [+8.620%; +10.462%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [+0.792ms; +2.973ms] or [+0.398%; +1.496%]
  • ignore throughput [-1688.534op/s; -252.987op/s] or [-1.717%; -0.257%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [-20 bytes; -19 bytes] or [-0.613%; -0.600%]
  • 🟥 execution_time [+304.831ms; +306.572ms] or [+151.268%; +152.132%]
  • ignore throughput [+10.153op/s; +13.886op/s] or [+1.827%; +2.498%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+387.786ms; +390.225ms] or [+306.375%; +308.301%]
  • ignore throughput [+13.127op/s; +15.445op/s] or [+1.731%; +2.036%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+397.913ms; +400.286ms] or [+352.138%; +354.238%]
  • ignore throughput [+2.690op/s; +6.031op/s] or [+0.380%; +0.852%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [-156.777µs; +513.927µs] or [-0.078%; +0.257%]
  • ignore throughput [-4966.919op/s; -4287.636op/s] or [-3.865%; -3.336%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.889ms; -11.707ms] or [-7.420%; -5.468%]
  • ignore throughput [+5056.738op/s; +7825.080op/s] or [+3.691%; +5.712%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-12.940ms; -8.778ms] or [-6.162%; -4.180%]
  • ignore throughput [-271.632op/s; +2021.561op/s] or [-0.246%; +1.828%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-868.935µs; -366.672µs] or [-0.433%; -0.183%]
  • 🟥 throughput [-247292.062op/s; -244031.205op/s] or [-25.250%; -24.917%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.586ms; -21.720ms] or [-11.856%; -9.686%]
  • ignore throughput [-64336.413op/s; -41396.395op/s] or [-6.873%; -4.422%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-2492.108µs; +1825.010µs] or [-1.244%; +0.911%]
  • 🟥 throughput [-147163.795op/s; -130744.444op/s] or [-21.145%; -18.785%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-866.109µs; +179.253µs] or [-0.432%; +0.089%]
  • ignore throughput [-636.665op/s; +152.135op/s] or [-0.428%; +0.102%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-0.079ms; +3.404ms] or [-0.040%; +1.718%]
  • 🟩 throughput [+9008.938op/s; +11939.009op/s] or [+5.732%; +7.597%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+1.932ms; +5.937ms] or [+0.985%; +3.027%]
  • 🟩 throughput [+7958.422op/s; +10604.987op/s] or [+6.340%; +8.448%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-248.741µs; -37.762µs] or [-0.124%; -0.019%]
  • ignore throughput [+48106.067op/s; +58749.350op/s] or [+1.463%; +1.787%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.411ms; -1.730ms] or [-1.192%; -0.855%]
  • 🟩 throughput [+450119.561op/s; +471802.339op/s] or [+15.009%; +15.732%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-18.793ms; -14.389ms] or [-8.663%; -6.633%]
  • 🟩 throughput [+213599.448op/s; +267821.850op/s] or [+8.478%; +10.631%]

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

  • ignore allocated_mem [+0 bytes; +2 bytes] or [-0.001%; +0.007%]
  • 🟥 execution_time [+300.197ms; +300.903ms] or [+149.998%; +150.351%]
  • ignore throughput [+149.162op/s; +175.507op/s] or [+1.647%; +1.938%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+300.534ms; +303.749ms] or [+151.560%; +153.181%]
  • ignore throughput [+328.473op/s; +539.524op/s] or [+2.512%; +4.127%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+300.071ms; +303.057ms] or [+151.152%; +152.656%]
  • ignore throughput [+67.664op/s; +206.343op/s] or [+0.653%; +1.992%]

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

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.186%; +0.199%]
  • 🟥 execution_time [+296.235ms; +296.919ms] or [+145.499%; +145.835%]
  • ignore throughput [-0.184op/s; +5.383op/s] or [-0.005%; +0.143%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+299.045ms; +301.706ms] or [+146.192%; +147.493%]
  • ignore throughput [+106.376op/s; +147.963op/s] or [+1.545%; +2.150%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+299.886ms; +301.168ms] or [+149.883%; +150.523%]
  • ignore throughput [+41.142op/s; +59.485op/s] or [+0.817%; +1.181%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+2.925µs; +7.245µs] or [+0.601%; +1.487%]
  • ignore throughput [-29.344op/s; -12.138op/s] or [-1.429%; -0.591%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+20.765µs; +47.482µs] or [+4.763%; +10.890%]
  • ignore throughput [-232.581op/s; -112.383op/s] or [-10.112%; -4.886%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+8.997µs; +30.991µs] or [+1.928%; +6.640%]
  • ignore throughput [-151.929op/s; -71.033op/s] or [-7.013%; -3.279%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-4.410µs; -0.530µs] or [-1.191%; -0.143%]
  • ignore throughput [+4.487op/s; +32.409op/s] or [+0.166%; +1.200%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+24.532µs; +48.139µs] or [+7.832%; +15.368%]
  • 🟥 throughput [-445.922op/s; -247.288op/s] or [-13.901%; -7.709%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-12.750µs; +9.684µs] or [-3.488%; +2.649%]
  • ignore throughput [-105.751op/s; +28.289op/s] or [-3.795%; +1.015%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.637ms; +300.315ms] or [+149.550%; +149.888%]
  • ignore throughput [+3598048.506op/s; +4170212.768op/s] or [+1.802%; +2.089%]

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

  • ignore allocated_mem [+72 bytes; +74 bytes] or [+0.404%; +0.415%]
  • unstable execution_time [+368.147ms; +402.593ms] or [+400.007%; +437.434%]
  • 🟩 throughput [+1001.460op/s; +1126.212op/s] or [+8.229%; +9.254%]

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

  • ignore allocated_mem [+48 bytes; +50 bytes] or [+0.232%; +0.243%]
  • unstable execution_time [+322.782ms; +357.630ms] or [+245.085%; +271.545%]
  • 🟩 throughput [+688.018op/s; +891.961op/s] or [+6.660%; +8.635%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.769KB; +2.774KB] or [+4.920%; +4.929%]
  • unstable execution_time [+256.842ms; +315.769ms] or [+118.093%; +145.187%]
  • 🟥 throughput [-506.424op/s; -439.715op/s] or [-45.887%; -39.843%]

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

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+201.658ms; +334.860ms] or [+85.938%; +142.703%]
  • 🟥 throughput [-745.547op/s; -662.118op/s] or [-49.728%; -44.163%]

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

  • ignore allocated_mem [+1.136KB; +1.139KB] or [+2.683%; +2.690%]
  • unstable execution_time [+305.933ms; +329.885ms] or [+182.983%; +197.309%]
  • 🟥 throughput [-401.895op/s; -366.400op/s] or [-27.983%; -25.512%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-94.172µs; -75.743µs] or [-4.739%; -3.812%]
  • ignore throughput [+20.316op/s; +25.223op/s] or [+4.037%; +5.012%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+52.081µs; +147.436µs] or [+3.578%; +10.129%]
  • ignore throughput [-47.850op/s; -12.521op/s] or [-6.965%; -1.823%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+202.646µs; +317.856µs] or [+7.050%; +11.058%]
  • ignore throughput [-33.696op/s; -15.488op/s] or [-9.686%; -4.452%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-5353.940ns; +6184.607ns] or [-0.462%; +0.534%]
  • ignore throughput [-3.938op/s; +4.285op/s] or [-0.456%; +0.496%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-26.707µs; -12.763µs] or [-2.477%; -1.184%]
  • ignore throughput [+11.593op/s; +25.013op/s] or [+1.250%; +2.697%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-0.642µs; +7.601µs] or [-0.034%; +0.407%]
  • ignore throughput [-2.166op/s; +0.199op/s] or [-0.404%; +0.037%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+33.088µs; +52.055µs] or [+1.292%; +2.033%]
  • ignore throughput [-7.646op/s; -4.881op/s] or [-1.957%; -1.250%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-94.697µs; -52.726µs] or [-4.797%; -2.671%]
  • ignore throughput [+15.677op/s; +26.755op/s] or [+3.095%; +5.282%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [+78.765µs; +155.557µs] or [+1.997%; +3.945%]
  • ignore throughput [-9.118op/s; -4.364op/s] or [-3.595%; -1.721%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+302.130ms; +303.414ms] or [+152.147%; +152.793%]
  • ignore throughput [+10738.458op/s; +12310.464op/s] or [+3.455%; +3.961%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.020ms; +304.063ms] or [+151.343%; +152.367%]
  • ignore throughput [+8936.365op/s; +15294.517op/s] or [+1.409%; +2.411%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.672ms; +305.482ms] or [+151.547%; +153.461%]
  • ignore throughput [+12664.803op/s; +20689.168op/s] or [+2.668%; +4.358%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+301.823ms; +303.212ms] or [+151.565%; +152.263%]
  • 🟩 throughput [+15431.523op/s; +16881.219op/s] or [+5.170%; +5.655%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+299.217ms; +300.594ms] or [+147.949%; +148.630%]
  • ignore throughput [+10842.854op/s; +16622.119op/s] or [+1.747%; +2.678%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.467ms; +306.032ms] or [+153.304%; +155.110%]
  • ignore throughput [+2139.287op/s; +10973.914op/s] or [+0.462%; +2.370%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+300.370ms; +301.488ms] or [+150.759%; +151.320%]
  • ignore throughput [+5115.160op/s; +7499.835op/s] or [+1.327%; +1.946%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.208ms; +302.145ms] or [+149.626%; +150.591%]
  • 🟩 throughput [+47479.459op/s; +54815.727op/s] or [+9.428%; +10.885%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.499ms; +303.203ms] or [+149.495%; +150.841%]
  • ignore throughput [-16039.015op/s; -9619.438op/s] or [-3.796%; -2.277%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1.724ms; -0.931ms] or [-0.857%; -0.463%]
  • ignore throughput [-2332.068op/s; -1230.931op/s] or [-0.938%; -0.495%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-15.884ms; -12.241ms] or [-7.386%; -5.692%]
  • 🟩 throughput [+24427.127op/s; +31303.005op/s] or [+6.701%; +8.587%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-988.227µs; +2950.910µs] or [-0.496%; +1.480%]
  • ignore throughput [+5625.968op/s; +11349.108op/s] or [+2.054%; +4.143%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • unstable execution_time [+11.961µs; +53.017µs] or [+2.955%; +13.096%]
  • ignore throughput [-275.194op/s; -68.686op/s] or [-11.074%; -2.764%]

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

  • 🟩 allocated_mem [-17.400KB; -17.379KB] or [-6.347%; -6.339%]
  • unstable execution_time [-48.672µs; +3.023µs] or [-9.620%; +0.597%]
  • ignore throughput [-2.598op/s; +176.780op/s] or [-0.130%; +8.821%]

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

  • ignore allocated_mem [+519 bytes; +535 bytes] or [+0.189%; +0.195%]
  • ignore execution_time [-52.957µs; +3.404µs] or [-9.177%; +0.590%]
  • ignore throughput [+2.118op/s; +155.665op/s] or [+0.121%; +8.893%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-249.779ns; +1270.445ns] or [-0.433%; +2.201%]
  • ignore throughput [-346.714op/s; +81.116op/s] or [-2.001%; +0.468%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • 🟥 execution_time [+5.890µs; +9.901µs] or [+13.921%; +23.403%]
  • 🟥 throughput [-4530.881op/s; -2770.719op/s] or [-19.074%; -11.664%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-13.283µs; -5.903µs] or [-20.608%; -9.158%]
  • 🟩 throughput [+1527.139op/s; +3106.210op/s] or [+9.370%; +19.058%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+2 bytes; +3 bytes] or [+0.061%; +0.072%]
  • 🟥 execution_time [+301.943ms; +303.004ms] or [+152.619%; +153.155%]
  • ignore throughput [-72.454op/s; -51.369op/s] or [-1.211%; -0.858%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+301.822ms; +307.082ms] or [+153.626%; +156.304%]
  • ignore throughput [-108.070op/s; -7.609op/s] or [-1.340%; -0.094%]

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

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+299.678ms; +301.861ms] or [+150.026%; +151.118%]
  • ignore throughput [-120.385op/s; -53.459op/s] or [-1.534%; -0.681%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+340.058µs; +882.382µs] or [+0.170%; +0.440%]
  • ignore throughput [-3139.707op/s; -1855.105op/s] or [-0.869%; -0.514%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [+89.291µs; +911.047µs] or [+0.045%; +0.455%]
  • 🟩 throughput [+44709.976op/s; +49317.981op/s] or [+8.463%; +9.335%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.677ms; +5.347ms] or [+0.850%; +2.710%]
  • ignore throughput [+5599.378op/s; +14290.902op/s] or [+1.325%; +3.382%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+300.845ms; +302.465ms] or [+149.944%; +150.752%]
  • ignore throughput [-7478.283op/s; -5846.248op/s] or [-4.938%; -3.860%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+301.035ms; +302.701ms] or [+151.166%; +152.002%]
  • ignore throughput [+926.178op/s; +2782.826op/s] or [+0.403%; +1.210%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+304.075ms; +306.932ms] or [+154.207%; +155.656%]
  • ignore throughput [+1416.791op/s; +3633.301op/s] or [+0.798%; +2.046%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.745ms; +300.456ms] or [+149.514%; +149.869%]
  • 🟩 throughput [+65900649.870op/s; +66176965.029op/s] or [+47.993%; +48.194%]

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

  • ignore allocated_mem [+66 bytes; +68 bytes] or [+0.388%; +0.398%]
  • 🟥 execution_time [+419.893ms; +422.927ms] or [+522.212%; +525.985%]
  • 🟩 throughput [+1082.724op/s; +1247.609op/s] or [+8.370%; +9.645%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.860ms; +300.769ms] or [+149.563%; +150.017%]
  • 🟩 throughput [+16293349.663op/s; +18309314.818op/s] or [+7.217%; +8.110%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+698.794µs; +1112.070µs] or [+0.349%; +0.556%]
  • ignore throughput [+1942.845op/s; +4752.856op/s] or [+0.217%; +0.530%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-5.759ms; -4.188ms] or [-2.821%; -2.051%]
  • 🟩 throughput [+82056.481op/s; +91937.432op/s] or [+7.661%; +8.584%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [+0.535ms; +4.654ms] or [+0.271%; +2.355%]
  • 🟩 throughput [+64937.957op/s; +84400.948op/s] or [+7.516%; +9.769%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+1.467ms; +2.705ms] or [+0.733%; +1.352%]
  • ignore throughput [-20048.438op/s; -11802.826op/s] or [-1.835%; -1.080%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+5.722ms; +9.837ms] or [+2.981%; +5.125%]
  • 🟩 throughput [+79663.097op/s; +108876.435op/s] or [+6.166%; +8.427%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-3.879ms; -2.373ms] or [-1.906%; -1.166%]
  • 🟩 throughput [+94878.068op/s; +102936.661op/s] or [+9.423%; +10.223%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1188.839µs; +100.366µs] or [-0.592%; +0.050%]
  • ignore throughput [+4513.025op/s; +7827.465op/s] or [+1.006%; +1.744%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-2.074ms; -0.512ms] or [-1.036%; -0.256%]
  • 🟩 throughput [+44935.632op/s; +50490.593op/s] or [+8.159%; +9.168%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [+0.452ms; +4.550ms] or [+0.227%; +2.286%]
  • 🟩 throughput [+26612.153op/s; +36576.972op/s] or [+5.957%; +8.187%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-972.508µs; +136.379µs] or [-0.485%; +0.068%]
  • ignore throughput [-13590.360op/s; -9388.523op/s] or [-1.989%; -1.374%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1815.508µs; +1701.237µs] or [-0.908%; +0.851%]
  • ignore throughput [+39519.789op/s; +57694.222op/s] or [+4.415%; +6.446%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.570ms; +5.484ms] or [+0.797%; +2.785%]
  • ignore throughput [+22188.068op/s; +36941.993op/s] or [+3.098%; +5.158%]

@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Apr 21, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8490) 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.81 ± (73.89 - 74.38) ms72.45 ± (72.47 - 72.80) ms-1.8%
.NET Framework 4.8 - Bailout
duration76.76 ± (76.63 - 76.98) ms78.60 ± (78.62 - 79.27) ms+2.4%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1074.73 ± (1074.83 - 1082.48) ms1081.04 ± (1079.44 - 1085.17) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.77 ± (22.72 - 22.83) ms22.54 ± (22.49 - 22.59) ms-1.0%
process.time_to_main_ms86.25 ± (85.95 - 86.55) ms84.97 ± (84.77 - 85.18) ms-1.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.84 ± (10.84 - 10.85) MB10.92 ± (10.91 - 10.92) MB+0.7%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.51 ± (22.47 - 22.55) ms22.87 ± (22.81 - 22.93) ms+1.6%✅⬆️
process.time_to_main_ms86.07 ± (85.86 - 86.28) ms89.13 ± (88.79 - 89.47) ms+3.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.94) MB10.94 ± (10.94 - 10.94) MB-0.0%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms229.89 ± (228.83 - 230.95) ms228.44 ± (227.32 - 229.56) ms-0.6%
process.time_to_main_ms530.95 ± (529.58 - 532.31) ms527.65 ± (526.14 - 529.16) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.58 ± (48.55 - 48.61) MB48.48 ± (48.45 - 48.51) MB-0.2%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.25 ± (21.21 - 21.29) ms21.49 ± (21.43 - 21.54) ms+1.1%✅⬆️
process.time_to_main_ms73.43 ± (73.27 - 73.60) ms75.82 ± (75.54 - 76.10) ms+3.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.64 ± (10.63 - 10.64) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.50 ± (21.44 - 21.56) ms21.13 ± (21.09 - 21.18) ms-1.7%
process.time_to_main_ms76.29 ± (76.00 - 76.58) ms75.10 ± (74.92 - 75.27) ms-1.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.69 ± (10.69 - 10.70) MB10.75 ± (10.75 - 10.75) MB+0.6%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms383.69 ± (381.62 - 385.75) ms384.99 ± (382.93 - 387.04) ms+0.3%✅⬆️
process.time_to_main_ms527.41 ± (526.18 - 528.64) ms531.95 ± (530.78 - 533.12) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.02 ± (49.99 - 50.04) MB50.09 ± (50.06 - 50.12) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.35 ± (19.31 - 19.40) ms19.55 ± (19.51 - 19.58) ms+1.0%✅⬆️
process.time_to_main_ms72.75 ± (72.53 - 72.96) ms73.35 ± (73.13 - 73.56) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.67 - 7.68) MB7.65 ± (7.65 - 7.66) MB-0.2%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.20 ± (19.17 - 19.24) ms19.88 ± (19.83 - 19.94) ms+3.5%✅⬆️
process.time_to_main_ms73.55 ± (73.37 - 73.74) ms76.55 ± (76.26 - 76.84) ms+4.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.72 - 7.73) MB7.71 ± (7.71 - 7.72) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms307.09 ± (304.72 - 309.47) ms302.46 ± (300.35 - 304.58) ms-1.5%
process.time_to_main_ms490.25 ± (489.15 - 491.35) ms491.71 ± (490.63 - 492.78) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.15 ± (37.10 - 37.19) MB37.14 ± (37.10 - 37.18) MB-0.0%
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
duration201.32 ± (200.85 - 201.94) ms202.59 ± (202.36 - 203.53) ms+0.6%✅⬆️
.NET Framework 4.8 - Bailout
duration205.82 ± (205.62 - 206.64) ms207.04 ± (207.09 - 208.42) ms+0.6%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1201.24 ± (1201.11 - 1209.15) ms1198.00 ± (1198.63 - 1206.19) ms-0.3%
.NET Core 3.1 - Baseline
process.internal_duration_ms196.19 ± (195.66 - 196.72) ms197.86 ± (197.22 - 198.49) ms+0.9%✅⬆️
process.time_to_main_ms84.74 ± (84.45 - 85.03) ms86.04 ± (85.73 - 86.36) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.99 ± (15.97 - 16.00) MB16.00 ± (15.99 - 16.02) MB+0.1%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+1.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms195.73 ± (195.21 - 196.24) ms196.19 ± (195.64 - 196.75) ms+0.2%✅⬆️
process.time_to_main_ms86.31 ± (86.05 - 86.56) ms86.49 ± (86.20 - 86.77) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.04 ± (16.02 - 16.05) MB16.03 ± (16.02 - 16.05) MB-0.0%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.8%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms406.94 ± (405.53 - 408.36) ms409.43 ± (408.23 - 410.63) ms+0.6%✅⬆️
process.time_to_main_ms528.46 ± (527.20 - 529.71) ms538.72 ± (537.19 - 540.26) ms+1.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.32 ± (59.27 - 59.37) MB59.36 ± (59.33 - 59.40) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (30 - 30)+0.5%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms201.47 ± (200.98 - 201.97) ms204.20 ± (203.47 - 204.92) ms+1.4%✅⬆️
process.time_to_main_ms73.99 ± (73.75 - 74.23) ms74.86 ± (74.47 - 75.24) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.25 ± (16.23 - 16.27) MB16.24 ± (16.22 - 16.26) MB-0.1%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+1.0%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms201.14 ± (200.61 - 201.67) ms202.29 ± (201.69 - 202.89) ms+0.6%✅⬆️
process.time_to_main_ms75.16 ± (74.92 - 75.40) ms75.65 ± (75.37 - 75.94) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.31 ± (16.29 - 16.33) MB16.29 ± (16.28 - 16.31) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.7%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms597.23 ± (593.96 - 600.50) ms600.29 ± (597.95 - 602.63) ms+0.5%✅⬆️
process.time_to_main_ms527.48 ± (525.98 - 528.98) ms535.42 ± (534.23 - 536.60) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.76 ± (61.65 - 61.88) MB61.83 ± (61.74 - 61.92) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.3%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms197.34 ± (196.87 - 197.80) ms200.96 ± (200.27 - 201.64) ms+1.8%✅⬆️
process.time_to_main_ms72.62 ± (72.40 - 72.85) ms73.82 ± (73.54 - 74.11) ms+1.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.67 ± (11.66 - 11.69) MB11.63 ± (11.61 - 11.64) MB-0.4%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.4%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms197.21 ± (196.73 - 197.69) ms200.09 ± (199.46 - 200.72) ms+1.5%✅⬆️
process.time_to_main_ms74.06 ± (73.84 - 74.29) ms75.07 ± (74.83 - 75.30) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.73 - 11.76) MB11.67 ± (11.65 - 11.68) MB-0.7%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.2%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms524.75 ± (520.97 - 528.53) ms527.70 ± (522.80 - 532.59) ms+0.6%✅⬆️
process.time_to_main_ms489.16 ± (488.02 - 490.30) ms494.77 ± (493.39 - 496.15) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.77 ± (50.72 - 50.82) MB50.78 ± (50.72 - 50.84) MB+0.0%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8490) - mean (73ms)  : 70, 75
    master - mean (74ms)  : 71, 78

    section Bailout
    This PR (8490) - mean (79ms)  : 74, 84
    master - mean (77ms)  : 75, 79

    section CallTarget+Inlining+NGEN
    This PR (8490) - mean (1,082ms)  : 1039, 1125
    master - mean (1,079ms)  : 1023, 1135

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 (8490) - mean (115ms)  : 111, 118
    master - mean (116ms)  : 111, 122

    section Bailout
    This PR (8490) - mean (119ms)  : 113, 126
    master - mean (116ms)  : 113, 119

    section CallTarget+Inlining+NGEN
    This PR (8490) - mean (799ms)  : 775, 822
    master - mean (800ms)  : 779, 821

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

    section Bailout
    This PR (8490) - mean (103ms)  : 100, 106
    master - mean (105ms)  : 98, 111

    section CallTarget+Inlining+NGEN
    This PR (8490) - mean (947ms)  : 906, 988
    master - mean (940ms)  : 907, 973

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

    section Bailout
    This PR (8490) - mean (105ms)  : 98, 111
    master - mean (100ms)  : 98, 103

    section CallTarget+Inlining+NGEN
    This PR (8490) - mean (827ms)  : 787, 866
    master - mean (830ms)  : 784, 876

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 (8490) - mean (203ms)  : 194, 211
    master - mean (201ms)  : 193, 209

    section Bailout
    This PR (8490) - mean (208ms)  : 198, 218
    master - mean (206ms)  : 199, 213

    section CallTarget+Inlining+NGEN
    This PR (8490) - mean (1,202ms)  : 1146, 1259
    master - mean (1,205ms)  : 1144, 1266

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 (8490) - mean (294ms)  : 281, 307
    master - mean (290ms)  : 279, 302

    section Bailout
    This PR (8490) - mean (292ms)  : 280, 305
    master - mean (291ms)  : 280, 303

    section CallTarget+Inlining+NGEN
    This PR (8490) - mean (980ms)  : 949, 1011
    master - mean (965ms)  : 937, 993

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8490) - mean (287ms)  : 271, 304
    master - mean (284ms)  : 274, 294

    section Bailout
    This PR (8490) - mean (288ms)  : 273, 303
    master - mean (285ms)  : 275, 296

    section CallTarget+Inlining+NGEN
    This PR (8490) - mean (1,167ms)  : 1126, 1208
    master - mean (1,158ms)  : 1122, 1194

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8490) - mean (286ms)  : 272, 301
    master - mean (280ms)  : 271, 290

    section Bailout
    This PR (8490) - mean (287ms)  : 271, 302
    master - mean (282ms)  : 272, 291

    section CallTarget+Inlining+NGEN
    This PR (8490) - mean (1,058ms)  : 980, 1136
    master - mean (1,051ms)  : 971, 1131

Loading

@andrewlock
andrewlock marked this pull request as ready for review April 22, 2026 10:49
@andrewlock
andrewlock requested a review from a team as a code owner April 22, 2026 10:49
@andrewlock
andrewlock merged commit b0f41b6 into master Apr 23, 2026
186 checks passed
@andrewlock
andrewlock deleted the andrew/add-service-name-to-macrobenchmarks branch April 23, 2026 09:33
@github-actions github-actions Bot added this to the vNext-v3 milestone Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants