Skip to content

[Profiler] Fix bug in ManagedCodeCache#8467

Merged
gleocadie merged 1 commit into
masterfrom
gleocadie/fix-bug-in-managed-code-cache
Apr 17, 2026
Merged

[Profiler] Fix bug in ManagedCodeCache#8467
gleocadie merged 1 commit into
masterfrom
gleocadie/fix-bug-in-managed-code-cache

Conversation

@gleocadie

Copy link
Copy Markdown
Collaborator

Summary of changes

Method IsManaged has a bug when the instruction pointer is in the R2R segments.

Reason for change

Implementation details

Make it right :)
If we do not find the instruction pointers in JIT Code cache, we look into the module code cache.

Test coverage

New test added

Other details

@gleocadie
gleocadie requested a review from a team as a code owner April 16, 2026 11:21
@github-actions github-actions Bot added the area:profiler Issues related to the continous-profiler label Apr 16, 2026
@pr-commenter

pr-commenter Bot commented Apr 16, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-04-17 09:42:13

Comparing candidate commit 2d71665 in PR branch gleocadie/fix-bug-in-managed-code-cache with baseline commit e91e2b5 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 [-5620.302op/s; -5348.457op/s] or [-6.416%; -6.106%]

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

  • 🟩 throughput [+8659.915op/s; +9674.640op/s] or [+5.883%; +6.572%]

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 [-563.159µs; +392.824µs] or [-0.280%; +0.195%]
  • ignore throughput [-1060.754op/s; -648.814op/s] or [-1.258%; -0.769%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1887.808µs; +1623.221µs] or [-0.942%; +0.810%]
  • 🟩 throughput [+8804.119op/s; +10945.505op/s] or [+7.400%; +9.200%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [+0.585ms; +2.805ms] or [+0.294%; +1.411%]
  • ignore throughput [-765.469op/s; +395.167op/s] or [-0.778%; +0.402%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+27 bytes; +28 bytes] or [+0.844%; +0.857%]
  • 🟥 execution_time [+298.791ms; +300.460ms] or [+148.271%; +149.099%]
  • ignore throughput [+17.049op/s; +20.751op/s] or [+3.067%; +3.734%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+385.109ms; +387.622ms] or [+304.260%; +306.245%]
  • ignore throughput [+6.267op/s; +11.554op/s] or [+0.826%; +1.523%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+397.917ms; +400.980ms] or [+352.142%; +354.852%]
  • ignore throughput [+2.286op/s; +5.527op/s] or [+0.323%; +0.781%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [-341.946µs; +208.374µs] or [-0.171%; +0.104%]
  • ignore throughput [-6753.705op/s; -6283.444op/s] or [-5.255%; -4.889%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.837ms; -11.664ms] or [-7.396%; -5.447%]
  • ignore throughput [+4812.988op/s; +7584.952op/s] or [+3.513%; +5.537%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-10.437ms; -6.298ms] or [-4.970%; -2.999%]
  • ignore throughput [-1245.873op/s; +1032.601op/s] or [-1.126%; +0.934%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-866.020µs; -321.392µs] or [-0.431%; -0.160%]
  • 🟥 throughput [-243638.935op/s; -240470.447op/s] or [-24.877%; -24.553%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.314ms; -21.448ms] or [-11.735%; -9.565%]
  • ignore throughput [-65496.982op/s; -42853.345op/s] or [-6.997%; -4.578%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-1871.993µs; +2410.757µs] or [-0.934%; +1.203%]
  • 🟥 throughput [-143260.704op/s; -126832.249op/s] or [-20.584%; -18.223%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-1162.572µs; -130.262µs] or [-0.580%; -0.065%]
  • ignore throughput [-4038.300op/s; -3264.531op/s] or [-2.718%; -2.197%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-0.189ms; +3.278ms] or [-0.095%; +1.654%]
  • 🟩 throughput [+10583.489op/s; +13503.829op/s] or [+6.734%; +8.592%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+1.746ms; +5.753ms] or [+0.890%; +2.933%]
  • 🟩 throughput [+8573.147op/s; +11213.837op/s] or [+6.830%; +8.933%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-341.371µs; -134.227µs] or [-0.170%; -0.067%]
  • ignore throughput [-35374.060op/s; -19538.827op/s] or [-1.076%; -0.594%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-3.618ms; -2.241ms] or [-1.789%; -1.108%]
  • 🟩 throughput [+409205.481op/s; +460248.204op/s] or [+13.645%; +15.347%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-19.548ms; -15.185ms] or [-9.011%; -7.000%]
  • 🟩 throughput [+253459.396op/s; +306710.767op/s] or [+10.060%; +12.174%]

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

  • ignore allocated_mem [+0 bytes; +2 bytes] or [-0.001%; +0.007%]
  • 🟥 execution_time [+300.419ms; +301.041ms] or [+150.109%; +150.420%]
  • ignore throughput [+120.154op/s; +146.720op/s] or [+1.327%; +1.621%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.489ms; +302.719ms] or [+151.033%; +152.662%]
  • ignore throughput [+368.937op/s; +581.138op/s] or [+2.822%; +4.445%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.886ms; +302.559ms] or [+151.059%; +152.406%]
  • ignore throughput [-52.842op/s; +77.965op/s] or [-0.510%; +0.753%]

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

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.186%; +0.199%]
  • 🟥 execution_time [+295.945ms; +296.598ms] or [+145.356%; +145.677%]
  • ignore throughput [+20.836op/s; +27.335op/s] or [+0.552%; +0.725%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+295.652ms; +298.542ms] or [+144.533%; +145.946%]
  • ignore throughput [+141.980op/s; +198.274op/s] or [+2.063%; +2.881%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+301.760ms; +303.908ms] or [+150.819%; +151.893%]
  • ignore throughput [-13.082op/s; +17.320op/s] or [-0.260%; +0.344%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+2.020µs; +5.424µs] or [+0.415%; +1.114%]
  • ignore throughput [-22.507op/s; -8.371op/s] or [-1.096%; -0.408%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+17.916µs; +44.634µs] or [+4.109%; +10.237%]
  • ignore throughput [-219.611op/s; -99.386op/s] or [-9.548%; -4.321%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+13.027µs; +35.187µs] or [+2.791%; +7.539%]
  • ignore throughput [-169.131op/s; -87.479op/s] or [-7.807%; -4.038%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-6.082µs; -2.218µs] or [-1.642%; -0.599%]
  • ignore throughput [+16.963op/s; +44.855op/s] or [+0.628%; +1.661%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+24.854µs; +48.455µs] or [+7.935%; +15.469%]
  • 🟥 throughput [-448.551op/s; -249.955op/s] or [-13.983%; -7.792%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-8.877µs; +13.549µs] or [-2.428%; +3.707%]
  • ignore throughput [-134.658op/s; -0.681op/s] or [-4.832%; -0.024%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+300.019ms; +300.695ms] or [+149.740%; +150.078%]
  • ignore throughput [-1589526.400op/s; -1021628.407op/s] or [-0.796%; -0.512%]

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

  • ignore allocated_mem [+77 bytes; +79 bytes] or [+0.431%; +0.442%]
  • 🟥 execution_time [+410.110ms; +413.864ms] or [+445.601%; +449.680%]
  • 🟩 throughput [+940.599op/s; +1068.150op/s] or [+7.729%; +8.777%]

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

  • ignore allocated_mem [+43 bytes; +45 bytes] or [+0.208%; +0.219%]
  • unstable execution_time [+308.195ms; +346.816ms] or [+234.010%; +263.334%]
  • 🟩 throughput [+647.365op/s; +850.267op/s] or [+6.267%; +8.231%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.698KB; +2.703KB] or [+4.793%; +4.802%]
  • unstable execution_time [+314.508ms; +364.378ms] or [+144.608%; +167.537%]
  • 🟥 throughput [-446.231op/s; -403.378op/s] or [-40.433%; -36.550%]

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

  • ignore allocated_mem [-1.272KB; -1.270KB] or [-3.000%; -2.994%]
  • unstable execution_time [+182.560ms; +317.325ms] or [+77.800%; +135.231%]
  • 🟥 throughput [-745.804op/s; -662.338op/s] or [-49.745%; -44.178%]

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

  • ignore allocated_mem [+441 bytes; +444 bytes] or [+1.042%; +1.049%]
  • 🟥 execution_time [+341.293ms; +350.546ms] or [+204.133%; +209.667%]
  • 🟥 throughput [-411.291op/s; -375.576op/s] or [-28.638%; -26.151%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-87.893µs; -73.888µs] or [-4.423%; -3.718%]
  • ignore throughput [+19.613op/s; +23.433op/s] or [+3.897%; +4.656%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-28.723µs; -7.352µs] or [-1.973%; -0.505%]
  • ignore throughput [+4.453op/s; +14.619op/s] or [+0.648%; +2.128%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-85.693µs; -70.917µs] or [-2.981%; -2.467%]
  • ignore throughput [+8.860op/s; +10.748op/s] or [+2.547%; +3.089%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-13.609µs; -9.029µs] or [-1.175%; -0.780%]
  • ignore throughput [+6.850op/s; +10.292op/s] or [+0.793%; +1.192%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟩 execution_time [-77.207µs; -54.862µs] or [-7.160%; -5.088%]
  • 🟩 throughput [+51.711op/s; +75.875op/s] or [+5.576%; +8.181%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+14.405µs; +23.710µs] or [+0.772%; +1.270%]
  • ignore throughput [-6.708op/s; -4.059op/s] or [-1.252%; -0.758%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+11.298µs; +21.998µs] or [+0.441%; +0.859%]
  • ignore throughput [-3.295op/s; -1.674op/s] or [-0.843%; -0.429%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • 🟩 execution_time [-154.261µs; -106.176µs] or [-7.814%; -5.379%]
  • 🟩 throughput [+31.553op/s; +44.228op/s] or [+6.229%; +8.731%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-136.752µs; -95.840µs] or [-3.468%; -2.430%]
  • ignore throughput [+6.571op/s; +9.199op/s] or [+2.591%; +3.628%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+302.951ms; +304.619ms] or [+152.561%; +153.400%]
  • ignore throughput [+2330.843op/s; +4429.740op/s] or [+0.750%; +1.425%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.674ms; +309.120ms] or [+151.169%; +154.901%]
  • ignore throughput [+18597.804op/s; +26210.788op/s] or [+2.932%; +4.132%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.833ms; +305.071ms] or [+151.628%; +153.255%]
  • ignore throughput [+15545.214op/s; +23261.813op/s] or [+3.275%; +4.900%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+303.110ms; +305.554ms] or [+152.212%; +153.439%]
  • ignore throughput [+7111.611op/s; +8762.863op/s] or [+2.383%; +2.936%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+299.607ms; +301.046ms] or [+148.142%; +148.854%]
  • ignore throughput [+13134.521op/s; +18596.027op/s] or [+2.116%; +2.996%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.891ms; +306.473ms] or [+153.518%; +155.334%]
  • ignore throughput [+4558.020op/s; +12910.260op/s] or [+0.984%; +2.788%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+300.475ms; +301.980ms] or [+150.812%; +151.567%]
  • ignore throughput [-842.084op/s; +1775.588op/s] or [-0.218%; +0.461%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+299.275ms; +301.180ms] or [+149.161%; +150.111%]
  • 🟩 throughput [+59812.529op/s; +64961.898op/s] or [+11.877%; +12.899%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.863ms; +303.910ms] or [+149.677%; +151.192%]
  • ignore throughput [-14240.249op/s; -9177.565op/s] or [-3.371%; -2.172%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1188.409µs; -429.627µs] or [-0.591%; -0.214%]
  • ignore throughput [-11380.496op/s; -10279.164op/s] or [-4.576%; -4.134%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-16.074ms; -12.412ms] or [-7.474%; -5.772%]
  • 🟩 throughput [+29778.744op/s; +36391.102op/s] or [+8.169%; +9.983%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.605ms; +3.358ms] or [-0.304%; +1.684%]
  • ignore throughput [+6539.815op/s; +12457.810op/s] or [+2.387%; +4.547%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • ignore execution_time [+8.484µs; +48.116µs] or [+2.096%; +11.885%]
  • ignore throughput [-257.607op/s; -56.742op/s] or [-10.366%; -2.283%]

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

  • 🟩 allocated_mem [-20.757KB; -20.737KB] or [-7.572%; -7.564%]
  • unstable execution_time [-53.660µs; -2.079µs] or [-10.606%; -0.411%]
  • ignore throughput [+19.409op/s; +200.577op/s] or [+0.969%; +10.009%]

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

  • 🟩 allocated_mem [-16.736KB; -16.718KB] or [-6.101%; -6.095%]
  • ignore execution_time [-52.126µs; +4.913µs] or [-9.033%; +0.851%]
  • ignore throughput [-0.369op/s; +154.027op/s] or [-0.021%; +8.800%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+0.570µs; +2.099µs] or [+0.987%; +3.636%]
  • ignore throughput [-586.274op/s; -158.240op/s] or [-3.383%; -0.913%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • unstable execution_time [+8.016µs; +12.448µs] or [+18.948%; +29.424%]
  • 🟥 throughput [-5341.217op/s; -3497.568op/s] or [-22.485%; -14.724%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-13.243µs; -6.109µs] or [-20.546%; -9.478%]
  • 🟩 throughput [+1486.491op/s; +2993.865op/s] or [+9.120%; +18.368%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.084%; +0.094%]
  • 🟥 execution_time [+302.280ms; +303.330ms] or [+152.789%; +153.320%]
  • ignore throughput [-128.052op/s; -107.011op/s] or [-2.140%; -1.788%]

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

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+301.432ms; +303.591ms] or [+153.428%; +154.527%]
  • ignore throughput [-76.234op/s; -0.572op/s] or [-0.945%; -0.007%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+300.815ms; +302.781ms] or [+150.595%; +151.579%]
  • ignore throughput [-117.594op/s; -54.629op/s] or [-1.498%; -0.696%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-627.885µs; +127.512µs] or [-0.313%; +0.064%]
  • ignore throughput [-7308.864op/s; -5755.890op/s] or [-2.023%; -1.593%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-772.414µs; +39.784µs] or [-0.386%; +0.020%]
  • 🟩 throughput [+47668.145op/s; +51453.210op/s] or [+9.023%; +9.739%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.215ms; +4.879ms] or [+0.616%; +2.473%]
  • ignore throughput [+279.215op/s; +8454.919op/s] or [+0.066%; +2.001%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+298.583ms; +300.591ms] or [+148.817%; +149.818%]
  • ignore throughput [-3468.001op/s; -2454.695op/s] or [-2.290%; -1.621%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+301.612ms; +302.913ms] or [+151.455%; +152.108%]
  • ignore throughput [+4964.678op/s; +6275.733op/s] or [+2.159%; +2.729%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+302.459ms; +304.772ms] or [+153.388%; +154.561%]
  • ignore throughput [+2551.529op/s; +4439.526op/s] or [+1.437%; +2.500%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+300.267ms; +300.964ms] or [+149.775%; +150.122%]
  • 🟩 throughput [+61220189.661op/s; +61462363.744op/s] or [+44.584%; +44.761%]

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

  • ignore allocated_mem [+62 bytes; +64 bytes] or [+0.366%; +0.376%]
  • 🟥 execution_time [+425.206ms; +429.427ms] or [+528.820%; +534.069%]
  • 🟩 throughput [+941.199op/s; +1104.433op/s] or [+7.276%; +8.538%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.261ms; +300.182ms] or [+149.265%; +149.724%]
  • ignore throughput [+1794851.788op/s; +2735794.623op/s] or [+0.795%; +1.212%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-179.182µs; +213.942µs] or [-0.090%; +0.107%]
  • ignore throughput [+2546.469op/s; +6047.222op/s] or [+0.284%; +0.675%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-4.433ms; -3.328ms] or [-2.171%; -1.630%]
  • 🟩 throughput [+100865.778op/s; +110522.590op/s] or [+9.418%; +10.319%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-0.843ms; +3.341ms] or [-0.427%; +1.691%]
  • 🟩 throughput [+52679.737op/s; +72707.757op/s] or [+6.098%; +8.416%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+418.440µs; +965.121µs] or [+0.209%; +0.482%]
  • ignore throughput [-14898.038op/s; -11424.208op/s] or [-1.364%; -1.046%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.471ms; +10.567ms] or [+3.372%; +5.506%]
  • 🟩 throughput [+93667.039op/s; +123732.603op/s] or [+7.250%; +9.577%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-5.550ms; -4.019ms] or [-2.727%; -1.975%]
  • 🟩 throughput [+92609.041op/s; +101182.072op/s] or [+9.198%; +10.049%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1.624ms; -0.398ms] or [-0.808%; -0.198%]
  • ignore throughput [+14657.053op/s; +17545.163op/s] or [+3.266%; +3.909%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [+0.209ms; +2.218ms] or [+0.104%; +1.108%]
  • 🟩 throughput [+51023.159op/s; +57140.730op/s] or [+9.265%; +10.376%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [-2671.390µs; +1456.462µs] or [-1.342%; +0.732%]
  • 🟩 throughput [+30243.845op/s; +39984.834op/s] or [+6.770%; +8.950%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-917.509µs; +58.334µs] or [-0.457%; +0.029%]
  • ignore throughput [-21159.527op/s; -17832.424op/s] or [-3.097%; -2.610%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1146.549µs; +2370.018µs] or [-0.573%; +1.185%]
  • ignore throughput [+43319.376op/s; +61734.121op/s] or [+4.840%; +6.897%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.598ms; +5.489ms] or [+0.812%; +2.788%]
  • ignore throughput [+22988.455op/s; +38583.065op/s] or [+3.210%; +5.387%]

@dd-trace-dotnet-ci-bot

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

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8467) 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.30 ± (72.33 - 72.76) ms73.21 ± (73.55 - 74.11) ms+1.3%✅⬆️
.NET Framework 4.8 - Bailout
duration79.40 ± (79.10 - 79.61) ms78.62 ± (78.59 - 79.09) ms-1.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1074.43 ± (1072.73 - 1078.41) ms1068.72 ± (1068.77 - 1074.56) ms-0.5%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.49 ± (22.44 - 22.54) ms22.93 ± (22.87 - 22.99) ms+1.9%✅⬆️
process.time_to_main_ms84.58 ± (84.25 - 84.90) ms86.26 ± (85.91 - 86.61) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.84 ± (10.84 - 10.85) MB10.91 ± (10.91 - 10.91) MB+0.6%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.45 ± (22.40 - 22.50) ms22.65 ± (22.61 - 22.70) ms+0.9%✅⬆️
process.time_to_main_ms86.80 ± (86.53 - 87.08) ms86.82 ± (86.59 - 87.04) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.94) MB10.95 ± (10.95 - 10.95) MB+0.1%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms229.24 ± (228.23 - 230.26) ms231.03 ± (229.85 - 232.21) ms+0.8%✅⬆️
process.time_to_main_ms527.68 ± (526.44 - 528.93) ms528.04 ± (526.61 - 529.47) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.51 ± (48.49 - 48.54) MB48.44 ± (48.41 - 48.47) MB-0.2%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.47 ± (21.41 - 21.53) ms21.21 ± (21.18 - 21.25) ms-1.2%
process.time_to_main_ms75.14 ± (74.84 - 75.43) ms73.08 ± (72.88 - 73.28) ms-2.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.62 - 10.62) MB10.63 ± (10.63 - 10.64) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.06 ± (21.03 - 21.09) ms21.18 ± (21.14 - 21.21) ms+0.6%✅⬆️
process.time_to_main_ms74.02 ± (73.84 - 74.20) ms74.59 ± (74.37 - 74.80) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.73) MB10.74 ± (10.74 - 10.74) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms387.86 ± (385.80 - 389.92) ms385.14 ± (382.55 - 387.72) ms-0.7%
process.time_to_main_ms525.66 ± (524.50 - 526.82) ms528.35 ± (527.16 - 529.54) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.07 ± (50.04 - 50.10) MB50.06 ± (50.04 - 50.09) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 8 - Baseline
process.internal_duration_ms19.42 ± (19.39 - 19.46) ms19.72 ± (19.67 - 19.78) ms+1.5%✅⬆️
process.time_to_main_ms72.24 ± (72.07 - 72.40) ms74.35 ± (74.08 - 74.61) ms+2.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.66 ± (7.66 - 7.67) MB7.64 ± (7.63 - 7.64) MB-0.4%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.91 ± (19.85 - 19.97) ms19.43 ± (19.39 - 19.46) ms-2.4%
process.time_to_main_ms76.56 ± (76.28 - 76.84) ms73.52 ± (73.36 - 73.68) ms-4.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.71) MB7.69 ± (7.69 - 7.70) MB-0.2%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms306.00 ± (303.40 - 308.61) ms304.96 ± (302.39 - 307.53) ms-0.3%
process.time_to_main_ms487.87 ± (486.60 - 489.14) ms490.39 ± (489.18 - 491.60) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.02 ± (36.99 - 37.04) MB37.04 ± (37.02 - 37.06) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.1%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration199.50 ± (199.38 - 200.13) ms200.48 ± (200.22 - 201.11) ms+0.5%✅⬆️
.NET Framework 4.8 - Bailout
duration204.11 ± (204.06 - 205.16) ms204.60 ± (204.32 - 205.06) ms+0.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1184.40 ± (1185.91 - 1193.76) ms1185.18 ± (1184.67 - 1190.60) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms195.11 ± (194.68 - 195.55) ms196.42 ± (195.97 - 196.86) ms+0.7%✅⬆️
process.time_to_main_ms85.03 ± (84.69 - 85.36) ms85.68 ± (85.40 - 85.97) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.02 ± (15.99 - 16.05) MB15.97 ± (15.95 - 16.00) MB-0.3%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)+0.0%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms194.41 ± (193.95 - 194.86) ms195.27 ± (194.94 - 195.60) ms+0.4%✅⬆️
process.time_to_main_ms86.18 ± (85.93 - 86.42) ms86.70 ± (86.49 - 86.91) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.07 ± (16.04 - 16.10) MB16.08 ± (16.05 - 16.10) MB+0.0%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 21)21 ± (21 - 21)+0.6%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms404.23 ± (403.04 - 405.43) ms406.75 ± (405.36 - 408.14) ms+0.6%✅⬆️
process.time_to_main_ms529.04 ± (527.65 - 530.43) ms533.37 ± (532.01 - 534.73) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.30 ± (59.24 - 59.36) MB59.16 ± (59.10 - 59.21) MB-0.2%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 6 - Baseline
process.internal_duration_ms198.59 ± (198.21 - 198.98) ms202.63 ± (202.21 - 203.06) ms+2.0%✅⬆️
process.time_to_main_ms72.87 ± (72.62 - 73.11) ms74.48 ± (74.26 - 74.69) ms+2.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.27 ± (16.25 - 16.30) MB16.29 ± (16.26 - 16.31) MB+0.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.4%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms198.71 ± (198.24 - 199.17) ms200.65 ± (200.27 - 201.03) ms+1.0%✅⬆️
process.time_to_main_ms74.32 ± (74.12 - 74.52) ms74.95 ± (74.76 - 75.14) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.30 ± (16.28 - 16.33) MB16.35 ± (16.32 - 16.38) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+1.0%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms601.47 ± (598.73 - 604.21) ms599.66 ± (596.92 - 602.39) ms-0.3%
process.time_to_main_ms525.31 ± (524.30 - 526.32) ms529.84 ± (528.69 - 530.99) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.73 ± (61.64 - 61.82) MB61.72 ± (61.62 - 61.82) MB-0.0%
runtime.dotnet.threads.count30 ± (30 - 30)31 ± (30 - 31)+0.6%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms196.81 ± (196.43 - 197.19) ms199.70 ± (199.22 - 200.18) ms+1.5%✅⬆️
process.time_to_main_ms72.59 ± (72.33 - 72.86) ms74.03 ± (73.74 - 74.32) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.68 ± (11.66 - 11.70) MB11.63 ± (11.61 - 11.65) MB-0.4%
runtime.dotnet.threads.count18 ± (18 - 19)19 ± (19 - 19)+0.9%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms196.71 ± (196.28 - 197.14) ms199.51 ± (199.01 - 200.01) ms+1.4%✅⬆️
process.time_to_main_ms73.87 ± (73.68 - 74.06) ms74.99 ± (74.75 - 75.24) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.69 ± (11.67 - 11.71) MB11.73 ± (11.71 - 11.74) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)+0.2%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms523.29 ± (520.36 - 526.21) ms522.03 ± (519.22 - 524.83) ms-0.2%
process.time_to_main_ms487.91 ± (487.04 - 488.78) ms495.31 ± (494.44 - 496.17) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.68 ± (50.65 - 50.71) MB50.71 ± (50.67 - 50.75) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.0%✅⬆️
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 (8467) - mean (74ms)  : 70, 78
    master - mean (73ms)  : 69, 76

    section Bailout
    This PR (8467) - mean (79ms)  : 75, 83
    master - mean (79ms)  : 76, 83

    section CallTarget+Inlining+NGEN
    This PR (8467) - mean (1,072ms)  : 1030, 1114
    master - mean (1,076ms)  : 1035, 1116

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 (8467) - mean (116ms)  : 110, 122
    master - mean (114ms)  : 108, 120

    section Bailout
    This PR (8467) - mean (116ms)  : 111, 122
    master - mean (116ms)  : 111, 122

    section CallTarget+Inlining+NGEN
    This PR (8467) - mean (797ms)  : 771, 823
    master - mean (794ms)  : 763, 825

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

    section Bailout
    This PR (8467) - mean (102ms)  : 97, 107
    master - mean (101ms)  : 98, 104

    section CallTarget+Inlining+NGEN
    This PR (8467) - mean (942ms)  : 903, 981
    master - mean (941ms)  : 906, 975

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

    section Bailout
    This PR (8467) - mean (101ms)  : 98, 104
    master - mean (104ms)  : 99, 110

    section CallTarget+Inlining+NGEN
    This PR (8467) - mean (828ms)  : 783, 874
    master - mean (825ms)  : 784, 866

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 (8467) - mean (201ms)  : 196, 205
    master - mean (200ms)  : 196, 204

    section Bailout
    This PR (8467) - mean (205ms)  : 201, 208
    master - mean (205ms)  : 199, 210

    section CallTarget+Inlining+NGEN
    This PR (8467) - mean (1,188ms)  : 1146, 1230
    master - mean (1,190ms)  : 1130, 1249

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 (8467) - mean (291ms)  : 284, 299
    master - mean (289ms)  : 283, 295

    section Bailout
    This PR (8467) - mean (291ms)  : 285, 297
    master - mean (290ms)  : 284, 295

    section CallTarget+Inlining+NGEN
    This PR (8467) - mean (974ms)  : 949, 999
    master - mean (964ms)  : 940, 988

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8467) - mean (286ms)  : 279, 293
    master - mean (280ms)  : 274, 286

    section Bailout
    This PR (8467) - mean (284ms)  : 279, 289
    master - mean (282ms)  : 276, 288

    section CallTarget+Inlining+NGEN
    This PR (8467) - mean (1,158ms)  : 1116, 1200
    master - mean (1,159ms)  : 1115, 1204

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8467) - mean (284ms)  : 277, 290
    master - mean (280ms)  : 275, 285

    section Bailout
    This PR (8467) - mean (285ms)  : 276, 293
    master - mean (281ms)  : 275, 287

    section CallTarget+Inlining+NGEN
    This PR (8467) - mean (1,050ms)  : 1006, 1094
    master - mean (1,042ms)  : 992, 1093

Loading

@chrisnas chrisnas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@gleocadie
gleocadie force-pushed the gleocadie/fix-bug-in-managed-code-cache branch from 8270b74 to 2d71665 Compare April 17, 2026 08:35
@gleocadie
gleocadie merged commit 0435a3a into master Apr 17, 2026
146 checks passed
@gleocadie
gleocadie deleted the gleocadie/fix-bug-in-managed-code-cache branch April 17, 2026 12:06
@github-actions github-actions Bot added this to the vNext-v3 milestone Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:profiler Issues related to the continous-profiler type:bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants