Skip to content

Cleanup and fix the GeneratePackageVersions#8478

Draft
bouwkast wants to merge 1 commit intomasterfrom
steven/cooldown-fix
Draft

Cleanup and fix the GeneratePackageVersions#8478
bouwkast wants to merge 1 commit intomasterfrom
steven/cooldown-fix

Conversation

@bouwkast
Copy link
Copy Markdown
Collaborator

@bouwkast bouwkast commented Apr 17, 2026

Summary of changes

This goes back through the recent changes (#8371 and #8340) to GeneratePackageVersions and attempts to do a few things / fixes

Reason for change

While working on (#8128) I started running into several issues with GeneratePackageVersions namely that I couldn't get IncludePackages to work and then I started fighting issues with the nuget_cache as well when attempting to add a new integration.

This sets out to do a few things:

  • Simplify the logic for NuGet cooldown (automated dependency updates must adhere to our current cooldown policy for potential supply chain attacks)
  • Remove the nuget_cache - this was added so that we wouldn't go and query NuGet info for packages not listed in the IncludePackages
  • Change the "verbage" of the cooldown/baseline to be easier to read / follow
  • Do NOT read / rely upon supported_versions (this is what I previously used to determine what the highest version was currently allowed) - this file is planned to be changed/modified by another team in the near future hence why we shouldn't use it.
  • I didn't account for different timezones in the publish state of the nuget_cache before so if someone ran it depending on their locale it would change.

Implementation details

  • New CooldownMode enum: Normal, BypassCooldown, Freeze
    • Normal drops recent versions that are above the previous max
    • BypassCooldown accepts all in-range versions (no cooldown) (when IncludePackages is used is an example)
    • Freeze re-emits the previous run's output verbatim
  • XUnitFileGenerator.LoadExistingVersions reads the previous .g.cs and returns Dictionary<IntegrationName, List<(Framework, Versions)>>. PackageGroup loads this once and exposes TryGetFrozenVersions
    • I think we should probably still try and do something different here but this seems a bit more reasonable
  • Deleted nuget_version_cache.json and NuGetVersionCache.cs
    • No longer used/needed
  • Some readability improvements
    • IsWithinCooldownWasPublishedTooRecently
    • baselinepreviousMaxVersions
    • ApplyCooldown now uses two named local booleans (publishedTooRecently, atOrBelowPreviousMax) so the drop condition reads positively: "drop the version if it was published too recently and we haven't already shipped against it."

Test coverage

I ran it locally for a handful of cases I think it is better.

Other details

I have ran through several instances with this and it seems to be good, basically default runs, runs with configurable cooldowns, runs with IncludePackages and runs with ExcludePackages. All appeared as expected to me.

@bouwkast bouwkast added the AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos label Apr 17, 2026
@github-actions github-actions bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Apr 17, 2026
@bouwkast
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Apr 17, 2026

Benchmarks

Benchmark execution time: 2026-04-17 17:15:08

Comparing candidate commit d41ac11 in PR branch steven/cooldown-fix with baseline commit 0f665fe 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 [-4814.913op/s; -4434.991op/s] or [-5.497%; -5.063%]

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

  • 🟩 throughput [+8665.359op/s; +9774.278op/s] or [+5.887%; +6.640%]

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 [-1320.365µs; -380.428µs] or [-0.656%; -0.189%]
  • ignore throughput [+827.151op/s; +1231.345op/s] or [+0.981%; +1.460%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1.881ms; +4.774ms] or [-0.938%; +2.382%]
  • ignore throughput [+5809.482op/s; +9007.218op/s] or [+4.883%; +7.571%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [+0.931ms; +3.174ms] or [+0.468%; +1.596%]
  • ignore throughput [-1134.943op/s; +87.249op/s] or [-1.154%; +0.089%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [-20 bytes; -19 bytes] or [-0.613%; -0.600%]
  • 🟥 execution_time [+305.433ms; +310.181ms] or [+151.567%; +153.923%]
  • ignore throughput [+17.172op/s; +20.942op/s] or [+3.090%; +3.768%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+381.637ms; +384.276ms] or [+301.516%; +303.601%]
  • ignore throughput [+15.744op/s; +18.500op/s] or [+2.076%; +2.439%]

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

  • ignore allocated_mem [+1 bytes; +2 bytes] or [+0.065%; +0.075%]
  • 🟥 execution_time [+393.438ms; +396.953ms] or [+348.178%; +351.288%]
  • ignore throughput [-4.633op/s; -0.852op/s] or [-0.654%; -0.120%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [-72.493µs; +546.205µs] or [-0.036%; +0.273%]
  • ignore throughput [-4216.586op/s; -3838.895op/s] or [-3.281%; -2.987%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • ignore execution_time [-15.768ms; -8.415ms] or [-7.364%; -3.930%]
  • ignore throughput [+2937.495op/s; +6662.550op/s] or [+2.144%; +4.863%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-12.294ms; -8.154ms] or [-5.854%; -3.883%]
  • ignore throughput [-596.582op/s; +1731.092op/s] or [-0.539%; +1.565%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-618.786µs; -11.198µs] or [-0.308%; -0.006%]
  • 🟥 throughput [-233095.286op/s; -230330.316op/s] or [-23.800%; -23.518%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-25.429ms; -20.452ms] or [-11.340%; -9.121%]
  • ignore throughput [-60978.705op/s; -37842.003op/s] or [-6.514%; -4.043%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-3.215ms; +1.135ms] or [-1.605%; +0.566%]
  • 🟥 throughput [-149035.229op/s; -132807.261op/s] or [-21.413%; -19.082%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-720.174µs; +323.301µs] or [-0.359%; +0.161%]
  • ignore throughput [-1857.221op/s; -1062.180op/s] or [-1.250%; -0.715%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-1.590ms; +7.513ms] or [-0.802%; +3.790%]
  • 🟩 throughput [+9471.429op/s; +14002.796op/s] or [+6.027%; +8.910%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+1.632ms; +5.632ms] or [+0.832%; +2.871%]
  • 🟩 throughput [+8176.238op/s; +10811.774op/s] or [+6.513%; +8.613%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-93.561µs; +213.593µs] or [-0.047%; +0.107%]
  • ignore throughput [+7427.813op/s; +49915.623op/s] or [+0.226%; +1.519%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.243ms; -0.155ms] or [-1.109%; -0.077%]
  • 🟩 throughput [+440326.048op/s; +470758.295op/s] or [+14.682%; +15.697%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-19.044ms; -14.681ms] or [-8.779%; -6.767%]
  • 🟩 throughput [+208151.374op/s; +262227.780op/s] or [+8.262%; +10.409%]

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

  • ignore allocated_mem [+1 bytes; +4 bytes] or [+0.004%; +0.012%]
  • 🟥 execution_time [+299.597ms; +300.218ms] or [+149.698%; +150.009%]
  • ignore throughput [+159.278op/s; +182.658op/s] or [+1.759%; +2.017%]

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.742ms] or [+151.560%; +153.178%]
  • ignore throughput [+357.479op/s; +568.374op/s] or [+2.734%; +4.347%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.599ms; +302.176ms] or [+150.915%; +152.213%]
  • ignore throughput [-104.222op/s; +27.702op/s] or [-1.006%; +0.267%]

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

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.186%; +0.199%]
  • 🟥 execution_time [+296.280ms; +297.138ms] or [+145.521%; +145.942%]
  • ignore throughput [+6.643op/s; +15.816op/s] or [+0.176%; +0.419%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+295.913ms; +298.425ms] or [+144.661%; +145.889%]
  • ignore throughput [+192.146op/s; +221.241op/s] or [+2.792%; +3.214%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+301.063ms; +302.211ms] or [+150.471%; +151.045%]
  • ignore throughput [+0.308op/s; +33.200op/s] or [+0.006%; +0.659%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+4.326µs; +8.232µs] or [+0.888%; +1.690%]
  • ignore throughput [-33.818op/s; -17.807op/s] or [-1.647%; -0.867%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+18.716µs; +45.420µs] or [+4.292%; +10.417%]
  • ignore throughput [-223.251op/s; -103.097op/s] or [-9.706%; -4.482%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+7.004µs; +28.954µs] or [+1.501%; +6.203%]
  • ignore throughput [-143.396op/s; -62.690op/s] or [-6.619%; -2.894%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-4.927µs; -0.785µs] or [-1.330%; -0.212%]
  • ignore throughput [+6.674op/s; +36.459op/s] or [+0.247%; +1.350%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+21.330µs; +44.925µs] or [+6.810%; +14.342%]
  • 🟥 throughput [-419.462op/s; -220.898op/s] or [-13.076%; -6.886%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-15.659µs; +6.711µs] or [-4.284%; +1.836%]
  • ignore throughput [-83.461op/s; +50.025op/s] or [-2.995%; +1.795%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.720ms; +300.420ms] or [+149.591%; +149.940%]
  • ignore throughput [+3458785.144op/s; +4028965.464op/s] or [+1.733%; +2.018%]

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

  • ignore allocated_mem [+80 bytes; +82 bytes] or [+0.446%; +0.457%]
  • unstable execution_time [+373.544ms; +404.179ms] or [+405.871%; +439.157%]
  • 🟩 throughput [+993.929op/s; +1132.112op/s] or [+8.167%; +9.303%]

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

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+304.073ms; +341.347ms] or [+230.879%; +259.182%]
  • 🟩 throughput [+655.756op/s; +856.280op/s] or [+6.348%; +8.289%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.793KB; +2.798KB] or [+4.962%; +4.970%]
  • unstable execution_time [+326.354ms; +387.487ms] or [+150.055%; +178.163%]
  • 🟥 throughput [-462.650op/s; -410.881op/s] or [-41.921%; -37.230%]

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

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+203.616ms; +336.841ms] or [+86.773%; +143.547%]
  • 🟥 throughput [-742.351op/s; -658.924op/s] or [-49.515%; -43.950%]

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

  • ignore allocated_mem [+1.774KB; +1.778KB] or [+4.190%; +4.197%]
  • 🟥 execution_time [+342.041ms; +348.917ms] or [+204.580%; +208.693%]
  • 🟥 throughput [-394.851op/s; -360.039op/s] or [-27.493%; -25.069%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-40.941µs; -15.940µs] or [-2.060%; -0.802%]
  • ignore throughput [+4.589op/s; +11.064op/s] or [+0.912%; +2.199%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+6.930µs; +26.873µs] or [+0.476%; +1.846%]
  • ignore throughput [-11.594op/s; -2.744op/s] or [-1.688%; -0.399%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-148.467µs; -100.987µs] or [-5.165%; -3.513%]
  • ignore throughput [+11.856op/s; +21.903op/s] or [+3.408%; +6.296%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+4.875µs; +13.162µs] or [+0.421%; +1.137%]
  • ignore throughput [-9.462op/s; -3.424op/s] or [-1.096%; -0.396%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-48.450µs; -26.789µs] or [-4.493%; -2.485%]
  • ignore throughput [+24.918op/s; +48.072op/s] or [+2.687%; +5.183%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-173.546µs; -36.196µs] or [-9.297%; -1.939%]
  • unstable throughput [+31.631op/s; +119.161op/s] or [+5.904%; +22.242%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+17.362µs; +35.105µs] or [+0.678%; +1.371%]
  • ignore throughput [-5.165op/s; -2.535op/s] or [-1.322%; -0.649%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • 🟩 execution_time [-194.862µs; -154.059µs] or [-9.871%; -7.804%]
  • 🟩 throughput [+45.239op/s; +56.146op/s] or [+8.930%; +11.084%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-126.694µs; -83.832µs] or [-3.213%; -2.126%]
  • ignore throughput [+5.781op/s; +8.518op/s] or [+2.280%; +3.359%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+304.665ms; +305.802ms] or [+153.423%; +153.996%]
  • ignore throughput [-1942.940op/s; -399.054op/s] or [-0.625%; -0.128%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.416ms; +304.371ms] or [+151.541%; +152.521%]
  • ignore throughput [+20864.142op/s; +25128.942op/s] or [+3.289%; +3.962%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+300.904ms; +304.391ms] or [+151.161%; +152.913%]
  • ignore throughput [+18330.479op/s; +27449.075op/s] or [+3.861%; +5.782%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+302.011ms; +304.032ms] or [+151.660%; +152.675%]
  • ignore throughput [+10571.859op/s; +12702.417op/s] or [+3.542%; +4.256%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+299.803ms; +301.986ms] or [+148.239%; +149.319%]
  • ignore throughput [-128.641op/s; +7679.237op/s] or [-0.021%; +1.237%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.042ms; +305.881ms] or [+153.088%; +155.034%]
  • ignore throughput [+280.951op/s; +8685.277op/s] or [+0.061%; +1.876%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+301.584ms; +302.793ms] or [+151.368%; +151.975%]
  • ignore throughput [-19925.263op/s; -18236.139op/s] or [-5.169%; -4.731%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+299.917ms; +301.984ms] or [+149.481%; +150.511%]
  • 🟩 throughput [+62769.088op/s; +68155.655op/s] or [+12.464%; +13.534%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.629ms; +303.416ms] or [+149.560%; +150.947%]
  • ignore throughput [-11580.436op/s; -6686.260op/s] or [-2.741%; -1.583%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-533.095µs; +398.583µs] or [-0.265%; +0.198%]
  • ignore throughput [-10616.767op/s; -8136.756op/s] or [-4.269%; -3.272%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-16.565ms; -12.896ms] or [-7.703%; -5.997%]
  • 🟩 throughput [+26086.920op/s; +32965.437op/s] or [+7.156%; +9.043%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.816ms; +3.121ms] or [-0.409%; +1.565%]
  • ignore throughput [+7584.059op/s; +13323.956op/s] or [+2.768%; +4.864%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • unstable execution_time [+8.770µs; +49.980µs] or [+2.166%; +12.345%]
  • ignore throughput [-258.179op/s; -51.446op/s] or [-10.389%; -2.070%]

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

  • 🟩 allocated_mem [-20.475KB; -20.454KB] or [-7.469%; -7.461%]
  • unstable execution_time [-41.644µs; +9.815µs] or [-8.231%; +1.940%]
  • ignore throughput [-32.711op/s; +146.417op/s] or [-1.632%; +7.306%]

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

  • ignore allocated_mem [+2.644KB; +2.660KB] or [+0.964%; +0.970%]
  • ignore execution_time [-45.816µs; +10.479µs] or [-7.940%; +1.816%]
  • ignore throughput [-21.378op/s; +130.750op/s] or [-1.221%; +7.470%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-120.976ns; +1357.643ns] or [-0.210%; +2.352%]
  • ignore throughput [-376.806op/s; +40.089op/s] or [-2.174%; +0.231%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • 🟥 execution_time [+5.697µs; +9.762µs] or [+13.466%; +23.074%]
  • 🟥 throughput [-4455.645op/s; -2691.040op/s] or [-18.757%; -11.328%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-13.294µs; -5.914µs] or [-20.625%; -9.176%]
  • 🟩 throughput [+1526.001op/s; +3090.336op/s] or [+9.363%; +18.960%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+1 bytes; +2 bytes] or [+0.039%; +0.050%]
  • 🟥 execution_time [+303.054ms; +304.774ms] or [+153.180%; +154.050%]
  • ignore throughput [-121.502op/s; -94.702op/s] or [-2.030%; -1.582%]

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

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+300.839ms; +303.274ms] or [+153.126%; +154.365%]
  • ignore throughput [-96.691op/s; -20.543op/s] or [-1.199%; -0.255%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+299.982ms; +301.967ms] or [+150.178%; +151.172%]
  • ignore throughput [-114.201op/s; -50.797op/s] or [-1.455%; -0.647%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-706.422µs; -226.606µs] or [-0.352%; -0.113%]
  • ignore throughput [-16660.093op/s; -15285.112op/s] or [-4.612%; -4.231%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-1070.232µs; -120.026µs] or [-0.535%; -0.060%]
  • 🟩 throughput [+37660.102op/s; +41293.880op/s] or [+7.128%; +7.816%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.807ms; +5.483ms] or [+0.916%; +2.779%]
  • ignore throughput [+257.164op/s; +8562.246op/s] or [+0.061%; +2.026%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+299.822ms; +301.500ms] or [+149.434%; +150.270%]
  • ignore throughput [-2004.427op/s; -981.405op/s] or [-1.324%; -0.648%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+301.299ms; +302.524ms] or [+151.298%; +151.913%]
  • ignore throughput [+5662.233op/s; +7661.076op/s] or [+2.462%; +3.332%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+303.084ms; +306.060ms] or [+153.705%; +155.214%]
  • ignore throughput [+1814.718op/s; +3884.705op/s] or [+1.022%; +2.188%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+300.019ms; +300.788ms] or [+149.651%; +150.035%]
  • 🟩 throughput [+66131979.374op/s; +66400112.416op/s] or [+48.161%; +48.357%]

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

  • ignore allocated_mem [+111 bytes; +113 bytes] or [+0.651%; +0.661%]
  • unstable execution_time [+381.482ms; +412.823ms] or [+474.441%; +513.419%]
  • 🟩 throughput [+991.129op/s; +1176.023op/s] or [+7.662%; +9.091%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+298.983ms; +299.934ms] or [+149.126%; +149.600%]
  • 🟩 throughput [+18131775.445op/s; +19071297.314op/s] or [+8.031%; +8.447%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-18.250µs; +448.833µs] or [-0.009%; +0.224%]
  • ignore throughput [-5873.354op/s; -2636.376op/s] or [-0.655%; -0.294%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-4.511ms; -3.391ms] or [-2.209%; -1.661%]
  • 🟩 throughput [+85661.456op/s; +94971.038op/s] or [+7.998%; +8.867%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [+2.111ms; +6.187ms] or [+1.068%; +3.131%]
  • 🟩 throughput [+62689.902op/s; +81676.351op/s] or [+7.256%; +9.454%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+528.824µs; +1060.265µs] or [+0.264%; +0.530%]
  • ignore throughput [-15961.679op/s; -11623.008op/s] or [-1.461%; -1.064%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.033ms; +10.130ms] or [+3.143%; +5.278%]
  • 🟩 throughput [+88732.138op/s; +118327.391op/s] or [+6.868%; +9.159%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-3.315ms; -1.913ms] or [-1.629%; -0.940%]
  • 🟩 throughput [+86880.481op/s; +94334.345op/s] or [+8.629%; +9.369%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1.688ms; -0.414ms] or [-0.840%; -0.206%]
  • ignore throughput [+11528.020op/s; +14441.120op/s] or [+2.568%; +3.218%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [+57.454µs; +1540.105µs] or [+0.029%; +0.769%]
  • 🟩 throughput [+44206.009op/s; +49922.431op/s] or [+8.027%; +9.065%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [+0.860ms; +4.983ms] or [+0.432%; +2.503%]
  • 🟩 throughput [+24821.621op/s; +34685.311op/s] or [+5.556%; +7.764%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-2.303ms; -1.276ms] or [-1.148%; -0.636%]
  • ignore throughput [-20182.503op/s; -16251.689op/s] or [-2.954%; -2.379%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1184.318µs; +2325.987µs] or [-0.592%; +1.163%]
  • 🟩 throughput [+50435.817op/s; +69346.824op/s] or [+5.635%; +7.748%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.251ms; +5.137ms] or [+0.635%; +2.609%]
  • ignore throughput [+30674.341op/s; +45634.984op/s] or [+4.283%; +6.372%]

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

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8478) 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
duration72.94 ± (73.04 - 73.43) ms74.41 ± (74.39 - 74.96) ms+2.0%✅⬆️
.NET Framework 4.8 - Bailout
duration76.82 ± (76.71 - 77.13) ms77.88 ± (77.91 - 78.39) ms+1.4%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1081.31 ± (1079.69 - 1086.70) ms1072.54 ± (1073.65 - 1080.95) ms-0.8%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.33 ± (22.29 - 22.37) ms22.85 ± (22.78 - 22.92) ms+2.3%✅⬆️
process.time_to_main_ms83.45 ± (83.27 - 83.62) ms87.25 ± (86.92 - 87.57) ms+4.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.86 ± (10.86 - 10.87) MB10.91 ± (10.90 - 10.91) MB+0.4%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.33 ± (22.28 - 22.37) ms22.50 ± (22.47 - 22.53) ms+0.8%✅⬆️
process.time_to_main_ms85.64 ± (85.37 - 85.92) ms86.33 ± (86.17 - 86.49) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.94) MB10.92 ± (10.92 - 10.93) MB-0.1%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms228.35 ± (227.20 - 229.50) ms227.95 ± (226.95 - 228.96) ms-0.2%
process.time_to_main_ms525.86 ± (524.68 - 527.03) ms528.17 ± (526.88 - 529.46) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.46 ± (48.43 - 48.50) MB48.45 ± (48.43 - 48.48) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.33 ± (21.27 - 21.38) ms21.52 ± (21.47 - 21.57) ms+0.9%✅⬆️
process.time_to_main_ms74.21 ± (73.90 - 74.53) ms74.48 ± (74.21 - 74.75) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.59 - 10.60) MB10.62 ± (10.61 - 10.62) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.98 ± (20.95 - 21.02) ms21.29 ± (21.25 - 21.34) ms+1.5%✅⬆️
process.time_to_main_ms74.03 ± (73.84 - 74.23) ms74.88 ± (74.65 - 75.12) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.72 - 10.72) MB10.74 ± (10.74 - 10.74) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms388.25 ± (386.33 - 390.17) ms384.36 ± (382.51 - 386.22) ms-1.0%
process.time_to_main_ms527.23 ± (525.90 - 528.56) ms530.43 ± (529.04 - 531.82) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.83 ± (49.80 - 49.86) MB49.99 ± (49.96 - 50.01) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.90 ± (19.85 - 19.96) ms19.50 ± (19.46 - 19.53) ms-2.0%
process.time_to_main_ms75.33 ± (75.02 - 75.63) ms72.55 ± (72.41 - 72.70) ms-3.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.65 ± (7.65 - 7.66) MB7.66 ± (7.65 - 7.66) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.78 ± (19.73 - 19.83) ms19.48 ± (19.44 - 19.52) ms-1.5%
process.time_to_main_ms75.14 ± (74.91 - 75.37) ms74.06 ± (73.91 - 74.21) ms-1.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.71) MB7.71 ± (7.71 - 7.71) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms306.66 ± (304.31 - 309.01) ms304.69 ± (302.19 - 307.19) ms-0.6%
process.time_to_main_ms491.12 ± (489.85 - 492.39) ms491.00 ± (489.79 - 492.21) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.06 ± (37.04 - 37.09) MB37.02 ± (36.99 - 37.04) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.4%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration211.61 ± (211.48 - 212.46) ms208.98 ± (209.02 - 209.95) ms-1.2%
.NET Framework 4.8 - Bailout
duration215.43 ± (215.02 - 215.68) ms213.34 ± (212.94 - 214.00) ms-1.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1233.66 ± (1231.62 - 1238.37) ms1226.44 ± (1225.36 - 1234.16) ms-0.6%
.NET Core 3.1 - Baseline
process.internal_duration_ms205.91 ± (205.42 - 206.39) ms203.36 ± (202.92 - 203.79) ms-1.2%
process.time_to_main_ms90.51 ± (90.17 - 90.84) ms89.47 ± (89.19 - 89.75) ms-1.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.96 ± (15.94 - 15.97) MB15.93 ± (15.91 - 15.94) MB-0.2%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+1.1%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms204.60 ± (204.21 - 204.98) ms203.23 ± (202.81 - 203.66) ms-0.7%
process.time_to_main_ms91.15 ± (90.94 - 91.36) ms90.32 ± (90.04 - 90.61) ms-0.9%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.93 ± (15.90 - 15.95) MB15.95 ± (15.93 - 15.97) MB+0.2%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.1%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms420.67 ± (419.32 - 422.02) ms419.74 ± (418.55 - 420.94) ms-0.2%
process.time_to_main_ms557.04 ± (555.94 - 558.13) ms553.02 ± (551.75 - 554.29) ms-0.7%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.33 ± (59.28 - 59.38) MB59.42 ± (59.40 - 59.45) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms212.09 ± (211.68 - 212.50) ms208.27 ± (207.82 - 208.71) ms-1.8%
process.time_to_main_ms78.64 ± (78.39 - 78.90) ms77.55 ± (77.31 - 77.79) ms-1.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.16 ± (16.14 - 16.19) MB16.26 ± (16.24 - 16.28) MB+0.6%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)19 ± (19 - 20)-0.3%
.NET 6 - Bailout
process.internal_duration_ms209.46 ± (209.04 - 209.88) ms207.67 ± (207.27 - 208.08) ms-0.9%
process.time_to_main_ms79.54 ± (79.32 - 79.75) ms78.66 ± (78.47 - 78.85) ms-1.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.25 ± (16.23 - 16.28) MB16.33 ± (16.30 - 16.36) MB+0.5%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)20 ± (20 - 21)-0.8%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms595.51 ± (592.80 - 598.21) ms602.34 ± (599.76 - 604.92) ms+1.1%✅⬆️
process.time_to_main_ms550.20 ± (548.76 - 551.65) ms545.99 ± (544.78 - 547.20) ms-0.8%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.45 ± (61.34 - 61.56) MB61.83 ± (61.75 - 61.92) MB+0.6%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.0%
.NET 8 - Baseline
process.internal_duration_ms207.41 ± (207.01 - 207.81) ms207.69 ± (207.25 - 208.14) ms+0.1%✅⬆️
process.time_to_main_ms76.79 ± (76.56 - 77.02) ms77.29 ± (77.03 - 77.55) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.54 ± (11.53 - 11.56) MB11.61 ± (11.59 - 11.64) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.3%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms208.37 ± (207.95 - 208.78) ms207.94 ± (207.51 - 208.36) ms-0.2%
process.time_to_main_ms78.68 ± (78.46 - 78.89) ms78.69 ± (78.45 - 78.93) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.58 ± (11.56 - 11.61) MB11.69 ± (11.67 - 11.71) MB+0.9%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.2%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms531.86 ± (526.31 - 537.40) ms545.04 ± (537.95 - 552.13) ms+2.5%✅⬆️
process.time_to_main_ms510.94 ± (510.02 - 511.87) ms508.53 ± (507.67 - 509.38) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.74 ± (50.67 - 50.80) MB50.87 ± (50.78 - 50.95) MB+0.3%✅⬆️
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 (8478) - mean (75ms)  : 70, 79
    master - mean (73ms)  : 70, 76

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

    section CallTarget+Inlining+NGEN
    This PR (8478) - mean (1,077ms)  : 1024, 1131
    master - mean (1,083ms)  : 1033, 1134

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 (8478) - mean (117ms)  : 112, 123
    master - mean (112ms)  : 109, 116

    section Bailout
    This PR (8478) - mean (116ms)  : 112, 120
    master - mean (115ms)  : 110, 120

    section CallTarget+Inlining+NGEN
    This PR (8478) - mean (795ms)  : 771, 819
    master - mean (793ms)  : 765, 821

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8478) - mean (102ms)  : 97, 108
    master - mean (102ms)  : 95, 109

    section Bailout
    This PR (8478) - mean (103ms)  : 97, 108
    master - mean (101ms)  : 98, 104

    section CallTarget+Inlining+NGEN
    This PR (8478) - mean (941ms)  : 910, 973
    master - mean (946ms)  : 907, 984

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

    section Bailout
    This PR (8478) - mean (101ms)  : 99, 104
    master - mean (103ms)  : 99, 107

    section CallTarget+Inlining+NGEN
    This PR (8478) - mean (827ms)  : 788, 866
    master - mean (829ms)  : 790, 868

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 (8478) - mean (209ms)  : 203, 216
    master - mean (212ms)  : 207, 217

    section Bailout
    This PR (8478) - mean (213ms)  : 207, 220
    master - mean (215ms)  : 212, 219

    section CallTarget+Inlining+NGEN
    This PR (8478) - mean (1,230ms)  : 1163, 1297
    master - mean (1,235ms)  : 1187, 1283

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 (8478) - mean (302ms)  : 294, 310
    master - mean (306ms)  : 296, 316

    section Bailout
    This PR (8478) - mean (303ms)  : 297, 309
    master - mean (305ms)  : 299, 311

    section CallTarget+Inlining+NGEN
    This PR (8478) - mean (1,015ms)  : 985, 1044
    master - mean (1,018ms)  : 990, 1045

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8478) - mean (295ms)  : 288, 302
    master - mean (300ms)  : 292, 308

    section Bailout
    This PR (8478) - mean (295ms)  : 290, 301
    master - mean (298ms)  : 291, 305

    section CallTarget+Inlining+NGEN
    This PR (8478) - mean (1,179ms)  : 1145, 1214
    master - mean (1,176ms)  : 1142, 1209

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

    section Bailout
    This PR (8478) - mean (297ms)  : 290, 304
    master - mean (297ms)  : 292, 303

    section CallTarget+Inlining+NGEN
    This PR (8478) - mean (1,087ms)  : 985, 1190
    master - mean (1,079ms)  : 992, 1166

Loading

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:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant