Skip to content

fix(microbenchmarks): restore CI Visibility reporting to Datadog#8483

Merged
andrewlock merged 2 commits intomasterfrom
fayssal/fix-reporting
Apr 21, 2026
Merged

fix(microbenchmarks): restore CI Visibility reporting to Datadog#8483
andrewlock merged 2 commits intomasterfrom
fayssal/fix-reporting

Conversation

@faydef
Copy link
Copy Markdown
Contributor

@faydef faydef commented Apr 20, 2026

Summary of changes

  • Set DD_CIVISIBILITY_AGENTLESS_ENABLED=1 on the benchmark process in .gitlab/benchmarks/microbenchmarks/scripts/run-benchmarks.ps1 when DD_API_KEY is present, and default DD_SITE=datadoghq.com.
  • Change the SSM parameter name in .gitlab/benchmarks/microbenchmarks.yml from ci.dd-trace-dotnet.dd_api_key to ci.dd-trace-dotnet.dd_api_key-prod to match the key the previous pipeline was using.

Reason for change

Microbenchmark results stopped being reported to Datadog on April 8, 2026, after #8300 moved the Windows microbenchmark runner from benchmarking-platform@dd-trace-dotnet/micro into this repo. The Datadog.Trace.BenchmarkDotNet exporter ships results to Datadog via CI Visibility, and the old flow enabled agentless mode (DD_CIVISIBILITY_AGENTLESS_ENABLED=1) with a production SSM key — two details that were not carried over in the rewrite, so the exporter silently failed to reach intake.

Cross-reference with the old script: benchmarking-platform/run-benchmarks.ps1:128 ($env:DD_CIVISIBILITY_AGENTLESS_ENABLED=1) and benchmarking-platform/steps/run-windows-benchmarks.sh:9 (ci.${CI_PROJECT_NAME}.dd_api_key-prod).

Implementation details

  • run-benchmarks.ps1 now guards the agentless toggle on DD_API_KEY being set, so local/dev invocations without a key continue to behave as before (warn and skip agentless) rather than attempting — and failing — to hit intake.
  • No changes to Build.cs, tracer code, or the benchmark projects. This is purely a CI config fix.

Test coverage

  • Verified the execution order in bp-runner.windows.yml: the env vars are set in run-benchmarks.ps1 after BuildTracerHome/BuildBenchmarks and before the BDN CLI is invoked — i.e., inherited by every BDN child process.

Other details

@faydef faydef changed the title Fayssal/fix reporting fix(microbenchmarks): restore CI Visibility reporting to Datadog Apr 20, 2026
@faydef faydef marked this pull request as ready for review April 20, 2026 11:05
@faydef faydef requested a review from a team as a code owner April 20, 2026 11:05
Copy link
Copy Markdown
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

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

Thanks!

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Apr 20, 2026

Benchmarks

Benchmark execution time: 2026-04-20 11:20:44

Comparing candidate commit 611f6bb in PR branch fayssal/fix-reporting with baseline commit dc15c79 in branch master.

Found 1 performance improvements and 1 performance regressions! Performance is the same for 25 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.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5030.366op/s; -4741.735op/s] or [-5.743%; -5.413%]

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

  • 🟩 throughput [+7438.476op/s; +8783.147op/s] or [+5.053%; +5.967%]

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 [-1218.466µs; -204.463µs] or [-0.605%; -0.102%]
  • ignore throughput [-332.404op/s; +135.991op/s] or [-0.394%; +0.161%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1932.774µs; +1568.359µs] or [-0.964%; +0.782%]
  • 🟩 throughput [+10094.951op/s; +12315.312op/s] or [+8.485%; +10.352%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [-16.406ms; -2.921ms] or [-8.251%; -1.469%]
  • ignore throughput [+16.098op/s; +1287.212op/s] or [+0.016%; +1.309%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+49 bytes; +50 bytes] or [+1.511%; +1.524%]
  • 🟥 execution_time [+306.040ms; +311.105ms] or [+151.868%; +154.381%]
  • ignore throughput [+16.252op/s; +20.196op/s] or [+2.924%; +3.634%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+378.455ms; +380.869ms] or [+299.003%; +300.910%]
  • ignore throughput [+11.213op/s; +14.107op/s] or [+1.478%; +1.860%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+392.333ms; +394.709ms] or [+347.200%; +349.302%]
  • ignore throughput [-8.749op/s; -4.697op/s] or [-1.236%; -0.663%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [-332.293µs; +249.921µs] or [-0.166%; +0.125%]
  • ignore throughput [-4450.171op/s; -4084.878op/s] or [-3.462%; -3.178%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-16.397ms; -12.229ms] or [-7.658%; -5.711%]
  • ignore throughput [+4768.363op/s; +7546.448op/s] or [+3.481%; +5.508%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-13.235ms; -9.066ms] or [-6.302%; -4.317%]
  • ignore throughput [-273.922op/s; +2018.099op/s] or [-0.248%; +1.825%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-368.166µs; +526.195µs] or [-0.183%; +0.262%]
  • 🟥 throughput [-235596.521op/s; -231575.754op/s] or [-24.056%; -23.645%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.298ms; -21.420ms] or [-11.728%; -9.553%]
  • ignore throughput [-58245.386op/s; -35246.720op/s] or [-6.222%; -3.765%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-2277.536µs; +2006.982µs] or [-1.137%; +1.002%]
  • 🟥 throughput [-142499.346op/s; -125705.601op/s] or [-20.474%; -18.061%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-1224.223µs; -119.129µs] or [-0.610%; -0.059%]
  • ignore throughput [-1987.385op/s; -1129.300op/s] or [-1.337%; -0.760%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-0.339ms; +3.152ms] or [-0.171%; +1.590%]
  • 🟩 throughput [+9542.523op/s; +12466.782op/s] or [+6.072%; +7.932%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+0.904ms; +4.949ms] or [+0.461%; +2.523%]
  • 🟩 throughput [+9161.038op/s; +11801.218op/s] or [+7.298%; +9.401%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-258.707µs; -42.380µs] or [-0.129%; -0.021%]
  • ignore throughput [+60238.625op/s; +79988.889op/s] or [+1.833%; +2.433%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.420ms; -1.768ms] or [-1.197%; -0.874%]
  • 🟩 throughput [+465189.923op/s; +484615.813op/s] or [+15.511%; +16.159%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-19.750ms; -15.372ms] or [-9.104%; -7.086%]
  • 🟩 throughput [+216325.251op/s; +270488.515op/s] or [+8.587%; +10.736%]

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

  • ignore allocated_mem [+0 bytes; +2 bytes] or [-0.001%; +0.007%]
  • 🟥 execution_time [+300.129ms; +300.658ms] or [+149.964%; +150.229%]
  • ignore throughput [+192.888op/s; +207.815op/s] or [+2.130%; +2.295%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+300.647ms; +303.946ms] or [+151.617%; +153.281%]
  • ignore throughput [+212.061op/s; +424.371op/s] or [+1.622%; +3.246%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.781ms; +302.178ms] or [+151.006%; +152.214%]
  • ignore throughput [+152.659op/s; +279.234op/s] or [+1.474%; +2.696%]

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

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.186%; +0.199%]
  • 🟥 execution_time [+295.323ms; +295.993ms] or [+145.051%; +145.380%]
  • ignore throughput [+15.178op/s; +23.087op/s] or [+0.402%; +0.612%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+295.079ms; +296.680ms] or [+144.253%; +145.036%]
  • ignore throughput [+144.971op/s; +169.928op/s] or [+2.106%; +2.469%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+300.696ms; +302.483ms] or [+150.287%; +151.180%]
  • ignore throughput [-98.167op/s; -25.858op/s] or [-1.949%; -0.513%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+3.239µs; +6.955µs] or [+0.665%; +1.428%]
  • ignore throughput [-28.707op/s; -13.320op/s] or [-1.398%; -0.649%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+16.128µs; +42.749µs] or [+3.699%; +9.805%]
  • ignore throughput [-211.271op/s; -91.482op/s] or [-9.185%; -3.977%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+6.621µs; +28.573µs] or [+1.419%; +6.122%]
  • ignore throughput [-141.768op/s; -61.053op/s] or [-6.544%; -2.818%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-5.833µs; -2.117µs] or [-1.575%; -0.572%]
  • ignore throughput [+16.068op/s; +42.851op/s] or [+0.595%; +1.587%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+23.933µs; +47.516µs] or [+7.641%; +15.170%]
  • 🟥 throughput [-440.987op/s; -242.537op/s] or [-13.747%; -7.561%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-15.804µs; +6.560µs] or [-4.323%; +1.794%]
  • ignore throughput [-82.332op/s; +51.097op/s] or [-2.955%; +1.834%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.695ms; +300.422ms] or [+149.579%; +149.941%]
  • ignore throughput [+3631124.697op/s; +4200287.200op/s] or [+1.819%; +2.104%]

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

  • ignore allocated_mem [+70 bytes; +72 bytes] or [+0.393%; +0.404%]
  • unstable execution_time [+372.707ms; +403.407ms] or [+404.961%; +438.318%]
  • 🟩 throughput [+1105.582op/s; +1222.123op/s] or [+9.085%; +10.042%]

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

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+278.679ms; +317.366ms] or [+211.598%; +240.973%]
  • 🟩 throughput [+691.575op/s; +892.944op/s] or [+6.695%; +8.644%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.593KB; +2.598KB] or [+4.607%; +4.616%]
  • unstable execution_time [+324.572ms; +394.357ms] or [+149.235%; +181.322%]
  • 🟥 throughput [-603.278op/s; -540.250op/s] or [-54.663%; -48.952%]

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

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+181.314ms; +316.693ms] or [+77.268%; +134.961%]
  • 🟥 throughput [-743.569op/s; -660.127op/s] or [-49.596%; -44.031%]

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

  • ignore allocated_mem [+813 bytes; +816 bytes] or [+1.920%; +1.928%]
  • 🟥 execution_time [+347.960ms; +357.729ms] or [+208.120%; +213.963%]
  • 🟥 throughput [-416.271op/s; -379.787op/s] or [-28.984%; -26.444%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-77.911µs; -66.575µs] or [-3.921%; -3.350%]
  • ignore throughput [+17.562op/s; +20.617op/s] or [+3.490%; +4.097%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+10.256µs; +24.215µs] or [+0.705%; +1.664%]
  • ignore throughput [-10.901op/s; -4.507op/s] or [-1.587%; -0.656%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-153.845µs; -71.311µs] or [-5.352%; -2.481%]
  • ignore throughput [+9.310op/s; +25.100op/s] or [+2.676%; +7.215%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-1.510µs; +10.801µs] or [-0.130%; +0.933%]
  • ignore throughput [-7.347op/s; +1.573op/s] or [-0.851%; +0.182%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-37.705µs; -27.222µs] or [-3.497%; -2.525%]
  • ignore throughput [+24.629op/s; +33.905op/s] or [+2.656%; +3.656%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-99.881µs; -1.586µs] or [-5.351%; -0.085%]
  • unstable throughput [+5.776op/s; +65.054op/s] or [+1.078%; +12.143%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+9.651µs; +21.395µs] or [+0.377%; +0.836%]
  • ignore throughput [-3.193op/s; -1.419op/s] or [-0.817%; -0.363%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-119.627µs; -82.713µs] or [-6.060%; -4.190%]
  • ignore throughput [+23.780op/s; +33.356op/s] or [+4.694%; +6.585%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-135.764µs; -98.310µs] or [-3.443%; -2.493%]
  • ignore throughput [+6.709op/s; +9.102op/s] or [+2.645%; +3.589%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+302.291ms; +304.202ms] or [+152.228%; +153.190%]
  • ignore throughput [+1829.517op/s; +3334.401op/s] or [+0.589%; +1.073%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.827ms; +303.018ms] or [+151.246%; +151.843%]
  • ignore throughput [+20457.383op/s; +23454.714op/s] or [+3.225%; +3.698%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.883ms; +305.028ms] or [+151.653%; +153.233%]
  • ignore throughput [+21287.443op/s; +29115.165op/s] or [+4.484%; +6.133%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+302.029ms; +303.402ms] or [+151.669%; +152.358%]
  • ignore throughput [+169.180op/s; +2067.840op/s] or [+0.057%; +0.693%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+298.185ms; +300.249ms] or [+147.439%; +148.460%]
  • ignore throughput [+5927.586op/s; +11346.164op/s] or [+0.955%; +1.828%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+304.393ms; +307.899ms] or [+154.280%; +156.057%]
  • ignore throughput [-11085.862op/s; -2772.361op/s] or [-2.394%; -0.599%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+302.886ms; +304.265ms] or [+152.021%; +152.714%]
  • 🟥 throughput [-20986.238op/s; -19414.256op/s] or [-5.444%; -5.037%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+298.996ms; +300.829ms] or [+149.022%; +149.936%]
  • 🟩 throughput [+50458.787op/s; +56501.078op/s] or [+10.019%; +11.219%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+299.975ms; +302.877ms] or [+149.235%; +150.679%]
  • ignore throughput [-18158.008op/s; -12937.054op/s] or [-4.298%; -3.062%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1082.198µs; -346.248µs] or [-0.538%; -0.172%]
  • ignore throughput [-8473.268op/s; -7410.913op/s] or [-3.407%; -2.980%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-16.335ms; -12.682ms] or [-7.596%; -5.897%]
  • 🟩 throughput [+26136.820op/s; +32778.914op/s] or [+7.170%; +8.992%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.299ms; +3.632ms] or [-0.150%; +1.822%]
  • ignore throughput [+7164.383op/s; +12926.859op/s] or [+2.615%; +4.719%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • unstable execution_time [+13.124µs; +54.219µs] or [+3.242%; +13.392%]
  • ignore throughput [-281.446op/s; -75.446op/s] or [-11.326%; -3.036%]

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

  • 🟩 allocated_mem [-25.886KB; -25.866KB] or [-9.443%; -9.435%]
  • unstable execution_time [-50.280µs; +1.067µs] or [-9.938%; +0.211%]
  • ignore throughput [+4.270op/s; +183.774op/s] or [+0.213%; +9.170%]

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

  • 🟩 allocated_mem [-19.745KB; -19.729KB] or [-7.198%; -7.192%]
  • ignore execution_time [-70.058µs; -13.545µs] or [-12.141%; -2.347%]
  • ignore throughput [+60.746op/s; +215.710op/s] or [+3.470%; +12.324%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-132.434ns; +1403.101ns] or [-0.229%; +2.431%]
  • ignore throughput [-383.369op/s; +46.068op/s] or [-2.212%; +0.266%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • 🟥 execution_time [+6.841µs; +10.926µs] or [+16.170%; +25.825%]
  • 🟥 throughput [-4905.451op/s; -3131.118op/s] or [-20.650%; -13.181%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-54.755µs; +130.897µs] or [-84.950%; +203.082%]
  • unstable throughput [+1149.912op/s; +2849.388op/s] or [+7.055%; +17.482%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.084%; +0.094%]
  • 🟥 execution_time [+302.585ms; +303.626ms] or [+152.943%; +153.469%]
  • ignore throughput [-114.204op/s; -93.636op/s] or [-1.908%; -1.565%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+302.120ms; +304.420ms] or [+153.778%; +154.949%]
  • ignore throughput [-134.903op/s; -57.459op/s] or [-1.673%; -0.713%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+298.888ms; +301.235ms] or [+149.630%; +150.805%]
  • ignore throughput [-162.337op/s; -99.079op/s] or [-2.068%; -1.262%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-638.099µs; +12.969µs] or [-0.318%; +0.006%]
  • ignore throughput [-8205.002op/s; -6498.725op/s] or [-2.271%; -1.799%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [+339.684µs; +1168.524µs] or [+0.170%; +0.584%]
  • 🟩 throughput [+38433.979op/s; +43401.478op/s] or [+7.275%; +8.215%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.260ms; +4.933ms] or [+0.639%; +2.501%]
  • ignore throughput [-1991.284op/s; +6430.006op/s] or [-0.471%; +1.522%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+301.271ms; +302.984ms] or [+150.157%; +151.010%]
  • ignore throughput [-5713.654op/s; -4136.180op/s] or [-3.773%; -2.731%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+301.742ms; +303.192ms] or [+151.521%; +152.249%]
  • ignore throughput [+4927.671op/s; +6756.844op/s] or [+2.143%; +2.938%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+305.003ms; +307.629ms] or [+154.678%; +156.010%]
  • ignore throughput [+2541.035op/s; +4656.451op/s] or [+1.431%; +2.623%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+300.133ms; +300.750ms] or [+149.708%; +150.016%]
  • 🟩 throughput [+66031280.366op/s; +66288368.797op/s] or [+48.088%; +48.275%]

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

  • ignore allocated_mem [+88 bytes; +90 bytes] or [+0.518%; +0.528%]
  • unstable execution_time [+352.272ms; +394.208ms] or [+438.112%; +490.267%]
  • 🟩 throughput [+931.283op/s; +1096.417op/s] or [+7.199%; +8.476%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.638ms; +300.553ms] or [+149.453%; +149.909%]
  • 🟩 throughput [+18152913.634op/s; +19096319.242op/s] or [+8.041%; +8.458%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+80.797µs; +454.234µs] or [+0.040%; +0.227%]
  • ignore throughput [-1952.753op/s; +431.359op/s] or [-0.218%; +0.048%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-5.347ms; -4.076ms] or [-2.619%; -1.996%]
  • 🟩 throughput [+97130.851op/s; +104669.647op/s] or [+9.069%; +9.773%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [+0.442ms; +4.525ms] or [+0.223%; +2.290%]
  • 🟩 throughput [+58069.105op/s; +77312.337op/s] or [+6.721%; +8.949%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+444.020µs; +1016.146µs] or [+0.222%; +0.508%]
  • ignore throughput [-17248.729op/s; -11474.628op/s] or [-1.579%; -1.050%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.189ms; +10.277ms] or [+3.225%; +5.354%]
  • 🟩 throughput [+93370.407op/s; +123811.513op/s] or [+7.227%; +9.583%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-4.570ms; -3.051ms] or [-2.245%; -1.499%]
  • 🟩 throughput [+84666.554op/s; +94190.434op/s] or [+8.409%; +9.355%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1228.431µs; +4.984µs] or [-0.611%; +0.002%]
  • ignore throughput [+14238.695op/s; +17122.986op/s] or [+3.172%; +3.815%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-1467.540µs; +57.026µs] or [-0.733%; +0.028%]
  • 🟩 throughput [+61832.870op/s; +66414.253op/s] or [+11.228%; +12.060%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [+0.740ms; +4.843ms] or [+0.372%; +2.433%]
  • 🟩 throughput [+26504.181op/s; +36308.523op/s] or [+5.933%; +8.127%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-1489.664µs; -434.352µs] or [-0.742%; -0.216%]
  • ignore throughput [-25931.093op/s; -19230.048op/s] or [-3.795%; -2.814%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-0.245ms; +3.279ms] or [-0.123%; +1.640%]
  • 🟩 throughput [+61064.953op/s; +78405.575op/s] or [+6.822%; +8.760%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.260ms; +5.151ms] or [+0.640%; +2.616%]
  • ignore throughput [+33359.698op/s; +48574.242op/s] or [+4.658%; +6.782%]

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

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8483) 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.87 ± (73.90 - 74.44) ms72.09 ± (72.11 - 72.43) ms-2.4%
.NET Framework 4.8 - Bailout
duration76.89 ± (76.76 - 77.13) ms76.45 ± (76.40 - 76.75) ms-0.6%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1075.44 ± (1078.63 - 1087.68) ms1075.67 ± (1076.76 - 1083.17) ms+0.0%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.59 ± (22.54 - 22.65) ms22.46 ± (22.42 - 22.50) ms-0.6%
process.time_to_main_ms85.47 ± (85.22 - 85.71) ms84.42 ± (84.24 - 84.61) ms-1.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.90 - 10.91) MB10.93 ± (10.92 - 10.93) MB+0.2%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.37 ± (22.33 - 22.41) ms22.65 ± (22.60 - 22.70) ms+1.2%✅⬆️
process.time_to_main_ms85.70 ± (85.48 - 85.92) ms87.39 ± (87.13 - 87.65) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.88 - 10.89) MB10.96 ± (10.95 - 10.96) MB+0.6%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms231.27 ± (230.05 - 232.49) ms228.81 ± (227.74 - 229.88) ms-1.1%
process.time_to_main_ms527.50 ± (526.22 - 528.79) ms527.65 ± (526.19 - 529.11) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.43 ± (48.39 - 48.46) MB48.46 ± (48.43 - 48.48) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.06 ± (21.02 - 21.09) ms21.59 ± (21.53 - 21.64) ms+2.5%✅⬆️
process.time_to_main_ms72.58 ± (72.39 - 72.77) ms76.19 ± (75.91 - 76.46) ms+5.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.60 - 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.35 ± (21.30 - 21.40) ms21.16 ± (21.12 - 21.19) ms-0.9%
process.time_to_main_ms75.92 ± (75.65 - 76.18) ms74.83 ± (74.65 - 75.00) ms-1.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.67 ± (10.67 - 10.68) MB10.75 ± (10.75 - 10.75) MB+0.7%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms383.00 ± (380.77 - 385.24) ms385.49 ± (383.62 - 387.36) ms+0.6%✅⬆️
process.time_to_main_ms527.22 ± (525.91 - 528.53) ms530.40 ± (529.04 - 531.75) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.05 ± (50.02 - 50.07) MB50.10 ± (50.07 - 50.13) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.36 ± (19.33 - 19.40) ms19.36 ± (19.33 - 19.39) ms-0.0%
process.time_to_main_ms72.40 ± (72.23 - 72.56) ms72.33 ± (72.17 - 72.49) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.68) MB7.67 ± (7.66 - 7.67) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.34 ± (19.31 - 19.38) ms19.33 ± (19.30 - 19.36) ms-0.1%
process.time_to_main_ms73.73 ± (73.54 - 73.91) ms73.14 ± (73.02 - 73.27) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.72 - 7.73) MB7.73 ± (7.72 - 7.74) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms300.57 ± (298.25 - 302.89) ms304.70 ± (302.54 - 306.86) ms+1.4%✅⬆️
process.time_to_main_ms493.24 ± (492.26 - 494.22) ms493.24 ± (492.01 - 494.47) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.06 ± (37.04 - 37.09) MB37.08 ± (37.06 - 37.10) MB+0.0%✅⬆️
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
duration190.57 ± (190.55 - 191.42) ms199.81 ± (199.77 - 200.82) ms+4.9%✅⬆️
.NET Framework 4.8 - Bailout
duration194.38 ± (194.27 - 194.71) ms202.42 ± (202.27 - 203.00) ms+4.1%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1146.49 ± (1150.44 - 1159.08) ms1183.83 ± (1184.19 - 1190.65) ms+3.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms184.99 ± (184.72 - 185.26) ms193.41 ± (193.01 - 193.80) ms+4.5%✅⬆️
process.time_to_main_ms80.38 ± (80.18 - 80.58) ms84.03 ± (83.71 - 84.35) ms+4.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.09 ± (16.07 - 16.12) MB15.99 ± (15.97 - 16.01) MB-0.6%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms184.03 ± (183.80 - 184.27) ms193.62 ± (193.14 - 194.10) ms+5.2%✅⬆️
process.time_to_main_ms81.46 ± (81.36 - 81.55) ms85.25 ± (85.06 - 85.45) ms+4.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.27 ± (16.24 - 16.31) MB16.09 ± (16.06 - 16.11) MB-1.1%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.1%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms391.66 ± (390.28 - 393.04) ms404.50 ± (403.30 - 405.70) ms+3.3%✅⬆️
process.time_to_main_ms505.30 ± (504.13 - 506.47) ms525.07 ± (523.81 - 526.33) ms+3.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.59 ± (58.36 - 58.82) MB59.27 ± (59.22 - 59.32) MB+1.2%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (30 - 30)+0.2%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms189.61 ± (189.38 - 189.83) ms198.97 ± (198.49 - 199.45) ms+4.9%✅⬆️
process.time_to_main_ms70.21 ± (70.03 - 70.40) ms73.38 ± (73.14 - 73.62) ms+4.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.09 ± (15.94 - 16.24) MB16.36 ± (16.34 - 16.39) MB+1.7%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (19 - 19)+4.9%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms188.68 ± (188.51 - 188.86) ms197.87 ± (197.47 - 198.28) ms+4.9%✅⬆️
process.time_to_main_ms70.84 ± (70.73 - 70.96) ms73.75 ± (73.58 - 73.91) ms+4.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.17 ± (16.04 - 16.31) MB16.36 ± (16.33 - 16.38) MB+1.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+5.4%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms594.90 ± (591.78 - 598.03) ms598.87 ± (596.38 - 601.35) ms+0.7%✅⬆️
process.time_to_main_ms507.95 ± (507.20 - 508.69) ms528.07 ± (526.96 - 529.18) ms+4.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.51 ± (61.41 - 61.61) MB61.87 ± (61.78 - 61.96) MB+0.6%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.4%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms186.36 ± (186.13 - 186.58) ms197.93 ± (197.53 - 198.33) ms+6.2%✅⬆️
process.time_to_main_ms68.97 ± (68.81 - 69.13) ms72.76 ± (72.51 - 73.02) ms+5.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.77 ± (11.73 - 11.82) MB11.70 ± (11.68 - 11.72) MB-0.7%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+1.4%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms185.61 ± (185.40 - 185.82) ms195.81 ± (195.41 - 196.21) ms+5.5%✅⬆️
process.time_to_main_ms69.97 ± (69.91 - 70.03) ms73.38 ± (73.20 - 73.56) ms+4.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.49 ± (11.37 - 11.60) MB11.77 ± (11.75 - 11.79) MB+2.5%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 19)19 ± (19 - 19)+4.7%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms517.81 ± (515.48 - 520.15) ms524.31 ± (520.66 - 527.97) ms+1.3%✅⬆️
process.time_to_main_ms465.47 ± (464.84 - 466.10) ms491.18 ± (490.13 - 492.22) ms+5.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.73 ± (50.71 - 50.76) MB50.68 ± (50.64 - 50.73) 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 (8483) - mean (72ms)  : 70, 75
    master - mean (74ms)  : 70, 78

    section Bailout
    This PR (8483) - mean (77ms)  : 75, 79
    master - mean (77ms)  : 75, 79

    section CallTarget+Inlining+NGEN
    This PR (8483) - mean (1,080ms)  : 1034, 1126
    master - mean (1,083ms)  : 1014, 1152

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 (8483) - mean (114ms)  : 111, 117
    master - mean (115ms)  : 111, 119

    section Bailout
    This PR (8483) - mean (117ms)  : 111, 123
    master - mean (115ms)  : 112, 118

    section CallTarget+Inlining+NGEN
    This PR (8483) - mean (794ms)  : 768, 819
    master - mean (794ms)  : 771, 817

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

    section Bailout
    This PR (8483) - mean (102ms)  : 99, 106
    master - mean (104ms)  : 99, 108

    section CallTarget+Inlining+NGEN
    This PR (8483) - mean (943ms)  : 914, 971
    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 (8483) - mean (99ms)  : 96, 103
    master - mean (99ms)  : 96, 102

    section Bailout
    This PR (8483) - mean (100ms)  : 98, 102
    master - mean (101ms)  : 97, 105

    section CallTarget+Inlining+NGEN
    This PR (8483) - mean (829ms)  : 790, 868
    master - mean (824ms)  : 786, 861

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 (8483) - mean (200ms)  : 193, 207
    master - mean (191ms)  : 187, 195

    section Bailout
    This PR (8483) - mean (203ms)  : 199, 206
    master - mean (194ms)  : 192, 197

    section CallTarget+Inlining+NGEN
    This PR (8483) - mean (1,187ms)  : 1141, 1234
    master - mean (1,155ms)  : 1092, 1218

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 (8483) - mean (287ms)  : 280, 293
    master - mean (274ms)  : 270, 278

    section Bailout
    This PR (8483) - mean (288ms)  : 280, 296
    master - mean (274ms)  : 271, 276

    section CallTarget+Inlining+NGEN
    This PR (8483) - mean (958ms)  : 928, 989
    master - mean (926ms)  : 905, 947

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8483) - mean (281ms)  : 275, 288
    master - mean (268ms)  : 264, 272

    section Bailout
    This PR (8483) - mean (280ms)  : 274, 286
    master - mean (268ms)  : 265, 271

    section CallTarget+Inlining+NGEN
    This PR (8483) - mean (1,156ms)  : 1120, 1192
    master - mean (1,133ms)  : 1089, 1177

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8483) - mean (281ms)  : 274, 288
    master - mean (265ms)  : 262, 269

    section Bailout
    This PR (8483) - mean (280ms)  : crit, 274, 285
    master - mean (265ms)  : 262, 268

    section CallTarget+Inlining+NGEN
    This PR (8483) - mean (1,051ms)  : 979, 1123
    master - mean (1,018ms)  : 979, 1057

Loading

@faydef faydef added the area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc label Apr 20, 2026
@andrewlock andrewlock merged commit b821c57 into master Apr 21, 2026
72 of 76 checks passed
@andrewlock andrewlock deleted the fayssal/fix-reporting branch April 21, 2026 09:07
@github-actions github-actions Bot added this to the vNext-v3 milestone Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants