Skip to content

Fix benchmark reporting#8453

Merged
andrewlock merged 2 commits into
masterfrom
andrew/fix-benchmarks
Apr 15, 2026
Merged

Fix benchmark reporting#8453
andrewlock merged 2 commits into
masterfrom
andrew/fix-benchmarks

Conversation

@andrewlock

Copy link
Copy Markdown
Member

Summary of changes

Fix benchmark failures not being reported in CI

Reason for change

The wrong ordering of commands meant we were ignoring benchmarking failures

Implementation details

Make sure to check the ERRORLOG before calling another command

Test coverage

This is the test I guess, let's see what happens

Other details

Spotted because @cbeauchesne noticed that #8367 regressed, but didn't fail the CI job

@andrewlock
andrewlock requested a review from a team as a code owner April 14, 2026 08:43
@andrewlock andrewlock added area:builds project files, build scripts, pipelines, versioning, releases, packages area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc labels Apr 14, 2026
@pr-commenter

pr-commenter Bot commented Apr 14, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-04-14 16:27:49

Comparing candidate commit 4fc437d in PR branch andrew/fix-benchmarks with baseline commit 6c7f4d5 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 [-5796.442op/s; -5519.119op/s] or [-6.617%; -6.300%]

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

  • 🟩 throughput [+8011.596op/s; +9035.667op/s] or [+5.442%; +6.138%]

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 [-1095.356µs; -152.399µs] or [-0.544%; -0.076%]
  • ignore throughput [+899.249op/s; +1298.605op/s] or [+1.066%; +1.540%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1563.939µs; +1930.906µs] or [-0.780%; +0.963%]
  • 🟩 throughput [+8160.288op/s; +10520.052op/s] or [+6.859%; +8.843%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [-0.069ms; +2.208ms] or [-0.035%; +1.110%]
  • ignore throughput [-446.452op/s; +684.393op/s] or [-0.454%; +0.696%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [-8 bytes; -7 bytes] or [-0.249%; -0.236%]
  • 🟥 execution_time [+305.831ms; +309.666ms] or [+151.764%; +153.667%]
  • ignore throughput [+1.290op/s; +5.540op/s] or [+0.232%; +0.997%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+386.636ms; +388.089ms] or [+305.466%; +306.614%]
  • ignore throughput [+15.238op/s; +18.231op/s] or [+2.009%; +2.404%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+392.815ms; +395.516ms] or [+347.627%; +350.017%]
  • ignore throughput [-6.279op/s; -2.715op/s] or [-0.887%; -0.384%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [+9.412µs; +607.210µs] or [+0.005%; +0.303%]
  • ignore throughput [-5017.955op/s; -4443.186op/s] or [-3.904%; -3.457%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.370ms; -11.193ms] or [-7.178%; -5.227%]
  • ignore throughput [+3722.588op/s; +6520.678op/s] or [+2.717%; +4.760%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-12.809ms; -8.666ms] or [-6.100%; -4.127%]
  • ignore throughput [-586.285op/s; +1680.244op/s] or [-0.530%; +1.519%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-893.568µs; -231.313µs] or [-0.445%; -0.115%]
  • 🟥 throughput [-248042.587op/s; -245101.600op/s] or [-25.326%; -25.026%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-25.905ms; -21.053ms] or [-11.553%; -9.389%]
  • 🟥 throughput [-93980.583op/s; -70390.208op/s] or [-10.040%; -7.520%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-4.039ms; +0.351ms] or [-2.016%; +0.175%]
  • 🟥 throughput [-145230.019op/s; -128389.407op/s] or [-20.867%; -18.447%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-690.070µs; +453.097µs] or [-0.344%; +0.226%]
  • ignore throughput [-560.538op/s; +294.898op/s] or [-0.377%; +0.198%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-1674.240µs; +1925.775µs] or [-0.845%; +0.972%]
  • 🟩 throughput [+9414.488op/s; +12398.496op/s] or [+5.990%; +7.889%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-9.611ms; +0.179ms] or [-4.900%; +0.091%]
  • 🟩 throughput [+7320.639op/s; +9988.351op/s] or [+5.832%; +7.957%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-514.808µs; -69.442µs] or [-0.257%; -0.035%]
  • ignore throughput [+44104.917op/s; +72701.409op/s] or [+1.342%; +2.212%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-1.813ms; -0.900ms] or [-0.896%; -0.445%]
  • 🟩 throughput [+426675.552op/s; +446951.938op/s] or [+14.227%; +14.903%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-19.768ms; -15.404ms] or [-9.112%; -7.101%]
  • 🟩 throughput [+195087.346op/s; +248623.728op/s] or [+7.744%; +9.869%]

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

  • ignore allocated_mem [+1 bytes; +4 bytes] or [+0.004%; +0.012%]
  • 🟥 execution_time [+299.577ms; +300.134ms] or [+149.689%; +149.967%]
  • ignore throughput [+185.938op/s; +202.667op/s] or [+2.054%; +2.238%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+298.896ms; +302.029ms] or [+150.734%; +152.314%]
  • ignore throughput [+334.740op/s; +545.865op/s] or [+2.560%; +4.175%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.939ms; +302.427ms] or [+151.086%; +152.339%]
  • ignore throughput [+27.857op/s; +165.064op/s] or [+0.269%; +1.594%]

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

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.186%; +0.199%]
  • 🟥 execution_time [+297.906ms; +298.957ms] or [+146.320%; +146.836%]
  • ignore throughput [-9.349op/s; +5.917op/s] or [-0.248%; +0.157%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+294.286ms; +297.044ms] or [+143.866%; +145.214%]
  • ignore throughput [+101.896op/s; +144.132op/s] or [+1.480%; +2.094%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+300.826ms; +301.985ms] or [+150.352%; +150.932%]
  • ignore throughput [+19.968op/s; +37.337op/s] or [+0.396%; +0.741%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+2.731µs; +6.521µs] or [+0.561%; +1.339%]
  • ignore throughput [-26.836op/s; -11.248op/s] or [-1.307%; -0.548%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+13.393µs; +39.970µs] or [+3.072%; +9.167%]
  • ignore throughput [-198.515op/s; -78.929op/s] or [-8.631%; -3.432%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+10.185µs; +32.119µs] or [+2.182%; +6.882%]
  • ignore throughput [-156.812op/s; -76.186op/s] or [-7.239%; -3.517%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-6.356µs; -2.356µs] or [-1.716%; -0.636%]
  • ignore throughput [+18.133op/s; +47.034op/s] or [+0.672%; +1.742%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+23.825µs; +47.399µs] or [+7.606%; +15.132%]
  • 🟥 throughput [-440.090op/s; -241.703op/s] or [-13.719%; -7.535%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-10748.416ns; +11702.416ns] or [-2.940%; +3.201%]
  • ignore throughput [-120.802op/s; +13.301op/s] or [-4.335%; +0.477%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.633ms; +300.240ms] or [+149.548%; +149.851%]
  • ignore throughput [-1294506.834op/s; -733953.138op/s] or [-0.648%; -0.368%]

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

  • ignore allocated_mem [+108 bytes; +110 bytes] or [+0.606%; +0.617%]
  • unstable execution_time [+331.380ms; +378.097ms] or [+360.058%; +410.818%]
  • 🟩 throughput [+1124.281op/s; +1262.795op/s] or [+9.238%; +10.377%]

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

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+302.632ms; +339.868ms] or [+229.786%; +258.058%]
  • 🟩 throughput [+692.159op/s; +891.234op/s] or [+6.701%; +8.628%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.736KB; +2.740KB] or [+4.860%; +4.869%]
  • unstable execution_time [+298.500ms; +367.264ms] or [+137.247%; +168.864%]
  • 🟥 throughput [-501.417op/s; -447.656op/s] or [-45.433%; -40.562%]

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

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+203.722ms; +336.935ms] or [+86.818%; +143.588%]
  • 🟥 throughput [-748.883op/s; -665.333op/s] or [-49.951%; -44.378%]

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

  • ignore allocated_mem [+821 bytes; +824 bytes] or [+1.940%; +1.947%]
  • 🟥 execution_time [+349.636ms; +358.062ms] or [+209.123%; +214.163%]
  • 🟥 throughput [-472.918op/s; -439.101op/s] or [-32.929%; -30.574%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-65.346µs; -55.087µs] or [-3.289%; -2.772%]
  • ignore throughput [+14.455op/s; +17.158op/s] or [+2.872%; +3.409%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-39.562µs; -22.578µs] or [-2.718%; -1.551%]
  • ignore throughput [+11.487op/s; +19.613op/s] or [+1.672%; +2.855%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-166.958µs; -92.218µs] or [-5.808%; -3.208%]
  • ignore throughput [+11.622op/s; +26.342op/s] or [+3.341%; +7.572%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-5.706µs; +2.328µs] or [-0.493%; +0.201%]
  • ignore throughput [-1.510op/s; +4.481op/s] or [-0.175%; +0.519%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-56.721µs; -46.997µs] or [-5.261%; -4.359%]
  • ignore throughput [+42.805op/s; +51.761op/s] or [+4.615%; +5.581%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-41.929µs; +9.642µs] or [-2.246%; +0.517%]
  • ignore throughput [-5.041op/s; +24.485op/s] or [-0.941%; +4.570%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+51.314µs; +70.945µs] or [+2.004%; +2.771%]
  • ignore throughput [-10.405op/s; -7.546op/s] or [-2.664%; -1.932%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • 🟩 execution_time [-173.575µs; -138.958µs] or [-8.793%; -7.039%]
  • 🟩 throughput [+40.007op/s; +49.358op/s] or [+7.898%; +9.744%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-21183.433ns; +21897.433ns] or [-0.537%; +0.555%]
  • ignore throughput [-1.169op/s; +1.493op/s] or [-0.461%; +0.589%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+302.392ms; +303.660ms] or [+152.279%; +152.917%]
  • ignore throughput [+7843.342op/s; +9681.666op/s] or [+2.524%; +3.115%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+300.529ms; +301.803ms] or [+150.596%; +151.234%]
  • 🟩 throughput [+43836.947op/s; +48319.964op/s] or [+6.911%; +7.618%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.492ms; +304.596ms] or [+151.457%; +153.016%]
  • ignore throughput [+17738.636op/s; +25232.526op/s] or [+3.737%; +5.315%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+300.710ms; +301.916ms] or [+151.007%; +151.612%]
  • ignore throughput [+1601.865op/s; +3709.984op/s] or [+0.537%; +1.243%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+296.952ms; +299.165ms] or [+146.830%; +147.924%]
  • ignore throughput [+23800.013op/s; +32255.261op/s] or [+3.835%; +5.197%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+305.352ms; +309.011ms] or [+154.766%; +156.620%]
  • ignore throughput [+830.553op/s; +9121.020op/s] or [+0.179%; +1.970%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+300.644ms; +301.901ms] or [+150.896%; +151.527%]
  • ignore throughput [-1054.251op/s; +2243.727op/s] or [-0.273%; +0.582%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+299.606ms; +301.460ms] or [+149.326%; +150.250%]
  • 🟩 throughput [+58361.122op/s; +65083.229op/s] or [+11.589%; +12.923%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+302.460ms; +305.215ms] or [+150.471%; +151.842%]
  • ignore throughput [-11925.722op/s; -6797.683op/s] or [-2.823%; -1.609%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-551.320µs; +310.334µs] or [-0.274%; +0.154%]
  • ignore throughput [-2366.488op/s; -1062.790op/s] or [-0.952%; -0.427%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • ignore execution_time [-16.448ms; -9.566ms] or [-7.648%; -4.448%]
  • 🟩 throughput [+19340.293op/s; +28824.665op/s] or [+5.306%; +7.907%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.952ms; +2.985ms] or [-0.477%; +1.497%]
  • ignore throughput [+7243.473op/s; +13096.853op/s] or [+2.644%; +4.781%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • ignore execution_time [+5.751µs; +45.864µs] or [+1.421%; +11.329%]
  • ignore throughput [-242.543op/s; -39.556op/s] or [-9.760%; -1.592%]

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

  • 🟩 allocated_mem [-18.619KB; -18.599KB] or [-6.792%; -6.784%]
  • unstable execution_time [-40.556µs; +12.403µs] or [-8.016%; +2.451%]
  • ignore throughput [-35.814op/s; +149.119op/s] or [-1.787%; +7.441%]

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

  • 🟩 allocated_mem [-15.539KB; -15.523KB] or [-5.665%; -5.659%]
  • ignore execution_time [-54.883µs; +1.750µs] or [-9.511%; +0.303%]
  • ignore throughput [+8.572op/s; +162.001op/s] or [+0.490%; +9.255%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-706.206ns; +736.872ns] or [-1.223%; +1.276%]
  • ignore throughput [-197.148op/s; +213.570op/s] or [-1.138%; +1.232%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • 🟥 execution_time [+5.969µs; +10.070µs] or [+14.109%; +23.802%]
  • 🟥 throughput [-4560.301op/s; -2768.913op/s] or [-19.197%; -11.656%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-13.936µs; -6.434µs] or [-21.622%; -9.982%]
  • 🟩 throughput [+1754.019op/s; +3338.293op/s] or [+10.761%; +20.482%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+1 bytes; +2 bytes] or [+0.039%; +0.050%]
  • 🟥 execution_time [+302.748ms; +303.874ms] or [+153.026%; +153.595%]
  • ignore throughput [-165.425op/s; -139.385op/s] or [-2.764%; -2.329%]

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

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.017%; +0.027%]
  • 🟥 execution_time [+300.118ms; +303.234ms] or [+152.759%; +154.345%]
  • ignore throughput [-106.239op/s; -21.303op/s] or [-1.318%; -0.264%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+296.834ms; +300.542ms] or [+148.602%; +150.458%]
  • ignore throughput [-164.057op/s; -82.048op/s] or [-2.090%; -1.045%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-955.294µs; -210.904µs] or [-0.476%; -0.105%]
  • ignore throughput [-17006.337op/s; -15548.308op/s] or [-4.708%; -4.304%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-170.940µs; +525.310µs] or [-0.085%; +0.263%]
  • 🟩 throughput [+43624.406op/s; +49809.668op/s] or [+8.257%; +9.428%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.808ms; +5.516ms] or [+0.916%; +2.796%]
  • ignore throughput [-2118.581op/s; +6408.617op/s] or [-0.501%; +1.517%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+301.318ms; +303.023ms] or [+150.180%; +151.030%]
  • ignore throughput [-510.607op/s; +849.415op/s] or [-0.337%; +0.561%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+302.398ms; +303.709ms] or [+151.850%; +152.508%]
  • ignore throughput [+4608.966op/s; +6175.510op/s] or [+2.004%; +2.686%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+302.723ms; +305.063ms] or [+153.522%; +154.708%]
  • ignore throughput [+696.672op/s; +2545.646op/s] or [+0.392%; +1.434%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.678ms; +300.214ms] or [+149.481%; +149.748%]
  • 🟩 throughput [+61385920.052op/s; +61624835.993op/s] or [+44.705%; +44.879%]

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

  • ignore allocated_mem [+53 bytes; +55 bytes] or [+0.313%; +0.323%]
  • unstable execution_time [+339.319ms; +386.379ms] or [+422.004%; +480.531%]
  • 🟩 throughput [+966.865op/s; +1154.624op/s] or [+7.474%; +8.926%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.068ms; +299.953ms] or [+149.168%; +149.610%]
  • ignore throughput [+1932075.508op/s; +2868890.109op/s] or [+0.856%; +1.271%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-622.360µs; +84.834µs] or [-0.311%; +0.042%]
  • ignore throughput [-22621.787op/s; -16293.491op/s] or [-2.525%; -1.818%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-5.159ms; -3.954ms] or [-2.527%; -1.937%]
  • 🟩 throughput [+83219.201op/s; +94279.235op/s] or [+7.770%; +8.803%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [+1.069ms; +5.166ms] or [+0.541%; +2.614%]
  • 🟩 throughput [+45273.996op/s; +64848.108op/s] or [+5.240%; +7.506%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+446.325µs; +850.961µs] or [+0.223%; +0.425%]
  • ignore throughput [-32784.828op/s; -25330.545op/s] or [-3.001%; -2.319%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+5.951ms; +10.045ms] or [+3.100%; +5.234%]
  • 🟩 throughput [+88520.974op/s; +117952.386op/s] or [+6.852%; +9.130%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-4.211ms; -2.785ms] or [-2.069%; -1.368%]
  • 🟩 throughput [+83989.615op/s; +92091.813op/s] or [+8.342%; +9.146%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1035.108µs; +219.960µs] or [-0.515%; +0.109%]
  • ignore throughput [+9208.900op/s; +12466.879op/s] or [+2.052%; +2.778%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [+36.867µs; +1628.186µs] or [+0.018%; +0.813%]
  • 🟩 throughput [+50885.305op/s; +57000.600op/s] or [+9.240%; +10.350%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [+0.166ms; +4.255ms] or [+0.083%; +2.138%]
  • 🟩 throughput [+22509.274op/s; +32358.304op/s] or [+5.038%; +7.243%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-808.949µs; +170.700µs] or [-0.403%; +0.085%]
  • ignore throughput [-33087.362op/s; -29382.708op/s] or [-4.843%; -4.300%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1497.524µs; +1994.806µs] or [-0.749%; +0.998%]
  • 🟩 throughput [+81607.702op/s; +98865.322op/s] or [+9.118%; +11.046%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.485ms; +5.389ms] or [+0.754%; +2.737%]
  • ignore throughput [+21377.465op/s; +36297.034op/s] or [+2.985%; +5.068%]

@andrewlock
andrewlock enabled auto-merge (squash) April 14, 2026 15:23
@andrewlock
andrewlock disabled auto-merge April 14, 2026 15:23
@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8453) 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
duration71.28 ± (71.35 - 71.63) ms71.57 ± (71.59 - 71.92) ms+0.4%✅⬆️
.NET Framework 4.8 - Bailout
duration75.44 ± (75.38 - 75.76) ms75.84 ± (75.63 - 76.08) ms+0.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1067.68 ± (1068.98 - 1076.01) ms1069.21 ± (1068.35 - 1073.57) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.20 ± (22.17 - 22.24) ms22.16 ± (22.12 - 22.19) ms-0.2%
process.time_to_main_ms83.60 ± (83.42 - 83.78) ms82.74 ± (82.56 - 82.92) ms-1.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.91 ± (10.91 - 10.91) MB-0.0%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.22 ± (22.19 - 22.26) ms22.16 ± (22.13 - 22.20) ms-0.3%
process.time_to_main_ms85.02 ± (84.83 - 85.22) ms84.49 ± (84.30 - 84.68) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.95 - 10.95) MB10.93 ± (10.93 - 10.94) MB-0.2%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms228.61 ± (227.50 - 229.73) ms225.49 ± (224.35 - 226.64) ms-1.4%
process.time_to_main_ms523.29 ± (522.13 - 524.45) ms514.70 ± (513.60 - 515.80) ms-1.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.43 ± (48.39 - 48.46) MB48.42 ± (48.39 - 48.45) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms20.90 ± (20.87 - 20.92) ms21.00 ± (20.97 - 21.04) ms+0.5%✅⬆️
process.time_to_main_ms72.02 ± (71.87 - 72.17) ms72.34 ± (72.17 - 72.51) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.62 - 10.62) MB10.64 ± (10.64 - 10.65) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.86 ± (20.82 - 20.89) ms20.92 ± (20.89 - 20.94) ms+0.3%✅⬆️
process.time_to_main_ms72.99 ± (72.82 - 73.15) ms73.33 ± (73.16 - 73.51) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.71 ± (10.71 - 10.71) MB10.76 ± (10.76 - 10.76) MB+0.5%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms385.47 ± (383.08 - 387.86) ms382.65 ± (380.51 - 384.80) ms-0.7%
process.time_to_main_ms517.62 ± (516.76 - 518.47) ms522.42 ± (521.30 - 523.55) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.87 ± (49.84 - 49.90) MB50.11 ± (50.09 - 50.14) MB+0.5%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.21 ± (19.18 - 19.25) ms19.27 ± (19.24 - 19.30) ms+0.3%✅⬆️
process.time_to_main_ms71.86 ± (71.71 - 72.01) ms71.99 ± (71.83 - 72.16) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.67) MB7.69 ± (7.68 - 7.69) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.16 ± (19.12 - 19.20) ms19.24 ± (19.20 - 19.28) ms+0.4%✅⬆️
process.time_to_main_ms72.38 ± (72.22 - 72.55) ms72.44 ± (72.31 - 72.58) ms+0.1%✅⬆️
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.72) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms302.51 ± (300.41 - 304.60) ms305.51 ± (303.28 - 307.75) ms+1.0%✅⬆️
process.time_to_main_ms477.67 ± (476.84 - 478.49) ms477.85 ± (477.04 - 478.66) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.05 ± (37.03 - 37.08) MB37.12 ± (37.10 - 37.14) MB+0.2%✅⬆️
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
duration208.12 ± (207.76 - 208.67) ms208.06 ± (207.88 - 208.73) ms-0.0%
.NET Framework 4.8 - Bailout
duration211.53 ± (211.34 - 211.98) ms213.95 ± (213.76 - 214.44) ms+1.1%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1213.83 ± (1213.72 - 1221.54) ms1219.44 ± (1217.95 - 1224.24) ms+0.5%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms202.71 ± (202.27 - 203.14) ms203.76 ± (203.42 - 204.11) ms+0.5%✅⬆️
process.time_to_main_ms88.22 ± (87.97 - 88.47) ms89.04 ± (88.79 - 89.28) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.97 ± (15.95 - 16.00) MB15.92 ± (15.90 - 15.94) MB-0.3%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.5%
.NET Core 3.1 - Bailout
process.internal_duration_ms201.35 ± (200.92 - 201.77) ms204.02 ± (203.60 - 204.44) ms+1.3%✅⬆️
process.time_to_main_ms89.23 ± (89.00 - 89.47) ms90.44 ± (90.16 - 90.72) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.03 - 16.08) MB16.02 ± (15.99 - 16.04) MB-0.3%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.2%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms415.82 ± (414.63 - 417.02) ms417.69 ± (416.35 - 419.04) ms+0.4%✅⬆️
process.time_to_main_ms544.38 ± (543.26 - 545.51) ms544.04 ± (542.67 - 545.41) ms-0.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.32 ± (59.28 - 59.37) MB59.24 ± (59.20 - 59.28) MB-0.1%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.6%
.NET 6 - Baseline
process.internal_duration_ms208.09 ± (207.67 - 208.52) ms208.71 ± (208.28 - 209.14) ms+0.3%✅⬆️
process.time_to_main_ms76.83 ± (76.63 - 77.04) ms77.17 ± (76.93 - 77.41) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.28 ± (16.26 - 16.30) MB16.25 ± (16.23 - 16.28) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (19 - 20)+1.1%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms207.18 ± (206.81 - 207.55) ms208.26 ± (207.99 - 208.53) ms+0.5%✅⬆️
process.time_to_main_ms77.98 ± (77.81 - 78.14) ms78.27 ± (78.11 - 78.43) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.30 ± (16.27 - 16.32) MB16.31 ± (16.29 - 16.34) MB+0.1%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)20 ± (20 - 20)-0.9%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms595.03 ± (592.42 - 597.64) ms600.26 ± (597.64 - 602.89) ms+0.9%✅⬆️
process.time_to_main_ms549.58 ± (548.06 - 551.10) ms549.60 ± (548.20 - 551.00) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.25 ± (61.12 - 61.37) MB61.58 ± (61.46 - 61.70) MB+0.5%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms205.65 ± (205.32 - 205.98) ms205.46 ± (205.14 - 205.79) ms-0.1%
process.time_to_main_ms75.99 ± (75.78 - 76.19) ms76.21 ± (76.00 - 76.41) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.61 ± (11.59 - 11.63) MB11.61 ± (11.59 - 11.63) MB+0.0%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-1.1%
.NET 8 - Bailout
process.internal_duration_ms204.18 ± (203.83 - 204.53) ms206.14 ± (205.74 - 206.55) ms+1.0%✅⬆️
process.time_to_main_ms76.93 ± (76.77 - 77.09) ms78.11 ± (77.93 - 78.28) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.67 ± (11.65 - 11.69) MB11.63 ± (11.62 - 11.65) MB-0.3%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.9%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms539.32 ± (532.21 - 546.43) ms520.48 ± (515.87 - 525.09) ms-3.5%
process.time_to_main_ms505.16 ± (504.26 - 506.07) ms505.36 ± (504.48 - 506.23) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.84 ± (50.76 - 50.93) MB50.65 ± (50.59 - 50.70) MB-0.4%
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 (8453) - mean (72ms)  : 69, 74
    master - mean (71ms)  : 69, 73

    section Bailout
    This PR (8453) - mean (76ms)  : 73, 78
    master - mean (76ms)  : 73, 78

    section CallTarget+Inlining+NGEN
    This PR (8453) - mean (1,071ms)  : 1033, 1108
    master - mean (1,072ms)  : 1022, 1123

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 (8453) - mean (111ms)  : 108, 115
    master - mean (113ms)  : 109, 116

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

    section CallTarget+Inlining+NGEN
    This PR (8453) - mean (778ms)  : 754, 801
    master - mean (789ms)  : 769, 809

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

    section Bailout
    This PR (8453) - mean (100ms)  : 97, 104
    master - mean (100ms)  : 97, 103

    section CallTarget+Inlining+NGEN
    This PR (8453) - mean (935ms)  : 896, 974
    master - mean (929ms)  : 896, 963

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

    section Bailout
    This PR (8453) - mean (99ms)  : 97, 101
    master - mean (99ms)  : 96, 102

    section CallTarget+Inlining+NGEN
    This PR (8453) - mean (813ms)  : 776, 850
    master - mean (811ms)  : 778, 845

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 (8453) - mean (208ms)  : 204, 212
    master - mean (208ms)  : 204, 213

    section Bailout
    This PR (8453) - mean (214ms)  : 211, 217
    master - mean (212ms)  : 209, 215

    section CallTarget+Inlining+NGEN
    This PR (8453) - mean (1,221ms)  : 1177, 1266
    master - mean (1,218ms)  : 1159, 1276

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 (8453) - mean (302ms)  : 297, 308
    master - mean (300ms)  : 293, 307

    section Bailout
    This PR (8453) - mean (304ms)  : 298, 309
    master - mean (300ms)  : 295, 305

    section CallTarget+Inlining+NGEN
    This PR (8453) - mean (996ms)  : 965, 1026
    master - mean (995ms)  : 970, 1020

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8453) - mean (295ms)  : 289, 301
    master - mean (294ms)  : 287, 300

    section Bailout
    This PR (8453) - mean (296ms)  : 292, 299
    master - mean (294ms)  : 288, 300

    section CallTarget+Inlining+NGEN
    This PR (8453) - mean (1,180ms)  : 1142, 1218
    master - mean (1,176ms)  : 1138, 1213

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8453) - mean (292ms)  : 288, 297
    master - mean (292ms)  : 287, 297

    section Bailout
    This PR (8453) - mean (295ms)  : 289, 300
    master - mean (291ms)  : 286, 296

    section CallTarget+Inlining+NGEN
    This PR (8453) - mean (1,060ms)  : 991, 1129
    master - mean (1,078ms)  : 974, 1182

Loading

@andrewlock
andrewlock enabled auto-merge (squash) April 15, 2026 08:44
@andrewlock
andrewlock merged commit 6963bde into master Apr 15, 2026
137 of 138 checks passed
@andrewlock
andrewlock deleted the andrew/fix-benchmarks branch April 15, 2026 09:29
@github-actions github-actions Bot added this to the vNext-v3 milestone Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants