Skip to content

[SDTEST-2993] Switch to paginated endpoint for retrieving known tests#8380

Draft
calvinbayer wants to merge 3 commits intomasterfrom
calvin.bayer/SDTEST-2993/known-tests-pagination
Draft

[SDTEST-2993] Switch to paginated endpoint for retrieving known tests#8380
calvinbayer wants to merge 3 commits intomasterfrom
calvin.bayer/SDTEST-2993/known-tests-pagination

Conversation

@calvinbayer
Copy link
Copy Markdown

Summary

  • Implements cursor-based pagination for the known tests API endpoint (api/v2/ci/libraries/tests) as part of SDTEST-2993
  • The client now sends page_info in requests and follows has_next/cursor pagination, deep-merging test results across all pages
  • Includes a 10,000 page safety valve and all-or-nothing error handling (any page failure returns default)
  • Backward compatible: responses without page_info are treated as single-page (existing behavior)

Changes

  • tracer/src/Datadog.Trace/Ci/Net/TestOptimizationClient.GetKnownTestsAsync.cs — Core pagination loop with MergeKnownTests(), new PageInfoRequest/PageInfoResponse/KnownTestsPageResponse DTOs
  • tracer/test/.../CI/TestingFrameworkEvpTest.cs — Mock server supports paginated response mode via TestsJsonPages array
  • tracer/test/.../CI/XUnitEvpTests.cs — New efd_with_test_bypass_paginated test scenario
  • tracer/test/snapshots/XUnitEvpTests.EarlyFlakeDetection_efd_with_test_bypass_paginated.verified.txt — Snapshot for paginated scenario

Test plan

  • All 90 existing TestOptimization unit tests pass
  • New paginated integration test scenario added
  • CI pipeline validation

🤖 Generated with Claude Code

The known tests endpoint now returns results page by page instead of in
a single bulk response. This reduces load on the backend storage layer
and avoids timeouts for repositories with large numbers of tests.

The client sends page_info:{} on the first request to signal pagination
support, then follows cursor-based pagination until has_next is false.
Results are merged locally across all pages. A 10,000-page safety valve
prevents runaway loops. Backward compatible with non-paginated responses.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@calvinbayer calvinbayer added area:ci-visibility type:enhancement Improvement to an existing feature labels Mar 26, 2026
- Change KnownTestsSuites value type from string[] to List<string>
  and use AddRange instead of allocating new arrays for merging
- Extract pageResponse.Value and pageInfo.Value.Cursor to local vars
- Use StringUtil.IsNullOrEmpty instead of string.IsNullOrEmpty
- Rename TestsJsonPages to KnownTestsJsonPages in MockData
- Return collected data instead of default when hitting max pages limit

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
}
else
{
var merged = new string[existingTests.Length + suiteEntry.Value.Length];
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

(from @tonyredondo on #8379)

oh for each suite in different pages it will allocate new string arrays, I think it will be better change the type to a List and just call AddRange from here.

Tests = tests;
}

public sealed class KnownTestsSuites : Dictionary<string, string[]?>
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

(from @tonyredondo on #8379)

here, that string[] can be changed to List<string>

Comment on lines +84 to +87
MergeKnownTests(ref aggregateTests, pageResponse.Value.Tests);

// Check pagination
var pageInfo = pageResponse.Value.PageInfo;
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

(from @tonyredondo on #8379)

nit, you can create a local variable to store pageResponse.Value and reuse it.

Comment on lines +94 to +100
if (string.IsNullOrEmpty(pageInfo.Value.Cursor))
{
Log.Warning<int>("TestOptimizationClient: Known tests response has has_next=true but no cursor on page {PageNumber}. Aborting pagination.", pageNumber);
return default;
}

pageState = pageInfo.Value.Cursor;
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

(from @tonyredondo on #8379)

nit: same here pageInfo.Value.Cursor is used twice here, we can declare a local var to store it in the stack a reuse it.

Also, we prefer StringUtil.IsNullOrEmpty instead of string.IsNullOrEmpty (not the first time in this block of code)

/// pages sequentially instead of <see cref="TestsJson"/>. Each entry must be a complete
/// JSON response including page_info with cursor/has_next.
/// </summary>
public readonly string[]? TestsJsonPages;
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

(from @tonyredondo on #8379)

the name of the variable should be KnownTestsJsonPages right?

Comment on lines +104 to 108
if (pageNumber >= MaxKnownTestsPages)
{
Log.Warning<int>("TestOptimizationClient: Known tests pagination exceeded maximum of {MaxPages} pages. Aborting.", MaxKnownTestsPages);
return default;
}
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

(from @tonyredondo on #8379)

doing all the serialization, deserialization network request work for 10000 pages to throw it all here. Feels like a waste of resources.

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Mar 26, 2026

Benchmarks

Benchmark execution time: 2026-03-29 20:59:26

Comparing candidate commit af1697b in PR branch calvin.bayer/SDTEST-2993/known-tests-pagination with baseline commit 5ff69b3 in branch master.

Found 7 performance improvements and 9 performance regressions! Performance is the same for 255 metrics, 17 unstable metrics.

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.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟩 execution_time [-26.068ms; -24.459ms] or [-11.730%; -11.006%]

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

  • 🟩 execution_time [-79.842ms; -78.555ms] or [-38.699%; -38.075%]

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

  • 🟥 execution_time [+22.493ms; +28.803ms] or [+11.341%; +14.522%]

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

  • 🟥 execution_time [+13.533ms; +19.703ms] or [+6.844%; +9.965%]

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

  • 🟩 throughput [+179879.013op/s; +183489.798op/s] or [+5.849%; +5.967%]

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

  • 🟥 execution_time [+15.018ms; +19.274ms] or [+7.496%; +9.621%]

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

  • 🟩 execution_time [-115.463ms; -102.516ms] or [-59.557%; -52.879%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+10.141ms; +14.819ms] or [+5.310%; +7.761%]

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

  • 🟩 execution_time [-69.574ms; -63.896ms] or [-29.246%; -26.859%]

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

  • 🟩 execution_time [-31.097ms; -26.730ms] or [-14.119%; -12.136%]

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

  • 🟥 throughput [-168.854op/s; -120.938op/s] or [-33.792%; -24.203%]

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

  • 🟩 allocated_mem [-14.817KB; -14.781KB] or [-5.425%; -5.412%]

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

  • 🟥 throughput [-2689.444op/s; -1144.695op/s] or [-12.971%; -5.521%]

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

  • 🟥 throughput [-15002.189op/s; -12220.532op/s] or [-8.413%; -6.853%]

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

  • 🟥 execution_time [+10.895ms; +15.366ms] or [+5.460%; +7.700%]

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

  • 🟥 execution_time [+16.642ms; +20.627ms] or [+8.483%; +10.515%]

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

dd-trace-dotnet-ci-bot bot commented Mar 26, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8380) 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.64 ± (71.72 - 72.05) ms71.73 ± (71.60 - 71.95) ms+0.1%✅⬆️
.NET Framework 4.8 - Bailout
duration75.72 ± (75.66 - 76.04) ms75.75 ± (75.60 - 75.96) ms+0.0%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1078.12 ± (1080.77 - 1089.09) ms1068.63 ± (1068.57 - 1073.72) ms-0.9%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.30 ± (22.26 - 22.33) ms22.05 ± (22.02 - 22.09) ms-1.1%
process.time_to_main_ms83.90 ± (83.71 - 84.09) ms82.87 ± (82.70 - 83.04) ms-1.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.90 - 10.91) MB10.90 ± (10.90 - 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.18 - 22.25) ms22.08 ± (22.03 - 22.12) ms-0.6%
process.time_to_main_ms85.40 ± (85.20 - 85.61) ms84.63 ± (84.42 - 84.85) ms-0.9%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.95) MB10.93 ± (10.93 - 10.94) MB-0.1%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms223.06 ± (221.94 - 224.17) ms221.65 ± (220.55 - 222.75) ms-0.6%
process.time_to_main_ms534.24 ± (532.98 - 535.51) ms529.64 ± (528.57 - 530.70) ms-0.9%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.26 ± (48.23 - 48.29) MB48.21 ± (48.17 - 48.24) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.3%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.05 ± (21.02 - 21.08) ms20.93 ± (20.90 - 20.97) ms-0.6%
process.time_to_main_ms72.21 ± (72.04 - 72.38) ms71.94 ± (71.78 - 72.09) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.62) MB10.64 ± (10.64 - 10.64) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.79 ± (20.75 - 20.83) ms20.85 ± (20.81 - 20.89) ms+0.3%✅⬆️
process.time_to_main_ms72.89 ± (72.72 - 73.05) ms73.09 ± (72.94 - 73.25) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.67 ± (10.66 - 10.67) MB10.75 ± (10.75 - 10.76) MB+0.8%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms387.32 ± (384.69 - 389.94) ms388.89 ± (386.34 - 391.44) ms+0.4%✅⬆️
process.time_to_main_ms530.60 ± (529.67 - 531.54) ms534.13 ± (532.96 - 535.29) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.29 ± (50.26 - 50.32) MB50.32 ± (50.29 - 50.35) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 29)28 ± (28 - 28)-0.6%
.NET 8 - Baseline
process.internal_duration_ms19.24 ± (19.20 - 19.27) ms19.16 ± (19.13 - 19.19) ms-0.4%
process.time_to_main_ms71.64 ± (71.48 - 71.80) ms71.47 ± (71.30 - 71.65) 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.69 - 7.70) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.17 ± (19.13 - 19.21) ms19.22 ± (19.19 - 19.24) ms+0.2%✅⬆️
process.time_to_main_ms72.49 ± (72.34 - 72.65) ms72.41 ± (72.25 - 72.57) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.77 ± (7.76 - 7.78) MB+0.5%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms309.29 ± (307.13 - 311.44) ms310.07 ± (308.03 - 312.10) ms+0.3%✅⬆️
process.time_to_main_ms490.90 ± (490.01 - 491.78) ms489.36 ± (488.53 - 490.19) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.21 ± (37.18 - 37.23) MB37.25 ± (37.23 - 37.27) 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
duration193.02 ± (192.93 - 193.73) ms192.74 ± (192.59 - 193.38) ms-0.1%
.NET Framework 4.8 - Bailout
duration196.91 ± (196.72 - 197.60) ms196.89 ± (196.79 - 197.61) ms-0.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1157.01 ± (1158.96 - 1166.55) ms1153.03 ± (1155.56 - 1163.42) ms-0.3%
.NET Core 3.1 - Baseline
process.internal_duration_ms188.25 ± (187.87 - 188.63) ms188.20 ± (187.89 - 188.51) ms-0.0%
process.time_to_main_ms81.00 ± (80.81 - 81.19) ms81.10 ± (80.88 - 81.32) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.19 ± (16.16 - 16.22) MB16.14 ± (16.11 - 16.17) MB-0.3%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.0%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms187.69 ± (187.29 - 188.10) ms188.14 ± (187.67 - 188.61) ms+0.2%✅⬆️
process.time_to_main_ms82.09 ± (81.91 - 82.27) ms82.38 ± (82.20 - 82.57) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.26 ± (16.22 - 16.29) MB16.20 ± (16.17 - 16.23) MB-0.3%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+1.0%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms394.83 ± (393.68 - 395.98) ms395.38 ± (394.28 - 396.48) ms+0.1%✅⬆️
process.time_to_main_ms524.88 ± (523.80 - 525.96) ms523.88 ± (522.79 - 524.97) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.81 ± (58.66 - 58.96) MB58.90 ± (58.75 - 59.04) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.0%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms192.57 ± (192.13 - 193.01) ms191.84 ± (191.52 - 192.16) ms-0.4%
process.time_to_main_ms70.24 ± (70.06 - 70.42) ms70.26 ± (70.08 - 70.43) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.22 ± (16.11 - 16.34) MB16.29 ± (16.17 - 16.41) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (18 - 19)19 ± (18 - 19)-0.1%
.NET 6 - Bailout
process.internal_duration_ms192.07 ± (191.74 - 192.39) ms191.28 ± (190.98 - 191.58) ms-0.4%
process.time_to_main_ms71.06 ± (70.94 - 71.18) ms70.86 ± (70.76 - 70.95) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.40 ± (16.32 - 16.47) MB16.20 ± (16.06 - 16.35) MB-1.2%
runtime.dotnet.threads.count20 ± (20 - 20)19 ± (19 - 20)-1.9%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms598.13 ± (595.34 - 600.93) ms598.29 ± (595.52 - 601.06) ms+0.0%✅⬆️
process.time_to_main_ms523.59 ± (522.72 - 524.45) ms524.07 ± (523.16 - 524.97) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.91 ± (61.81 - 62.00) MB61.89 ± (61.80 - 61.99) MB-0.0%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 8 - Baseline
process.internal_duration_ms190.00 ± (189.61 - 190.38) ms190.41 ± (189.99 - 190.84) ms+0.2%✅⬆️
process.time_to_main_ms69.55 ± (69.39 - 69.71) ms69.67 ± (69.46 - 69.88) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.75 ± (11.72 - 11.77) MB11.84 ± (11.81 - 11.87) MB+0.8%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.2%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms189.95 ± (189.48 - 190.42) ms188.92 ± (188.56 - 189.28) ms-0.5%
process.time_to_main_ms70.69 ± (70.54 - 70.83) ms70.45 ± (70.33 - 70.57) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.85 ± (11.82 - 11.88) MB11.86 ± (11.83 - 11.88) MB+0.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.7%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms521.32 ± (518.55 - 524.09) ms518.57 ± (516.13 - 521.02) ms-0.5%
process.time_to_main_ms482.06 ± (481.25 - 482.87) ms482.44 ± (481.66 - 483.23) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.97 ± (50.94 - 51.00) MB50.99 ± (50.96 - 51.02) MB+0.0%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
Comparison explanation

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

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

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

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

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8380) - mean (72ms)  : 69, 74
    master - mean (72ms)  : 69, 74

    section Bailout
    This PR (8380) - mean (76ms)  : 74, 78
    master - mean (76ms)  : 74, 78

    section CallTarget+Inlining+NGEN
    This PR (8380) - mean (1,071ms)  : 1034, 1108
    master - mean (1,085ms)  : 1026, 1144

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 (8380) - mean (112ms)  : 108, 115
    master - mean (113ms)  : 110, 116

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

    section CallTarget+Inlining+NGEN
    This PR (8380) - mean (791ms)  : 767, 814
    master - mean (796ms)  : 777, 815

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

    section Bailout
    This PR (8380) - mean (100ms)  : 97, 103
    master - mean (100ms)  : 97, 102

    section CallTarget+Inlining+NGEN
    This PR (8380) - mean (949ms)  : 909, 990
    master - mean (946ms)  : 900, 992

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

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

    section CallTarget+Inlining+NGEN
    This PR (8380) - mean (831ms)  : 798, 863
    master - mean (831ms)  : 801, 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 (8380) - mean (193ms)  : 189, 197
    master - mean (193ms)  : 189, 197

    section Bailout
    This PR (8380) - mean (197ms)  : 193, 201
    master - mean (197ms)  : 193, 201

    section CallTarget+Inlining+NGEN
    This PR (8380) - mean (1,159ms)  : 1103, 1216
    master - mean (1,163ms)  : 1108, 1217

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 (8380) - mean (278ms)  : 272, 284
    master - mean (278ms)  : 272, 284

    section Bailout
    This PR (8380) - mean (279ms)  : 274, 284
    master - mean (279ms)  : 274, 283

    section CallTarget+Inlining+NGEN
    This PR (8380) - mean (949ms)  : 919, 978
    master - mean (951ms)  : 923, 978

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8380) - mean (270ms)  : 265, 276
    master - mean (271ms)  : 265, 277

    section Bailout
    This PR (8380) - mean (270ms)  : 265, 275
    master - mean (271ms)  : 267, 276

    section CallTarget+Inlining+NGEN
    This PR (8380) - mean (1,153ms)  : 1116, 1191
    master - mean (1,152ms)  : 1113, 1190

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8380) - mean (270ms)  : 263, 276
    master - mean (269ms)  : 264, 275

    section Bailout
    This PR (8380) - mean (268ms)  : 264, 273
    master - mean (270ms)  : 264, 276

    section CallTarget+Inlining+NGEN
    This PR (8380) - mean (1,035ms)  : 997, 1072
    master - mean (1,036ms)  : 992, 1081

Loading

MergeKnownTests returned early without initializing the aggregate
dictionary when a page had Count: 0. This left aggregate as null,
causing KnownTestsFeature.Enabled to return false and preventing
EFD from activating.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci-visibility type:enhancement Improvement to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant