Skip to content

[Dynamic instrumentation] DEBUG-3374 support @key and @value in EL hash iteration#8511

Merged
dudikeleti merged 2 commits intomasterfrom
dudik/el/hash-key-value
Apr 28, 2026
Merged

[Dynamic instrumentation] DEBUG-3374 support @key and @value in EL hash iteration#8511
dudikeleti merged 2 commits intomasterfrom
dudik/el/hash-key-value

Conversation

@dudikeleti
Copy link
Copy Markdown
Contributor

Summary of changes

Add @key and @value iterator tokens to the debugger expression language for dictionary/hash iteration.

Reason for change

  • The debugger EL already supported @it for collection iteration, but it could not express dictionary entry predicates using key/value semantics.

Implementation details

  • Dictionary iteration now resolves to KeyValuePair<TKey, TValue> for generic dictionaries and DictionaryEntry for non-generic IDictionary implementations.
  • @key and @value are only valid inside dictionary-entry iteration; outside that context they fall back to the existing undefined/error behavior.
  • Nested conditional parsing now threads the iterator parameter through and / or, which is required for combined predicates inside collection lambdas.
  • Tests cover both a decomposed form:
    • any(filter(ref DictionaryLocal, { @key == 'hello' }), { @value == 'world' })
  • And the direct combined form:
    • any(ref DictionaryLocal, { @key == 'hello' && @value == 'world' })

Test coverage

  • DebuggerExpressionLanguageTests.TestConditions
  • DebuggerExpressionLanguageTests.TestConditions

@dudikeleti dudikeleti requested a review from a team as a code owner April 23, 2026 13:03
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 17db35d614

ℹ️ About Codex in GitHub

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

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

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

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

Comment on lines +223 to +226
if (typeof(IDictionary).IsAssignableFrom(sourceType))
{
return typeof(DictionaryEntry);
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Handle non-generic dictionaries in the predicate path

For non-generic dictionary inputs such as Hashtable/IDictionary, this new branch is never reached: Predicate first rejects the source with IsSafeCollection, and IsCollection only recognizes generic collection interfaces. That means any(ref HashtableLocal, { @key == ... }) is compiled as a default-true condition with an error instead of evaluating the entries, despite the added DictionaryEntry path; the source also needs to be allowed/cast into an IEnumerable<DictionaryEntry> path before invoking LINQ.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Apr 23, 2026

Benchmarks

Benchmark execution time: 2026-04-28 13:23:12

Comparing candidate commit 5b2d11a in PR branch dudik/el/hash-key-value with baseline commit 37b6bcd in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 metrics, 0 unstable metrics, 58 known flaky benchmarks, 29 flaky benchmarks without significant changes.

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 net6.0

  • 🟩 throughput [+7901.075op/s; +10078.413op/s] or [+6.641%; +8.471%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+315.471ms; +319.649ms] or [+156.548%; +158.621%]
  • 🟥 throughput [-49.578op/s; -45.002op/s] or [-8.920%; -8.097%]

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

  • 🟥 execution_time [+377.318ms; +379.600ms] or [+298.104%; +299.907%]
  • 🟩 throughput [+99.125op/s; +101.113op/s] or [+13.069%; +13.331%]

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

  • 🟥 execution_time [+396.035ms; +398.258ms] or [+350.476%; +352.444%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.942ms; -11.761ms] or [-7.445%; -5.493%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • 🟥 throughput [-265603.045op/s; -262571.049op/s] or [-27.119%; -26.810%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-25.544ms; -20.663ms] or [-11.392%; -9.215%]
  • 🟥 throughput [-70514.947op/s; -47937.982op/s] or [-7.533%; -5.121%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • 🟥 throughput [-139782.038op/s; -123821.012op/s] or [-20.084%; -17.791%]

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

  • 🟩 throughput [+8515.564op/s; +11498.526op/s] or [+5.418%; +7.316%]

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

  • 🟩 throughput [+6661.177op/s; +9298.487op/s] or [+5.306%; +7.407%]

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

  • 🟩 throughput [+347870.613op/s; +368875.532op/s] or [+11.599%; +12.300%]

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

  • 🟩 execution_time [-19.021ms; -14.682ms] or [-8.768%; -6.768%]
  • 🟩 throughput [+200321.755op/s; +253898.279op/s] or [+7.951%; +10.078%]

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

  • 🟥 execution_time [+300.001ms; +300.638ms] or [+149.900%; +150.219%]

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

  • 🟥 execution_time [+299.425ms; +307.942ms] or [+151.001%; +155.296%]

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

  • 🟥 execution_time [+300.065ms; +302.565ms] or [+151.149%; +152.409%]

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

  • 🟥 execution_time [+297.306ms; +298.040ms] or [+146.025%; +146.385%]

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

  • 🟥 execution_time [+296.116ms; +298.943ms] or [+144.760%; +146.142%]

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

  • 🟥 execution_time [+301.548ms; +303.291ms] or [+150.713%; +151.584%]

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

  • 🟥 execution_time [+21.665µs; +45.226µs] or [+6.917%; +14.438%]
  • 🟥 throughput [-422.217op/s; -223.919op/s] or [-13.162%; -6.980%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.857ms; +300.501ms] or [+149.660%; +149.981%]

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

  • 🟥 execution_time [+415.309ms; +419.571ms] or [+451.250%; +455.881%]
  • 🟩 throughput [+1110.188op/s; +1240.668op/s] or [+9.123%; +10.195%]

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

  • unstable execution_time [+279.939ms; +322.792ms] or [+212.555%; +245.093%]
  • 🟩 throughput [+643.367op/s; +846.812op/s] or [+6.228%; +8.198%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+304.297ms; +339.525ms] or [+139.913%; +156.110%]
  • 🟥 throughput [-514.715op/s; -484.029op/s] or [-46.638%; -43.858%]

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

  • unstable execution_time [+203.956ms; +337.187ms] or [+86.918%; +143.695%]
  • 🟥 throughput [-676.376op/s; -592.849op/s] or [-45.114%; -39.543%]

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

  • 🟥 execution_time [+343.670ms; +352.685ms] or [+205.555%; +210.946%]
  • 🟥 throughput [-419.564op/s; -383.768op/s] or [-29.214%; -26.721%]

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

  • 🟩 execution_time [-159.584µs; -128.525µs] or [-8.084%; -6.511%]
  • 🟩 throughput [+36.544op/s; +45.041op/s] or [+7.214%; +8.892%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+299.977ms; +301.777ms] or [+151.062%; +151.969%]

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

  • 🟥 execution_time [+301.765ms; +303.486ms] or [+151.215%; +152.077%]

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

  • 🟥 execution_time [+300.556ms; +303.939ms] or [+150.987%; +152.686%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.609ms; +303.841ms] or [+151.960%; +152.579%]

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

  • 🟥 execution_time [+297.953ms; +300.253ms] or [+147.325%; +148.462%]

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

  • 🟥 execution_time [+303.342ms; +306.808ms] or [+153.747%; +155.504%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+298.566ms; +300.223ms] or [+149.853%; +150.685%]

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

  • 🟥 execution_time [+301.629ms; +303.756ms] or [+150.334%; +151.395%]
  • 🟩 throughput [+42250.696op/s; +47824.976op/s] or [+8.390%; +9.496%]

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

  • 🟥 execution_time [+299.674ms; +302.613ms] or [+149.085%; +150.547%]

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

  • 🟩 execution_time [-16.243ms; -12.587ms] or [-7.553%; -5.853%]

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

  • 🟩 allocated_mem [-18.905KB; -18.885KB] or [-6.896%; -6.889%]
  • unstable execution_time [-8.368µs; +43.472µs] or [-1.654%; +8.592%]

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

  • 🟩 allocated_mem [-16.896KB; -16.880KB] or [-6.159%; -6.154%]
  • unstable execution_time [-43.439µs; +15.246µs] or [-7.528%; +2.642%]

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

  • 🟥 execution_time [+5.953µs; +10.025µs] or [+14.072%; +23.696%]
  • 🟥 throughput [-4553.383op/s; -2768.086op/s] or [-19.168%; -11.653%]

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

  • unstable execution_time [-14.550µs; -7.202µs] or [-22.573%; -11.174%]
  • 🟩 throughput [+1957.847op/s; +3517.228op/s] or [+12.012%; +21.579%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.667ms; +303.852ms] or [+152.985%; +153.584%]

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

  • 🟥 execution_time [+303.064ms; +305.193ms] or [+154.259%; +155.342%]

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

  • 🟥 execution_time [+300.316ms; +302.309ms] or [+150.345%; +151.343%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.000ms; +301.515ms] or [+149.523%; +150.278%]

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

  • 🟥 execution_time [+301.845ms; +303.072ms] or [+151.572%; +152.188%]

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

  • 🟥 execution_time [+302.813ms; +304.883ms] or [+153.567%; +154.617%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.610ms; +300.369ms] or [+149.447%; +149.826%]
  • 🟩 throughput [+66271546.850op/s; +66552842.696op/s] or [+48.263%; +48.468%]

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

  • unstable execution_time [+316.851ms; +366.405ms] or [+394.060%; +455.690%]
  • 🟩 throughput [+758.780op/s; +1012.580op/s] or [+5.866%; +7.828%]

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

  • 🟥 execution_time [+299.724ms; +300.654ms] or [+149.495%; +149.959%]
  • 🟩 throughput [+16294814.075op/s; +18315052.443op/s] or [+7.218%; +8.112%]

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

  • 🟩 throughput [+82201.465op/s; +90349.801op/s] or [+7.675%; +8.436%]

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

  • 🟩 throughput [+66093.376op/s; +85296.286op/s] or [+7.650%; +9.873%]

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

  • 🟩 throughput [+80894.603op/s; +110741.384op/s] or [+6.261%; +8.572%]

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

  • 🟩 throughput [+82321.059op/s; +91976.319op/s] or [+8.176%; +9.135%]

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

  • 🟩 throughput [+51757.793op/s; +56401.501op/s] or [+9.398%; +10.241%]

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

  • 🟩 throughput [+25855.653op/s; +35819.533op/s] or [+5.787%; +8.018%]

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

  • 🟩 throughput [+92937.226op/s; +109922.861op/s] or [+10.383%; +12.281%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

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

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8511) 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
duration75.88 ± (75.61 - 76.22) ms74.69 ± (74.39 - 75.02) ms-1.6%
.NET Framework 4.8 - Bailout
duration77.76 ± (77.68 - 78.13) ms77.40 ± (77.34 - 77.73) ms-0.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1079.13 ± (1077.97 - 1085.26) ms1072.89 ± (1072.33 - 1078.31) ms-0.6%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.98 ± (22.92 - 23.04) ms22.61 ± (22.56 - 22.66) ms-1.6%
process.time_to_main_ms87.32 ± (86.99 - 87.65) ms86.52 ± (86.21 - 86.83) ms-0.9%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.90 ± (10.90 - 10.90) MB-0.1%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.54 ± (22.50 - 22.57) ms22.34 ± (22.30 - 22.39) ms-0.9%
process.time_to_main_ms85.84 ± (85.64 - 86.05) ms85.79 ± (85.58 - 86.00) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.89 - 10.90) MB10.92 ± (10.92 - 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_ms213.48 ± (212.66 - 214.29) ms212.56 ± (211.72 - 213.41) ms-0.4%
process.time_to_main_ms528.31 ± (526.96 - 529.66) ms527.89 ± (526.54 - 529.24) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed47.81 ± (47.78 - 47.84) MB47.86 ± (47.83 - 47.88) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.63 ± (21.57 - 21.70) ms21.65 ± (21.59 - 21.71) ms+0.1%✅⬆️
process.time_to_main_ms75.62 ± (75.32 - 75.92) ms76.09 ± (75.82 - 76.37) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.62 ± (10.62 - 10.62) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.22 ± (21.18 - 21.26) ms21.30 ± (21.25 - 21.35) ms+0.4%✅⬆️
process.time_to_main_ms74.59 ± (74.42 - 74.76) ms75.35 ± (75.10 - 75.59) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.71 - 10.72) 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_ms381.00 ± (378.96 - 383.04) ms382.03 ± (379.91 - 384.15) ms+0.3%✅⬆️
process.time_to_main_ms527.17 ± (525.78 - 528.56) ms530.24 ± (528.97 - 531.51) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.16 ± (49.13 - 49.18) MB49.28 ± (49.26 - 49.31) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 8 - Baseline
process.internal_duration_ms19.45 ± (19.40 - 19.49) ms19.56 ± (19.53 - 19.60) ms+0.6%✅⬆️
process.time_to_main_ms73.16 ± (72.95 - 73.37) ms73.22 ± (73.05 - 73.39) ms+0.1%✅⬆️
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_ms20.01 ± (19.92 - 20.09) ms19.99 ± (19.93 - 20.04) ms-0.1%
process.time_to_main_ms77.58 ± (77.23 - 77.93) ms76.94 ± (76.67 - 77.21) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.72 - 7.73) MB7.70 ± (7.69 - 7.70) MB-0.3%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms301.18 ± (298.79 - 303.56) ms301.87 ± (299.59 - 304.15) ms+0.2%✅⬆️
process.time_to_main_ms487.62 ± (486.46 - 488.77) ms486.97 ± (485.77 - 488.17) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.58 ± (36.54 - 36.61) MB36.53 ± (36.49 - 36.56) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.4%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration202.21 ± (202.07 - 203.01) ms204.74 ± (204.17 - 205.35) ms+1.3%✅⬆️
.NET Framework 4.8 - Bailout
duration205.53 ± (205.28 - 206.43) ms208.38 ± (208.39 - 209.56) ms+1.4%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1188.66 ± (1188.18 - 1196.98) ms1203.16 ± (1201.21 - 1208.86) ms+1.2%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms193.04 ± (192.57 - 193.50) ms198.06 ± (197.44 - 198.69) ms+2.6%✅⬆️
process.time_to_main_ms83.87 ± (83.66 - 84.08) ms86.19 ± (85.82 - 86.57) ms+2.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.09 - 16.12) MB15.98 ± (15.97 - 16.00) MB-0.7%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-0.2%
.NET Core 3.1 - Bailout
process.internal_duration_ms193.38 ± (192.89 - 193.87) ms198.48 ± (197.87 - 199.09) ms+2.6%✅⬆️
process.time_to_main_ms85.41 ± (85.20 - 85.62) ms87.94 ± (87.61 - 88.27) ms+3.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.11 ± (16.09 - 16.13) MB16.02 ± (16.00 - 16.04) MB-0.6%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.3%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms383.69 ± (382.45 - 384.93) ms391.43 ± (389.89 - 392.96) ms+2.0%✅⬆️
process.time_to_main_ms519.57 ± (518.26 - 520.89) ms532.90 ± (531.52 - 534.29) ms+2.6%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed56.89 ± (56.73 - 57.04) MB57.64 ± (57.45 - 57.83) MB+1.3%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms197.23 ± (196.73 - 197.72) ms203.12 ± (202.55 - 203.70) ms+3.0%✅⬆️
process.time_to_main_ms72.80 ± (72.61 - 73.00) ms74.53 ± (74.27 - 74.80) ms+2.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.37 ± (16.35 - 16.39) MB16.33 ± (16.31 - 16.34) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.5%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms196.49 ± (196.03 - 196.96) ms201.48 ± (201.00 - 201.97) ms+2.5%✅⬆️
process.time_to_main_ms73.65 ± (73.46 - 73.84) ms74.82 ± (74.61 - 75.02) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.42 ± (16.40 - 16.45) MB16.35 ± (16.33 - 16.37) MB-0.5%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.5%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms594.40 ± (591.57 - 597.22) ms592.16 ± (589.15 - 595.16) ms-0.4%
process.time_to_main_ms523.36 ± (522.27 - 524.46) ms533.96 ± (532.85 - 535.08) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed60.74 ± (60.64 - 60.85) MB60.87 ± (60.77 - 60.97) MB+0.2%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.4%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms196.12 ± (195.66 - 196.58) ms202.55 ± (201.90 - 203.20) ms+3.3%✅⬆️
process.time_to_main_ms72.25 ± (72.02 - 72.49) ms74.38 ± (74.10 - 74.66) ms+2.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.65 ± (11.63 - 11.67) MB11.61 ± (11.59 - 11.62) MB-0.4%
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (19 - 19)+2.0%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms197.69 ± (197.23 - 198.15) ms200.84 ± (200.25 - 201.42) ms+1.6%✅⬆️
process.time_to_main_ms74.15 ± (73.95 - 74.35) ms75.17 ± (74.94 - 75.41) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.67 ± (11.66 - 11.69) MB11.67 ± (11.66 - 11.68) MB-0.0%
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+1.2%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms522.35 ± (519.55 - 525.15) ms541.70 ± (535.00 - 548.40) ms+3.7%✅⬆️
process.time_to_main_ms485.65 ± (484.68 - 486.62) ms498.00 ± (496.74 - 499.26) ms+2.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.27 ± (50.23 - 50.31) MB50.38 ± (50.31 - 50.45) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.4%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8511) - mean (75ms)  : 70, 79
    master - mean (76ms)  : 71, 80

    section Bailout
    This PR (8511) - mean (78ms)  : 75, 80
    master - mean (78ms)  : 75, 81

    section CallTarget+Inlining+NGEN
    This PR (8511) - mean (1,075ms)  : 1033, 1118
    master - mean (1,082ms)  : 1028, 1136

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 (8511) - mean (116ms)  : 110, 123
    master - mean (118ms)  : 112, 123

    section Bailout
    This PR (8511) - mean (115ms)  : 112, 118
    master - mean (115ms)  : 113, 118

    section CallTarget+Inlining+NGEN
    This PR (8511) - mean (779ms)  : 746, 812
    master - mean (778ms)  : 750, 806

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

    section Bailout
    This PR (8511) - mean (103ms)  : 98, 108
    master - mean (102ms)  : 100, 104

    section CallTarget+Inlining+NGEN
    This PR (8511) - mean (940ms)  : 909, 970
    master - mean (938ms)  : 899, 977

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

    section Bailout
    This PR (8511) - mean (105ms)  : 99, 111
    master - mean (106ms)  : 101, 110

    section CallTarget+Inlining+NGEN
    This PR (8511) - mean (821ms)  : 780, 862
    master - mean (820ms)  : 778, 862

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 (8511) - mean (205ms)  : 196, 214
    master - mean (203ms)  : 196, 209

    section Bailout
    This PR (8511) - mean (209ms)  : 200, 218
    master - mean (206ms)  : 198, 213

    section CallTarget+Inlining+NGEN
    This PR (8511) - mean (1,205ms)  : 1148, 1262
    master - mean (1,193ms)  : 1126, 1259

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 (8511) - mean (294ms)  : 278, 310
    master - mean (286ms)  : 278, 295

    section Bailout
    This PR (8511) - mean (296ms)  : 282, 311
    master - mean (288ms)  : 280, 297

    section CallTarget+Inlining+NGEN
    This PR (8511) - mean (963ms)  : 934, 992
    master - mean (936ms)  : 911, 962

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8511) - mean (288ms)  : 272, 303
    master - mean (279ms)  : 268, 289

    section Bailout
    This PR (8511) - mean (285ms)  : 274, 297
    master - mean (279ms)  : 268, 290

    section CallTarget+Inlining+NGEN
    This PR (8511) - mean (1,160ms)  : 1116, 1203
    master - mean (1,147ms)  : 1104, 1191

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8511) - mean (289ms)  : 276, 301
    master - mean (279ms)  : 268, 289

    section Bailout
    This PR (8511) - mean (287ms)  : 275, 299
    master - mean (282ms)  : 272, 293

    section CallTarget+Inlining+NGEN
    This PR (8511) - mean (1,082ms)  : 963, 1200
    master - mean (1,040ms)  : 996, 1085

Loading

@dudikeleti dudikeleti force-pushed the dudik/el/hash-key-value branch from 17db35d to 5b2d11a Compare April 28, 2026 12:13
@dudikeleti dudikeleti enabled auto-merge (squash) April 28, 2026 21:33
@dudikeleti dudikeleti merged commit 47d448a into master Apr 28, 2026
142 of 144 checks passed
@dudikeleti dudikeleti deleted the dudik/el/hash-key-value branch April 28, 2026 21:44
@github-actions github-actions Bot added this to the vNext-v3 milestone Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants