Skip to content

Update vendored System.Memory#8459

Open
andrewlock wants to merge 13 commits intoandrew/update-vendors-2from
andrew/update-vendors-3
Open

Update vendored System.Memory#8459
andrewlock wants to merge 13 commits intoandrew/update-vendors-2from
andrew/update-vendors-3

Conversation

@andrewlock
Copy link
Copy Markdown
Member

Summary of changes

  • Update the System.Memory based on NuGet package sources

Reason for change

We want to update our vendored .NET library versions.

Implementation details

  • Make the vendoring repeatable
  • Run the tool, check for errors, tweak, rinse and repeat
  • After running the tool, used 🤖 to identify segments of code that weren't used, so we could strip them out

The updated vendoring is based on the public System.Memory nuget package, so is designed to be used with .NET Framework and .NET Standard, so makes the most sense to use IMO.

As this package also uses System.Buffers and System.Numerics.Vectors, vendored those pieces we need where appropriate.

Test coverage

This is the test, if it compiles and tests pass, we should be ok 🤞

Other details

https://datadoghq.atlassian.net/browse/APMLP-1207

Note that currently, there's a lot of Utf8Formatter code that isn't used, and could be excluded, however, given that theoretically we could/should use this in the future. I'm torn whether to just leave it in, or whether to tear it out for now, and restore it if/when we want to use it later. Any thoughts?

Part of a stack updating our vendored system code

@andrewlock andrewlock added the area:vendors Code from other vendors label Apr 15, 2026
@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Apr 15, 2026

Benchmarks

Benchmark execution time: 2026-04-16 14:22:23

Comparing candidate commit 3b42dd4 in PR branch andrew/update-vendors-3 with baseline commit 5f3c2a8 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 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 ----------------------------------'

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 [-1.701ms; -0.713ms] or [-0.845%; -0.354%]
  • ignore throughput [-374.033op/s; +158.341op/s] or [-0.443%; +0.188%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1913.834µs; +1594.759µs] or [-0.955%; +0.796%]
  • 🟩 throughput [+9128.351op/s; +11464.339op/s] or [+7.673%; +9.636%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [+0.735ms; +3.037ms] or [+0.370%; +1.528%]
  • ignore throughput [+2424.065op/s; +3755.688op/s] or [+2.465%; +3.819%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [-20 bytes; -19 bytes] or [-0.613%; -0.600%]
  • 🟥 execution_time [+304.850ms; +307.087ms] or [+151.277%; +152.387%]
  • ignore throughput [+9.728op/s; +13.768op/s] or [+1.750%; +2.477%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+378.593ms; +381.176ms] or [+299.111%; +301.153%]
  • ignore throughput [+10.518op/s; +14.184op/s] or [+1.387%; +1.870%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+396.366ms; +399.851ms] or [+350.769%; +353.853%]
  • ignore throughput [-1.993op/s; +0.934op/s] or [-0.282%; +0.132%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [+224.379µs; +821.613µs] or [+0.112%; +0.410%]
  • ignore throughput [-4100.932op/s; -3713.970op/s] or [-3.191%; -2.890%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.283ms; -11.042ms] or [-7.138%; -5.157%]
  • ignore throughput [+3644.098op/s; +6474.741op/s] or [+2.660%; +4.726%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-10.286ms; -6.119ms] or [-4.898%; -2.914%]
  • ignore throughput [-1863.664op/s; +462.132op/s] or [-1.685%; +0.418%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-666.301µs; +171.162µs] or [-0.332%; +0.085%]
  • 🟥 throughput [-236396.397op/s; -232012.216op/s] or [-24.137%; -23.690%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-25.793ms; -20.921ms] or [-11.503%; -9.330%]
  • ignore throughput [-55731.255op/s; -33147.043op/s] or [-5.954%; -3.541%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-1.201ms; +7.551ms] or [-0.600%; +3.769%]
  • 🟥 throughput [-140741.924op/s; -121302.593op/s] or [-20.222%; -17.429%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-1221.672µs; -171.625µs] or [-0.609%; -0.086%]
  • ignore throughput [-685.107op/s; +114.964op/s] or [-0.461%; +0.077%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-1603.073µs; +1955.328µs] or [-0.809%; +0.987%]
  • 🟩 throughput [+10018.048op/s; +13101.252op/s] or [+6.374%; +8.336%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-10.920ms; -0.978ms] or [-5.568%; -0.498%]
  • 🟩 throughput [+7009.128op/s; +9647.514op/s] or [+5.584%; +7.685%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-307.802µs; -79.425µs] or [-0.154%; -0.040%]
  • ignore throughput [+56895.817op/s; +61194.568op/s] or [+1.731%; +1.862%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.891ms; -1.443ms] or [-1.429%; -0.713%]
  • 🟩 throughput [+348315.690op/s; +384781.819op/s] or [+11.614%; +12.830%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-18.991ms; -14.626ms] or [-8.754%; -6.742%]
  • 🟩 throughput [+179482.625op/s; +233147.157op/s] or [+7.124%; +9.254%]

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

  • ignore allocated_mem [+1 bytes; +4 bytes] or [+0.004%; +0.012%]
  • 🟥 execution_time [+300.305ms; +300.787ms] or [+150.052%; +150.293%]
  • ignore throughput [+174.899op/s; +207.428op/s] or [+1.932%; +2.291%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+296.115ms; +300.955ms] or [+149.331%; +151.772%]
  • ignore throughput [+279.223op/s; +494.683op/s] or [+2.136%; +3.784%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+301.155ms; +303.741ms] or [+151.698%; +153.001%]
  • ignore throughput [+81.527op/s; +212.248op/s] or [+0.787%; +2.049%]

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

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.186%; +0.199%]
  • 🟥 execution_time [+295.803ms; +296.885ms] or [+145.287%; +145.818%]
  • ignore throughput [-10.918op/s; +0.560op/s] or [-0.289%; +0.015%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+298.407ms; +300.437ms] or [+145.880%; +146.872%]
  • ignore throughput [+117.299op/s; +162.876op/s] or [+1.704%; +2.366%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+300.989ms; +302.562ms] or [+150.434%; +151.220%]
  • ignore throughput [+20.840op/s; +42.242op/s] or [+0.414%; +0.838%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+11.324µs; +15.388µs] or [+2.325%; +3.159%]
  • ignore throughput [-62.646op/s; -46.214op/s] or [-3.051%; -2.251%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+15.671µs; +42.404µs] or [+3.594%; +9.725%]
  • ignore throughput [-209.296op/s; -89.006op/s] or [-9.099%; -3.870%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+8.003µs; +30.045µs] or [+1.715%; +6.437%]
  • ignore throughput [-147.821op/s; -66.711op/s] or [-6.824%; -3.079%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-2508.211ns; +1326.211ns] or [-0.677%; +0.358%]
  • ignore throughput [-9.189op/s; +18.363op/s] or [-0.340%; +0.680%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+23.975µs; +48.852µs] or [+7.654%; +15.596%]
  • 🟥 throughput [-442.558op/s; -238.499op/s] or [-13.796%; -7.435%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-11853.868ns; +10537.868ns] or [-3.243%; +2.883%]
  • ignore throughput [-112.395op/s; +21.278op/s] or [-4.033%; +0.764%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.929ms; +300.633ms] or [+149.695%; +150.047%]
  • ignore throughput [-1640417.946op/s; -1075342.374op/s] or [-0.822%; -0.539%]

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

  • ignore allocated_mem [+64 bytes; +66 bytes] or [+0.358%; +0.369%]
  • unstable execution_time [+363.621ms; +400.476ms] or [+395.089%; +435.134%]
  • 🟩 throughput [+1118.210op/s; +1268.697op/s] or [+9.188%; +10.425%]

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

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+303.289ms; +340.685ms] or [+230.284%; +258.679%]
  • 🟩 throughput [+721.637op/s; +925.238op/s] or [+6.986%; +8.957%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.778KB; +2.783KB] or [+4.935%; +4.944%]
  • unstable execution_time [+273.542ms; +342.654ms] or [+125.772%; +157.549%]
  • 🟥 throughput [-578.886op/s; -507.765op/s] or [-52.453%; -46.008%]

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

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+203.223ms; +336.435ms] or [+86.605%; +143.374%]
  • 🟥 throughput [-744.880op/s; -661.447op/s] or [-49.684%; -44.119%]

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

  • ignore allocated_mem [-23 bytes; -20 bytes] or [-0.056%; -0.049%]
  • 🟥 execution_time [+333.757ms; +343.169ms] or [+199.626%; +205.255%]
  • 🟥 throughput [-434.303op/s; -399.309op/s] or [-30.240%; -27.803%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-71.529µs; -51.128µs] or [-3.600%; -2.573%]
  • ignore throughput [+13.656op/s; +19.115op/s] or [+2.714%; +3.798%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+0.338µs; +14.348µs] or [+0.023%; +0.986%]
  • ignore throughput [-6.331op/s; +0.119op/s] or [-0.922%; +0.017%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-201.304µs; -114.712µs] or [-7.003%; -3.991%]
  • ignore throughput [+14.700op/s; +33.443op/s] or [+4.225%; +9.613%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-6.419µs; +4.188µs] or [-0.554%; +0.362%]
  • ignore throughput [-2.573op/s; +5.051op/s] or [-0.298%; +0.585%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-59.949µs; -46.854µs] or [-5.560%; -4.345%]
  • ignore throughput [+42.916op/s; +55.560op/s] or [+4.627%; +5.991%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-90.281µs; +11.291µs] or [-4.837%; +0.605%]
  • unstable throughput [+2.164op/s; +67.836op/s] or [+0.404%; +12.662%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+6.829µs; +25.681µs] or [+0.267%; +1.003%]
  • ignore throughput [-3.748op/s; -0.923op/s] or [-0.959%; -0.236%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • 🟩 execution_time [-160.720µs; -117.422µs] or [-8.141%; -5.948%]
  • 🟩 throughput [+34.453op/s; +45.737op/s] or [+6.801%; +9.029%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-114.396µs; -71.700µs] or [-2.901%; -1.818%]
  • ignore throughput [+4.962op/s; +7.679op/s] or [+1.957%; +3.028%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+305.155ms; +306.558ms] or [+153.670%; +154.377%]
  • ignore throughput [+7308.738op/s; +8915.834op/s] or [+2.352%; +2.869%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.693ms; +303.283ms] or [+151.179%; +151.975%]
  • ignore throughput [+20243.087op/s; +24739.927op/s] or [+3.192%; +3.900%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.611ms; +304.956ms] or [+151.516%; +153.197%]
  • ignore throughput [+22688.165op/s; +30061.441op/s] or [+4.779%; +6.332%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+301.920ms; +303.585ms] or [+151.614%; +152.450%]
  • ignore throughput [+4116.080op/s; +6111.776op/s] or [+1.379%; +2.048%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+298.348ms; +300.045ms] or [+147.520%; +148.359%]
  • ignore throughput [+7706.723op/s; +13326.996op/s] or [+1.242%; +2.147%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+303.234ms; +306.820ms] or [+153.692%; +155.510%]
  • ignore throughput [-2431.717op/s; +6313.369op/s] or [-0.525%; +1.363%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+303.069ms; +304.253ms] or [+152.113%; +152.708%]
  • ignore throughput [-19837.080op/s; -17871.278op/s] or [-5.146%; -4.636%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+299.423ms; +301.332ms] or [+149.235%; +150.186%]
  • 🟩 throughput [+54581.499op/s; +62224.656op/s] or [+10.838%; +12.356%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+301.407ms; +304.095ms] or [+149.947%; +151.285%]
  • ignore throughput [-12176.355op/s; -6789.142op/s] or [-2.882%; -1.607%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1270.777µs; -481.997µs] or [-0.632%; -0.240%]
  • ignore throughput [-4097.831op/s; -3062.500op/s] or [-1.648%; -1.232%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-15.825ms; -12.134ms] or [-7.359%; -5.642%]
  • ignore throughput [+12522.645op/s; +19372.384op/s] or [+3.435%; +5.314%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.386ms; +3.549ms] or [-0.194%; +1.780%]
  • ignore throughput [+5243.809op/s; +10989.996op/s] or [+1.914%; +4.012%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • unstable execution_time [+10.321µs; +54.142µs] or [+2.549%; +13.373%]
  • ignore throughput [-266.942op/s; -57.342op/s] or [-10.742%; -2.307%]

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

  • 🟩 allocated_mem [-20.068KB; -20.047KB] or [-7.320%; -7.313%]
  • unstable execution_time [-51.105µs; +1.848µs] or [-10.101%; +0.365%]
  • ignore throughput [+9.406op/s; +194.723op/s] or [+0.469%; +9.717%]

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

  • ignore allocated_mem [+3.953KB; +3.969KB] or [+1.441%; +1.447%]
  • ignore execution_time [-61.407µs; -5.822µs] or [-10.641%; -1.009%]
  • ignore throughput [+30.059op/s; +180.895op/s] or [+1.717%; +10.335%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+238.736ns; +1671.930ns] or [+0.414%; +2.896%]
  • ignore throughput [-473.362op/s; -68.348op/s] or [-2.732%; -0.394%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • unstable execution_time [+6.898µs; +11.381µs] or [+16.304%; +26.901%]
  • 🟥 throughput [-4926.917op/s; -3093.203op/s] or [-20.741%; -13.021%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-13.730µs; -6.452µs] or [-21.301%; -10.011%]
  • 🟩 throughput [+1651.722op/s; +3145.257op/s] or [+10.134%; +19.297%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+1 bytes; +2 bytes] or [+0.039%; +0.050%]
  • 🟥 execution_time [+303.373ms; +305.526ms] or [+153.342%; +154.430%]
  • ignore throughput [-156.686op/s; -128.316op/s] or [-2.618%; -2.144%]

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

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.017%; +0.027%]
  • 🟥 execution_time [+301.798ms; +304.443ms] or [+153.614%; +154.961%]
  • ignore throughput [-147.850op/s; -69.519op/s] or [-1.834%; -0.862%]

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

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+300.854ms; +303.104ms] or [+150.615%; +151.741%]
  • ignore throughput [-156.700op/s; -90.650op/s] or [-1.996%; -1.155%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-1105.058µs; -395.799µs] or [-0.551%; -0.197%]
  • 🟥 throughput [-28521.556op/s; -26972.853op/s] or [-7.896%; -7.467%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-1.691ms; +3.888ms] or [-0.845%; +1.943%]
  • 🟩 throughput [+28691.402op/s; +39635.327op/s] or [+5.431%; +7.502%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.479ms; +5.140ms] or [+0.750%; +2.606%]
  • ignore throughput [-1793.617op/s; +6533.296op/s] or [-0.424%; +1.546%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+300.477ms; +302.034ms] or [+149.761%; +150.537%]
  • ignore throughput [-243.842op/s; +755.697op/s] or [-0.161%; +0.499%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+303.391ms; +304.884ms] or [+152.348%; +153.098%]
  • ignore throughput [+1980.365op/s; +3553.700op/s] or [+0.861%; +1.545%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+304.349ms; +306.820ms] or [+154.346%; +155.600%]
  • ignore throughput [-1059.898op/s; +1000.599op/s] or [-0.597%; +0.564%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+300.178ms; +300.841ms] or [+149.730%; +150.061%]
  • 🟩 throughput [+61082992.802op/s; +61346811.485op/s] or [+44.484%; +44.677%]

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

  • ignore allocated_mem [+53 bytes; +55 bytes] or [+0.313%; +0.323%]
  • unstable execution_time [+390.926ms; +417.186ms] or [+486.185%; +518.845%]
  • 🟩 throughput [+1080.799op/s; +1258.300op/s] or [+8.355%; +9.727%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.767ms; +300.694ms] or [+149.517%; +149.979%]
  • 🟩 throughput [+18058564.762op/s; +19001928.057op/s] or [+7.999%; +8.417%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-352.006µs; +37.800µs] or [-0.176%; +0.019%]
  • ignore throughput [+13704.192op/s; +17846.625op/s] or [+1.529%; +1.992%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-5.404ms; -4.133ms] or [-2.647%; -2.024%]
  • 🟩 throughput [+81315.106op/s; +90465.078op/s] or [+7.592%; +8.446%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [+2.288ms; +6.430ms] or [+1.158%; +3.254%]
  • ignore throughput [+31737.783op/s; +51010.593op/s] or [+3.674%; +5.904%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [-383.585µs; -129.094µs] or [-0.192%; -0.065%]
  • ignore throughput [+578.130op/s; +3681.550op/s] or [+0.053%; +0.337%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.868ms; +15.422ms] or [+3.578%; +8.035%]
  • ignore throughput [+50312.857op/s; +93277.523op/s] or [+3.894%; +7.220%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-2.963ms; -1.503ms] or [-1.456%; -0.739%]
  • 🟩 throughput [+66891.689op/s; +76056.498op/s] or [+6.643%; +7.554%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1327.311µs; -57.034µs] or [-0.661%; -0.028%]
  • ignore throughput [+14913.410op/s; +18366.624op/s] or [+3.323%; +4.092%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-1.377ms; +6.061ms] or [-0.688%; +3.027%]
  • 🟩 throughput [+44050.839op/s; +56778.728op/s] or [+7.999%; +10.310%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [-1461.820µs; +2640.174µs] or [-0.734%; +1.327%]
  • 🟩 throughput [+22907.218op/s; +32867.637op/s] or [+5.127%; +7.357%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-402.094µs; +660.612µs] or [-0.200%; +0.329%]
  • 🟥 throughput [-39506.455op/s; -35916.373op/s] or [-5.782%; -5.257%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1.191ms; +5.174ms] or [-0.596%; +2.588%]
  • 🟩 throughput [+63671.921op/s; +88511.463op/s] or [+7.114%; +9.889%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.373ms; +5.269ms] or [+0.697%; +2.676%]
  • ignore throughput [+25690.937op/s; +40977.681op/s] or [+3.587%; +5.722%]

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

dd-trace-dotnet-ci-bot bot commented Apr 15, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8459) 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
duration70.89 ± (70.89 - 71.19) ms72.15 ± (72.08 - 72.48) ms+1.8%✅⬆️
.NET Framework 4.8 - Bailout
duration75.97 ± (75.83 - 76.24) ms76.10 ± (76.03 - 76.39) ms+0.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1057.73 ± (1058.79 - 1064.77) ms1058.92 ± (1058.31 - 1063.79) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.30 ± (22.26 - 22.33) ms22.28 ± (22.24 - 22.32) ms-0.1%
process.time_to_main_ms83.51 ± (83.30 - 83.71) ms83.30 ± (83.12 - 83.49) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.92 - 10.93) MB10.90 ± (10.89 - 10.90) MB-0.2%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.33 ± (22.29 - 22.37) ms22.18 ± (22.15 - 22.22) ms-0.7%
process.time_to_main_ms85.37 ± (85.15 - 85.59) ms84.41 ± (84.20 - 84.61) ms-1.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.94 - 10.95) MB10.92 ± (10.91 - 10.92) MB-0.3%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms228.23 ± (226.93 - 229.53) ms209.22 ± (208.19 - 210.25) ms-8.3%
process.time_to_main_ms520.02 ± (518.74 - 521.29) ms515.77 ± (514.51 - 517.02) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.47 ± (48.43 - 48.50) MB47.81 ± (47.78 - 47.85) MB-1.3%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.00 ± (20.96 - 21.03) ms20.87 ± (20.84 - 20.91) ms-0.6%
process.time_to_main_ms72.47 ± (72.32 - 72.62) ms71.65 ± (71.48 - 71.81) ms-1.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.59 ± (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.88 ± (20.85 - 20.92) ms20.83 ± (20.79 - 20.86) ms-0.3%
process.time_to_main_ms73.03 ± (72.86 - 73.20) ms72.65 ± (72.48 - 72.81) ms-0.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.71 ± (10.70 - 10.71) MB10.73 ± (10.73 - 10.74) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms382.96 ± (380.32 - 385.60) ms384.05 ± (382.20 - 385.90) ms+0.3%✅⬆️
process.time_to_main_ms519.27 ± (518.28 - 520.26) ms514.36 ± (513.48 - 515.23) ms-0.9%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.02 ± (49.99 - 50.04) MB49.24 ± (49.21 - 49.26) MB-1.6%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.8%
.NET 8 - Baseline
process.internal_duration_ms19.30 ± (19.25 - 19.34) ms19.27 ± (19.25 - 19.30) ms-0.1%
process.time_to_main_ms71.33 ± (71.13 - 71.53) ms71.60 ± (71.46 - 71.74) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.67 - 7.68) MB7.66 ± (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.28 ± (19.25 - 19.31) ms19.32 ± (19.28 - 19.36) ms+0.2%✅⬆️
process.time_to_main_ms72.59 ± (72.42 - 72.76) ms73.13 ± (72.96 - 73.29) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.71 - 7.72) 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_ms308.38 ± (305.68 - 311.07) ms304.88 ± (302.41 - 307.36) ms-1.1%
process.time_to_main_ms480.19 ± (479.41 - 480.98) ms478.07 ± (477.27 - 478.88) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.09 ± (37.07 - 37.11) MB36.51 ± (36.48 - 36.53) MB-1.6%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.3%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration205.88 ± (205.69 - 206.64) ms212.57 ± (212.46 - 213.52) ms+3.2%✅⬆️
.NET Framework 4.8 - Bailout
duration209.45 ± (209.20 - 209.82) ms216.69 ± (216.26 - 217.18) ms+3.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1205.92 ± (1204.43 - 1210.16) ms1236.89 ± (1237.28 - 1244.79) ms+2.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms200.48 ± (200.06 - 200.89) ms207.53 ± (207.06 - 208.01) ms+3.5%✅⬆️
process.time_to_main_ms87.38 ± (87.10 - 87.65) ms91.26 ± (90.93 - 91.59) ms+4.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.04 ± (16.02 - 16.06) MB15.93 ± (15.91 - 15.95) MB-0.7%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+2.0%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms201.23 ± (200.81 - 201.65) ms205.68 ± (205.24 - 206.12) ms+2.2%✅⬆️
process.time_to_main_ms89.20 ± (88.98 - 89.41) ms92.23 ± (91.99 - 92.48) ms+3.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.96 ± (15.93 - 15.98) MB15.92 ± (15.90 - 15.94) MB-0.2%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+1.1%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms414.12 ± (413.03 - 415.20) ms404.59 ± (403.19 - 406.00) ms-2.3%
process.time_to_main_ms544.49 ± (542.86 - 546.12) ms558.07 ± (556.47 - 559.67) ms+2.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.36 ± (59.32 - 59.40) MB58.35 ± (58.27 - 58.42) MB-1.7%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+1.3%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms206.31 ± (205.93 - 206.69) ms212.04 ± (211.63 - 212.45) ms+2.8%✅⬆️
process.time_to_main_ms76.22 ± (75.96 - 76.48) ms78.85 ± (78.59 - 79.10) ms+3.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.23 ± (16.20 - 16.25) MB16.17 ± (16.15 - 16.19) MB-0.4%
runtime.dotnet.threads.count19 ± (19 - 20)20 ± (19 - 20)+0.4%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms206.20 ± (205.87 - 206.54) ms211.44 ± (211.01 - 211.86) ms+2.5%✅⬆️
process.time_to_main_ms77.72 ± (77.48 - 77.96) ms80.25 ± (80.02 - 80.48) ms+3.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.24 ± (16.21 - 16.26) MB16.23 ± (16.20 - 16.25) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 21)+1.1%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms595.92 ± (593.29 - 598.54) ms601.41 ± (598.40 - 604.41) ms+0.9%✅⬆️
process.time_to_main_ms539.98 ± (538.87 - 541.09) ms549.77 ± (548.70 - 550.83) ms+1.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.52 ± (61.41 - 61.63) MB61.21 ± (61.12 - 61.29) MB-0.5%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.5%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms203.23 ± (202.75 - 203.70) ms210.02 ± (209.64 - 210.39) ms+3.3%✅⬆️
process.time_to_main_ms75.43 ± (75.17 - 75.69) ms78.33 ± (78.10 - 78.56) ms+3.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.62 ± (11.60 - 11.64) MB11.56 ± (11.54 - 11.58) MB-0.6%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.8%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms203.09 ± (202.69 - 203.49) ms209.12 ± (208.75 - 209.49) ms+3.0%✅⬆️
process.time_to_main_ms76.37 ± (76.13 - 76.60) ms79.37 ± (79.16 - 79.58) ms+3.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.68 ± (11.66 - 11.70) MB11.59 ± (11.58 - 11.61) MB-0.7%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+1.5%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms525.68 ± (520.62 - 530.73) ms549.58 ± (541.91 - 557.25) ms+4.5%✅⬆️
process.time_to_main_ms501.21 ± (500.34 - 502.09) ms514.39 ± (513.45 - 515.33) ms+2.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.70 ± (50.64 - 50.75) MB50.38 ± (50.29 - 50.47) MB-0.6%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.2%✅⬆️
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 (8459) - mean (72ms)  : 69, 75
    master - mean (71ms)  : 69, 73

    section Bailout
    This PR (8459) - mean (76ms)  : 74, 78
    master - mean (76ms)  : 73, 79

    section CallTarget+Inlining+NGEN
    This PR (8459) - mean (1,061ms)  : 1022, 1100
    master - mean (1,062ms)  : 1019, 1105

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

    section Bailout
    This PR (8459) - mean (113ms)  : 110, 116
    master - mean (114ms)  : 112, 117

    section CallTarget+Inlining+NGEN
    This PR (8459) - mean (762ms)  : 746, 778
    master - mean (784ms)  : 761, 807

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8459) - mean (99ms)  : 95, 102
    master - mean (100ms)  : 96, 103

    section Bailout
    This PR (8459) - mean (99ms)  : 97, 102
    master - mean (100ms)  : 97, 102

    section CallTarget+Inlining+NGEN
    This PR (8459) - mean (927ms)  : 898, 955
    master - mean (930ms)  : 890, 971

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

    section Bailout
    This PR (8459) - mean (100ms)  : 97, 103
    master - mean (99ms)  : 96, 103

    section CallTarget+Inlining+NGEN
    This PR (8459) - mean (811ms)  : 777, 845
    master - mean (819ms)  : 780, 859

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 (8459) - mean (213ms)  : 207, 219
    master - mean (206ms)  : 201, 211

    section Bailout
    This PR (8459) - mean (217ms)  : 212, 222
    master - mean (210ms)  : 206, 213

    section CallTarget+Inlining+NGEN
    This PR (8459) - mean (1,241ms)  : 1186, 1296
    master - mean (1,207ms)  : 1169, 1246

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 (8459) - mean (309ms)  : 302, 315
    master - mean (297ms)  : 289, 305

    section Bailout
    This PR (8459) - mean (307ms)  : 302, 313
    master - mean (299ms)  : 293, 306

    section CallTarget+Inlining+NGEN
    This PR (8459) - mean (1,002ms)  : 981, 1024
    master - mean (1,002ms)  : 964, 1040

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8459) - mean (300ms)  : 295, 305
    master - mean (292ms)  : 286, 297

    section Bailout
    This PR (8459) - mean (300ms)  : 295, 306
    master - mean (293ms)  : 288, 297

    section CallTarget+Inlining+NGEN
    This PR (8459) - mean (1,181ms)  : 1142, 1221
    master - mean (1,167ms)  : 1124, 1210

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8459) - mean (299ms)  : 294, 305
    master - mean (289ms)  : 283, 296

    section Bailout
    This PR (8459) - mean (299ms)  : 293, 305
    master - mean (290ms)  : 284, 296

    section CallTarget+Inlining+NGEN
    This PR (8459) - mean (1,096ms)  : 987, 1205
    master - mean (1,067ms)  : 971, 1162

Loading

@andrewlock andrewlock force-pushed the andrew/update-vendors-3 branch from 2cac866 to 7f66c52 Compare April 15, 2026 13:54
@andrewlock andrewlock force-pushed the andrew/update-vendors-2 branch from 00c728d to b4b5712 Compare April 15, 2026 13:54
@andrewlock andrewlock marked this pull request as ready for review April 15, 2026 14:02
@andrewlock andrewlock requested review from a team as code owners April 15, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:vendors Code from other vendors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant