Skip to content

[Perf] Linux/x64: 7 Regressions on 10/8/2026 8:17:05 PM +00:00 #135682

Open

Description

@performanceautofiler

Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 5b5586c987e26b4c4faba0582bbcebe3dabb71ee
Compare 0fbca90b2ea9b25ca7b876f70cf67719c339a4d4
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Regressions in System.Text.Perf_Utf8Encoding

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
39.44 μs 52.59 μs 1.33 0.04 False
26.20 μs 31.98 μs 1.22 0.01 False
29.44 μs 35.35 μs 1.20 0.02 False
76.07 μs 84.86 μs 1.12 0.24 False
32.04 μs 35.44 μs 1.11 0.00 False

graph
graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Text.Perf_Utf8Encoding*'
Details

System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Greek)

ETL Files

Histogram

JIT Disasms

System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: EnglishMostlyAscii)

ETL Files

Histogram

JIT Disasms

System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Cyrillic)

ETL Files

Histogram

JIT Disasms

System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Chinese)

ETL Files

Histogram

JIT Disasms

System.Text.Perf_Utf8Encoding.GetCharCount(Input: Greek)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 5b5586c987e26b4c4faba0582bbcebe3dabb71ee
Compare 0fbca90b2ea9b25ca7b876f70cf67719c339a4d4
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Regressions in System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
1.43 μs 1.59 μs 1.12 0.02 False
177.73 ns 196.75 ns 1.11 0.03 False

graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>*'
Details

System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>.K_Max_Elements(Size: 1000)

ETL Files

Histogram

JIT Disasms

System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>.K_Max_Elements(Size: 100)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Activity

  1. added
    os-linux
    runtime-coreclr
    untriaged
    on Oct 13, 2026
  2. LoopedBard3 commented on Oct 13, 2026

    @LoopedBard3
    Member

    🔍 Automated Triage Analysis

    Summary: Measured regression in 7 test(s). Bisection localized commit boundaries, but a related functional cause has not been established. Uncertain or unrelated code-path relevance does not establish that the measured change is noise.

    Finding Confidence: 4/5 (analysis accuracy)
    Regression Confidence: 3/5 (likelihood of true regression)

    🤖 Proposed Next Actions: Uncertain — flag for re-triage — 2 done (rule R5_look_again — see Full Analysis for the table).

    📊 Full Analysis (click to expand)

    Summary: Five UTF-8 benchmarks show statistically confirmed regressions of +10.64% to +33.34%; the two PriorityQueue changes are historical noise. Commit 176db4e (JIT expression comparison) is a tentative leading candidate, not an established cause, among 20 commits. Finding confidence is 4/5 and regression confidence is 3/5 pending endpoint verification and commit isolation.

    Issue Overview

    • Issue: #80763 - [Perf] Linux/x64: 7 Regressions on 10/8/2026 8:17:05 PM +00:00.
    • Description: The autofiler reports seven increases in single-invocation duration across UTF-8 encoding and PriorityQueue benchmarks.
    • Date: 2026-10-08 20:17:05 UTC (autofile regression date); issue created 2026-10-13.
    • Queue: Ubuntu.2204.Amd64.Viper.Perf (issue display name: ViperUbuntu) | OS/Arch: Ubuntu 22.04/x64.
    • Runtime stack: Desktop + CoreCLR; tiered compilation, microbenchmarks, dotnet/runtime, refs/heads/main.
    • Commits: 5b5586c -> 0fbca90, 20 commits; commit list is not truncated.
    • Labels: untriaged, branch-refs/heads/main, perf-regression, arch-x64, os-linux, runtime-coreclr, kind-micro, compilationmode-tiered, runkind-micro. No bdn-update label is present; there is no supplied evidence of a BenchmarkDotNet version bump.
    • Historical Data: Available, 284-293 prior observations per test. The historical tool reports sufficient data, 1,202 aggregate runs examined (1,158 before and 44 after), and at least 11 after measurements per test. Aggregate run counts are not per-test sample counts.

    Test Analysis

    The historical tool returned all timing statistics in nanoseconds, including tests whose issue values were in microseconds. Values below are converted back to each issue row's units; z-scores, thresholds, classifications, and change patterns are used directly from the historical analysis. Units must not be compared across rows.

    Test Name Unit Baseline Compare Delta% Mean Stddev n z Thresh% Noise? Assessment
    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Greek) us 39.435857 52.585015 +33.34% 39.980984 1.078621 286 11.685 5.40% N Regression; step change, CV 2.698%
    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: EnglishMostlyAscii) us 26.197977 31.976549 +22.06% 25.899742 0.240249 289 25.294 5.00% N Regression; step change, CV 0.928%
    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Cyrillic) us 29.441014 35.349534 +20.07% 28.663402 0.861584 290 7.760 6.01% N Regression; step change, CV 3.006%
    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Chinese) us 76.073155 84.856383 +11.55% 75.834817 2.356210 293 3.829 6.21% N Regression; step change, recent observations elevated, CV 3.107%
    System.Text.Perf_Utf8Encoding.GetCharCount(Input: Greek) us 32.036030 35.444248 +10.64% 31.949037 0.101645 284 34.386 5.00% N Regression; step change, ultra-stable history, CV 0.318%
    System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>.K_Max_Elements(Size: 1000) us 1.425738 1.590487 +11.56% 1.477778 0.102407 286 1.101 13.86% Y Noise; below adaptive threshold, CV 6.930%
    System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>.K_Max_Elements(Size: 100) ns 177.734859 196.748989 +10.70% 182.197000 10.338000 293 1.408 11.35% Y Noise; below adaptive threshold, CV 5.674%

    Legend: Mean and stddev correspond to historical mean and standard deviation; n is the per-test historical observation count; z=(compare-mean)/stddev; Thresh%=adaptive threshold; us=microseconds, ns=nanoseconds. Delta=(compare-baseline)/baseline x 100. Rounded values are for presentation only.

    Finding Confidence: 4/5 for each UTF-8 finding: hundreds of historical observations, sufficient data, CV below 3.2%, and large standardized departures. PriorityQueue noise findings are 3/5 because CV exceeds 5%; they are not proof of zero performance change. Independent rerun and bisection evidence is not yet available.

    Benchmark and runtime source evidence

    • UTF-8 benchmark source: setup reads the selected input file and preallocates byte and character arrays. GetCharsFromBytes calls Encoding.UTF8.GetChars(_bytes.AsSpan(), _chars); GetCharCount calls Encoding.UTF8.GetCharCount(_bytes) and has [MemoryRandomization]. File I/O and setup allocations are not part of the timed method. The source lookup tool returned a fallback search URL; the exact issue-linked file was successfully retrieved separately.
    • Compare-pinned Utf8Utility.Transcoding.cs contains TranscodeToUtf16, an initial ASCII widening fast path followed by pointer-based DWORD reads, branches, and non-ASCII decoding loops. Compare-pinned Utf8Utility.Validation.cs contains the validation/counting helper, ASCII scanning, and non-ASCII handling. These are plausible JIT-sensitive surfaces, not evidence that any particular candidate changed their generated code.
    • PriorityQueue benchmark source was retrieved via normalized generic-name lookup. K_Max_Elements enqueues five items, processes the remaining input using EnqueueDequeue, and drains five items. Both size parameters are noise according to the supplied historical rules.
    • Benchmark sources were retrieved from current dotnet/performance/main; the original performance repository SHA was not supplied. No benchmark-source identity between the original run and rerun is assumed.

    Candidate Stack Relevance

    Relevance denotes applicability to Desktop CoreCLR, not likelihood of culpability. No listed candidate directly changes UTF-8 implementation files. The leading hypothesis is a JIT-generated-code change; attribution remains tentative.

    Commit Touched Paths (summary) Relevance Notes
    176db4e src/coreclr/jit/gentree.cpp Relevant Leading hypothesis: strengthens expression equality checks for constants, indirection/array metadata, and other nodes. Could inhibit previously allowed merging in branch-heavy UTF-8 helpers. No disassembly or isolated measurement confirms this; the commit reports almost no compiler diffs.
    3c40b2b src/coreclr/crossgen-corelib.proj Relevant Alternative: changes how CoreLib ReadyToRun images are produced. PGO inputs and compiler arguments affect startup code/inlining data, but the commit reports byte-identical non-composite arguments, weakening this hypothesis.
    e7f9c2a src/coreclr/jit/fgopt.cpp Relevant Invalidates DFS-derived annotations before recomputation after unreachable-block removal. A conditional compiler-flow candidate, originally motivated by an arm64 assertion; no observed x64 UTF-8 code difference.
    bcb511a JIT codegenlinear.cpp, codegenxarch.cpp, codegenarmarch.cpp Relevant Changes GC typing during unspill, not loop optimization; mostly GC bookkeeping plus debug assertions. Weak duration mechanism despite pointer/byref use in encoding.
    a7bdb83 src/coreclr/jit/importercalls.cpp Relevant Preserves fallback inlining in profiled memcmp/SequenceEqual specialization. Inspected UTF-8 benchmark/helper code does not establish this specialization is exercised.
    8aaa594 src/coreclr/jit/assertionprop.cpp Relevant Preserves null-check side effects in SequenceEqual value-number folding. No established connection to these timed methods.
    910b9a5 src/coreclr/jit/optimizer.cpp Relevant Ruled down by ABI: added logic is guarded by FEATURE_PARTIAL_SIMD_CALLEE_SAVE, which is 0 under UNIX_AMD64_ABI in compare-pinned targetamd64.h. SIMD wording alone does not make it a Linux/x64 cause.
    7408837 JIT xarch GC tracking; VM stackwalk/suspension Relevant Addresses x86 GC tracking/suspension defects; does not supply a direct Linux/x64 encoding throughput mechanism.
    d21d8d4 CoreCLR reflection/custom-attribute code; shared reflection code/tests Relevant Commit time exactly matches the autofile regression timestamp. Moves attribute materialization to managed code, but neither timed method performs reflection; timestamp alone is not attribution.
    d37a516 / 6ff62b1 VM exception handling / finalizer startup Relevant No exception-heavy or finalizer-dependent timed workload is established.
    0fbca90 / 3d178d8 src/libraries/System.Net.Mail/, System.Reflection.Context/ Shared Shared BCL changes, but SMTP/TLS and reflection-context operations are not used by the timed benchmarks.
    7fd4be4 / dca76ff Mono/mobile/WASM build tasks and browser loader LessLikely Opposite-runtime infrastructure; no concrete cross-stack mechanism for desktop UTF-8 throughput identified. Not selected.

    The remaining commits concern debugger transport (7c0ecc7), ILVerify (01b76b8), delegate reflection caching (f26cb64), and cDAC diagnostics (98a24e3); none has an established timed UTF-8 connection. File samples for 7fd4be4 and 98a24e3 were truncated at 10 of 11 files; the commit list itself is complete.

    Confirmed Regressions

    “Confirmed” here means statistically classified as Regression by historical analysis, not independently reproduced or bisected. The same tentative JIT hypothesis applies to all five tests, but their correlation is not five independent confirmations of a culprit.

    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Greek) (+33.34%)

    • Delta: 39.435857 us -> 52.585015 us (+33.34%).
    • Historical Context: mean=39.980984 us, stddev=1.078621 us, n=286; z=11.685; threshold=5.40%; CV=2.698%.
    • Assessment: Step change; substantially beyond historical variation.
    • Finding Confidence: 4/5 - extensive, sufficient historical data; independent verification not complete.
    • Regression Confidence: 3/5 - strong statistical signal, conservatively capped for the 20-commit window and unisolated mechanism.
    • Likely Cause (tentative): 176db4e - "JIT: Make GenTree::Compare more conservative around several node types (#135363)".
      • Affected Areas: JIT expression comparison/merging; UTF-8 decoding generated code.
      • Stack Relevance: Relevant.
      • Rationale: The diff adds semantic equality requirements for constants, memory/array nodes, and release-build handling of unexpected extended operators. The decoding helper has many branches, loads, and shared tails, so reduced merging is a plausible route to larger or less efficient hot code; the correlated encoding changes make a shared JIT effect worth investigating. Actual application of the changed comparison checks to this helper has not been demonstrated.
      • Candidates Considered: 3c40b2b (CoreLib ReadyToRun production), e7f9c2a (DFS annotation invalidation), bcb511a (unspill GC type). Candidate links and limitations are in the relevance table.
    • Verification Status: Not verified; baseline/compare Helix rerun submitted, results pending. Not bisected.

    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: EnglishMostlyAscii) (+22.06%)

    • Delta: 26.197977 us -> 31.976549 us (+22.06%).
    • Historical Context: mean=25.899742 us, stddev=0.240249 us, n=289; z=25.294; threshold=5.00%; CV=0.928%.
    • Assessment: Step change against very stable history.
    • Finding Confidence: 4/5 - extensive history with low variation; endpoint rerun pending.
    • Regression Confidence: 3/5 - very strong signal, capped because attribution remains ambiguous across 20 commits.
    • Likely Cause (tentative): 176db4e - "JIT: Make GenTree::Compare more conservative around several node types (#135363)".
      • Affected Areas: JIT expression comparison/merging; ASCII/non-ASCII decoding paths.
      • Stack Relevance: Relevant.
      • Rationale: The benchmark calls the same GetChars surface as the other decoding cases, and the helper has ASCII fast paths followed by branch-heavy mixed-input decoding. More conservative expression comparisons could alter merging or code layout along those transitions, but no generated-code comparison establishes that mechanism.
      • Candidates Considered: 3c40b2b, e7f9c2a, bcb511a; see the relevance table.
    • Verification Status: Not verified; baseline/compare Helix rerun submitted, results pending. Not bisected.

    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Cyrillic) (+20.07%)

    • Delta: 29.441014 us -> 35.349534 us (+20.07%).
    • Historical Context: mean=28.663402 us, stddev=0.861584 us, n=290; z=7.760; threshold=6.01%; CV=3.006%.
    • Assessment: Step change; compare is substantially elevated relative to prior history.
    • Finding Confidence: 4/5 - sufficient historical observations with moderate-low variation.
    • Regression Confidence: 3/5 - signal clears both significance rules; unverified, 20-commit attribution remains the limiting factor.
    • Likely Cause (tentative): 176db4e - "JIT: Make GenTree::Compare more conservative around several node types (#135363)".
      • Affected Areas: JIT expression comparison/merging; multibyte UTF-8 decoding.
      • Stack Relevance: Relevant.
      • Rationale: This case exercises the same pointer-based decoding implementation as Greek, with different input-dependent branch frequencies. The generic JIT comparison change could affect both workloads, but this is corroboration of a shared performance surface, not isolated commit evidence.
      • Candidates Considered: 3c40b2b, e7f9c2a, bcb511a; see the relevance table.
    • Verification Status: Not verified; baseline/compare Helix rerun submitted, results pending. Not bisected.

    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Chinese) (+11.55%)

    • Delta: 76.073155 us -> 84.856383 us (+11.55%).
    • Historical Context: mean=75.834817 us, stddev=2.356210 us, n=293; z=3.829; threshold=6.21%; CV=3.107%.
    • Assessment: Step change; historical analysis reports all recent measurements elevated, despite the issue's weaker test-quality indicator (0.24).
    • Finding Confidence: 4/5 - sufficient history, z above 3, low-moderate CV; no independent rerun result yet.
    • Regression Confidence: 3/5 - significant but smaller effect; capped for the large, unisolated commit range.
    • Likely Cause (tentative): 176db4e - "JIT: Make GenTree::Compare more conservative around several node types (#135363)".
      • Affected Areas: JIT expression comparison/merging; multibyte UTF-8 decoding.
      • Stack Relevance: Relevant.
      • Rationale: The affected method is shared with the three other decoding cases, so a JIT-generated-code change is plausible even if input-specific paths have different effect sizes. No exact hot-loop or code-layout change has been measured, and the candidate is not a direct UTF-8 source edit.
      • Candidates Considered: 3c40b2b, e7f9c2a, bcb511a; see the relevance table.
    • Verification Status: Not verified; baseline/compare Helix rerun submitted, results pending. Not bisected.

    System.Text.Perf_Utf8Encoding.GetCharCount(Input: Greek) (+10.64%)

    • Delta: 32.036030 us -> 35.444248 us (+10.64%).
    • Historical Context: mean=31.949037 us, stddev=0.101645 us, n=284; z=34.386; threshold=5.00%; CV=0.318%.
    • Assessment: Step change against ultra-stable history; the large z-score reflects the tiny historical standard deviation, not a larger relative slowdown.
    • Finding Confidence: 4/5 - exceptionally stable, sufficient history; isolated verification remains outstanding.
    • Regression Confidence: 3/5 - extremely strong statistical departure, but exact cause remains ambiguous across 20 commits.
    • Likely Cause (tentative): 176db4e - "JIT: Make GenTree::Compare more conservative around several node types (#135363)".
      • Affected Areas: JIT expression comparison/merging; UTF-8 validation/counting.
      • Stack Relevance: Relevant.
      • Rationale: The validation/counting helper is distinct from the transcoder but also contains pointer-based scans and many branches. A broad JIT equality change could affect both; independent code-generation evidence is needed before treating the shared slowdown as proof of that commit.
      • Candidates Considered: 3c40b2b, e7f9c2a, bcb511a; see the relevance table. The timestamp-matching custom-attribute commit d21d8d4 does not have an established timed counting-path connection.
    • Verification Status: Not verified; baseline/compare Helix rerun submitted, results pending. Not bisected.

    Open Questions

    • Historical Data: Sufficient for all seven tests. A data-quality note says all tests have at least 286 historical runs, but the per-test result lists 284 for Greek GetCharCount; this report uses the per-test counts and records the inconsistency rather than silently adjusting them. PriorityQueue CV is 5.674-6.930%; its two results remain Noise under the tool's classifications.
    • Confidence Limitations: The range contains 20 commits, at least three plausible compiler/build hypotheses, and no direct UTF-8 edit or isolated culprit. The tentative 176db4e selection is mechanism-based, not proven, and regression confidence is capped at 3/5. Large statistical z-scores do not override attribution uncertainty.
    • Timing: regressionDate is 2026-10-08 20:17:05, matching d21d8d4; the compare commit was committed 2026-10-09 07:12:00, and candidate 176db4e was committed 2026-10-08 23:12:52. The supplied date therefore cannot be treated as the literal compare execution timestamp or a hard cutoff inside the supplied SHA range. Obtain build/run metadata to resolve its meaning before using time-based attribution.
    • Verification Needed: Reproduce the UTF-8 changes on the original queue with matched tiered/runtime/harness settings, then bisect using available builds and compare hot-method JIT disassembly. The autofile does not provide a TFM or original benchmark repository SHA; the endpoint submission explicitly selected net11.0 based on the .NET 11-era commit metadata, not the issue's generic net8.0 reproduction template. Confirm actual rerun environment variables and performance source identity before claiming exact configuration equivalence.
    • Verification Status: Helix job 44c81cb6-22fa-42db-9dec-0fe6b69a869a was dispatched for both endpoints and all five UTF-8 test cases on Linux/x64 Release CoreCLR, queue Ubuntu.2204.Amd64.Viper.Perf, TFM net11.0. Both requested hashes had artifacts and were included. Latest observed state: running/queued, six work items, no result report. A submitted job is not verification.
    • Bisection Status: Not performed; endpoint reproduction must complete first. No commit has been isolated.
    • Source Coverage: Current benchmark source and compare-pinned UTF-8 helper code were inspected; no profiling/disassembly artifacts were supplied. Two non-leading commit file samples are truncated, as noted above.

    Recommended Actions

    1. Finish endpoint verification - Retrieve job 44c81cb6-22fa-42db-9dec-0fe6b69a869a results; confirm all five argument-specific tests actually ran and that tiered compilation, harness/performance SHA, TFM, and runtime environment match the original run. Compare each result against its own-unit historical context. Do not equate absent results or configuration mismatches with non-reproduction.
    2. Isolate the commit if reproduced - Bisect 5b5586c...0fbca90, prioritizing Greek decoding, EnglishMostlyAscii decoding, and Greek counting. A useful focused test is 910b9a5 versus its child 176db4e, if both artifacts exist. Track artifact substitutions explicitly.
    3. Compare generated code and build inputs - At the isolated transition, inspect UTF-8 transcoding/counting branch structure, memory accesses, code size, and spills. If 176db4e is not responsible, check DFS-dependent codegen and the CoreLib crossgen task's actual output/PGO inputs. Preserve correctness fixes rather than proposing an unsupported revert. Keep PriorityQueue out of the primary culprit search unless matched reruns establish an additional significant change.

    Bisection Results

    Test Status Culprit Commit Relevance Reported Diff (issue) Bisected Diff (at culprit)
    GetCharsFromBytes(Input: Greek) ✅ Culprit found d21d8d491d30 UNCERTAIN 39.4→52.6 μs (+33%) 40.6→54.5 μs (+34%)
    GetCharsFromBytes(Input: EnglishMostl... ✅ Culprit found d21d8d491d30 UNCERTAIN 26.2→32.0 μs (+22%) 25.9→35.2 μs (+36%)
    GetCharsFromBytes(Input: Cyrillic) ✅ Culprit found d21d8d491d30 UNCERTAIN 29.4→35.3 μs (+20%) 28.8→35.1 μs (+22%)
    GetCharsFromBytes(Input: Chinese) ✅ Culprit found d21d8d491d30 UNRELATED 76.1→84.9 μs (+12%) 76.2→95.3 μs (+25%)
    GetCharCount(Input: Greek) ✅ Culprit found d21d8d491d30 UNCERTAIN 32.0→35.4 μs (+11%) 31.8→35.2 μs (+10%)
    K_Max_Elements(Size: 1000) ✅ Culprit found d21d8d491d30 UNCERTAIN 1.4→1.6 μs (+12%) 1.4→1.6 μs (+11%)
    K_Max_Elements(Size: 100) ✅ Culprit found d21d8d491d30 UNCERTAIN 177.7→196.7 ns (+11%) 176.4→196.8 ns (+12%)

    Total bisection time: 53m 34s
    Tests measured: 7/7
    Culprit found: 7/7

    Commit Relevance

    Bisection localized commits whose functional connection to the tests is not established. This does not negate any measured reproduction.

    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Greek)

    Bisection details
    • Culprit: d21d8d491d30
    • Relevance: UNCERTAIN
    • Baseline: 39.436 μs
    • Culprit value: 54.529 μs

    Per-commit measurements (oldest → newest) (μs)

    # Commit Result Measurement
    0 5b5586c987e2 baseline/good 39.640 μs
    3 bcb511af7644 good 40.775 μs
    5 def4d5950558 good 40.000 μs
    6 3c40b2b62528 good 40.562 μs
    7 d21d8d491d30 culprit/bad 54.529 μs
    13 7408837adf22 bad 54.789 μs
    20 0fbca90b2ea9 head/bad 53.144 μs

    Helix jobs

    Job ID
    a6e44aab-5339-4c90-8a56-a880e879f399
    05c7f0f1-8140-4187-a078-84191d35ca28
    a1495e42-46a7-4cf7-b5a6-778d33e0da1e
    fa6ce6e8-556e-4e9c-ba81-0827dede4f53

    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: EnglishMostlyAscii)

    Bisection details
    • Culprit: d21d8d491d30
    • Relevance: UNCERTAIN
    • Baseline: 26.198 μs
    • Culprit value: 35.155 μs

    Per-commit measurements (oldest → newest) (μs)

    # Commit Result Measurement
    0 5b5586c987e2 baseline/good 25.911 μs
    3 bcb511af7644 good 25.843 μs
    5 def4d5950558 good 25.853 μs
    6 3c40b2b62528 good 25.924 μs
    7 d21d8d491d30 culprit/bad 35.155 μs
    13 7408837adf22 bad 34.559 μs
    20 0fbca90b2ea9 head/bad 32.592 μs

    Helix jobs

    Job ID
    4ad2d1fc-f5da-425d-907f-82bd467bf8cb
    f2225ba0-4d37-4e4e-973b-50432f131afd
    a2c0cb41-6d68-412a-8d86-eb8afe71b456
    e58945f4-e4b0-482c-b401-0094c0219489

    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Cyrillic)

    Bisection details
    • Culprit: d21d8d491d30
    • Relevance: UNCERTAIN
    • Baseline: 29.441 μs
    • Culprit value: 35.055 μs

    Per-commit measurements (oldest → newest) (μs)

    # Commit Result Measurement
    0 5b5586c987e2 baseline/good 28.389 μs
    3 bcb511af7644 good 28.405 μs
    5 def4d5950558 good 28.400 μs
    6 3c40b2b62528 good 28.754 μs
    7 d21d8d491d30 culprit/bad 35.055 μs
    13 7408837adf22 bad 35.267 μs
    20 0fbca90b2ea9 head/bad 35.212 μs

    Helix jobs

    Job ID
    66fef507-e9a7-434d-bbab-67df233ef99e
    2285aacc-0582-4a6c-9976-fe39fdd24c7d
    b2fcb1c2-d803-4bc7-abd4-127b9a36d975
    82899fa4-0381-436d-bab1-21b4a2c0c135

    System.Text.Perf_Utf8Encoding.GetCharsFromBytes(Input: Chinese)

    Bisection details
    • Culprit: d21d8d491d30
    • Relevance: UNRELATED
    • Baseline: 76.073 μs
    • Culprit value: 95.268 μs

    Per-commit measurements (oldest → newest) (μs)

    # Commit Result Measurement
    0 5b5586c987e2 baseline/good 75.780 μs
    3 bcb511af7644 good 76.087 μs
    5 def4d5950558 good 76.516 μs
    6 3c40b2b62528 good 76.174 μs
    7 d21d8d491d30 culprit/bad 95.268 μs
    13 7408837adf22 bad 95.825 μs
    20 0fbca90b2ea9 head/bad 96.153 μs

    Helix jobs

    Job ID
    e829d0d5-f466-4f18-af54-3839218b8836
    d21b46ad-dd80-4ba4-95a1-e45e5d2b7a32
    51af3ed5-50e6-4300-b175-a429c8845282
    66275655-f0e6-4be8-b4b8-cfa0b55acbec

    System.Text.Perf_Utf8Encoding.GetCharCount(Input: Greek)

    Bisection details
    • Culprit: d21d8d491d30
    • Relevance: UNCERTAIN
    • Baseline: 32.036 μs
    • Culprit value: 35.168 μs

    Per-commit measurements (oldest → newest) (μs)

    # Commit Result Measurement
    0 5b5586c987e2 baseline/good 31.846 μs
    3 bcb511af7644 good 31.843 μs
    5 def4d5950558 good 31.838 μs
    6 3c40b2b62528 good 31.840 μs
    7 d21d8d491d30 culprit/bad 35.168 μs
    13 7408837adf22 bad 35.491 μs
    20 0fbca90b2ea9 head/bad 35.494 μs

    Helix jobs

    Job ID
    b4a51c04-ece3-494a-96f7-fbbc99d18219
    fd6cd817-9b62-44ad-a981-9563865af37f
    8026102d-517b-4e6c-861e-cde88d9d779d

    System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>.K_Max_Elements(Size: 1000)

    Bisection details
    • Culprit: d21d8d491d30
    • Relevance: UNCERTAIN
    • Baseline: 1.426 μs
    • Culprit value: 1.595 μs

    Per-commit measurements (oldest → newest) (μs)

    # Commit Result Measurement
    0 5b5586c987e2 baseline/good 1.431 μs
    2 7fd4be4b2917 good 1.452 μs
    4 dca76ff203fd good 1.432 μs
    5 def4d5950558 good 1.432 μs
    6 3c40b2b62528 good 1.438 μs
    7 d21d8d491d30 culprit/bad 1.595 μs
    13 7408837adf22 bad 1.615 μs
    20 0fbca90b2ea9 head/bad 1.592 μs

    Helix jobs

    Job ID
    c1b20b22-b457-4af4-ac85-191ccce0042d
    11c99901-a340-46b6-aac3-95f2b701a9d6
    69230ccd-c2d2-4def-81ad-fcc4782759e3
    a46d630f-8b0b-4f8c-9236-01d9987ef50e

    System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>.K_Max_Elements(Size: 100)

    Bisection details
    • Culprit: d21d8d491d30
    • Relevance: UNCERTAIN
    • Baseline: 177.735 ns
    • Culprit value: 196.818 ns

    Per-commit measurements (oldest → newest) (ns)

    # Commit Result Measurement
    0 5b5586c987e2 baseline/good 177.842 ns
    3 bcb511af7644 good 177.884 ns
    5 def4d5950558 good 177.670 ns
    6 3c40b2b62528 good 176.428 ns
    7 d21d8d491d30 culprit/bad 196.818 ns
    20 0fbca90b2ea9 head/bad 196.711 ns

    Helix jobs

    Job ID
    0c713aa7-7ce8-4424-b550-5c8cb433e2ce
    25310e60-5127-4eed-9790-5a3b4f9c02ba
    84f5d95b-0f38-4a6e-9f18-d3a64372e7c0
    ddf8c581-ff87-45eb-bb45-74a39f7e18f4
    c187fa67-9168-49f4-bd9e-26ed7c99f7b9

    🤖 Proposed Next Actions

    Rule: R5_look_again — Uncertain — flag for re-triage.

    Regression confidence 3/5 is below the required 4/5.

    # Action Status Details
    1 Add label ✅ Done Look Again
    2 Remove label ✅ Done add bot-triaged, then remove untriaged

    🦆 Pre-bisection Re-analysis (advisory)

    ⚠️ Disputes the pre-bisection plan — advisory only, not applied

    Flags: wasted-bisection-slot

    Rationale: Both PriorityQueue candidates are classified as noise with true-change confidence of 1/5 and no identified likely commit, so they should not consume bisection slots. Retain the five UTF-8 candidates provisionally; their actionable classifications are consistent with the candidate set, but the packet lacks quantitative signal to independently validate them.

    Suggested drop from bisection: System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>.K_Max_Elements(Size: 1000), System.Collections.Tests.Perf_PriorityQueue<Int32, Int32>.K_Max_Elements(Size: 100) (advisory — not applied)

    This critique is advisory in the current configuration and did not change which tests were bisected.

    🦆 Re-analysis (advisory)

    ⚠️ Disputes the analysis — advisory only, not applied

    Flags: culprit-bisection-mismatch, uncertain-causal-relevance

    Rationale: Every bisection surfaced d21d8d4, not the per-finding attributed commit, so that attribution is unsupported. Successful convergence supports moderate regression confidence, but uncertain or unrelated relevance and convergence on the same commit for noise-classified findings weaken confidence in the analysis; the packet lacks historical measurements to independently verify the noise calls.

    Disputed culprit: 176db4e5b6be09ec8797fede956cd8aead9a0533 (advisory — not applied)

    Suggested confidence: Finding Confidence → 3/5 (advisory — not applied)

    This critique is advisory in the current configuration and did not change the confidences, culprit, or proposed actions above.


    Generated by PerfTriageAgent on 2026-10-13 10:43 UTC

  3. added
    untriaged
    and removed
    untriaged
    on Oct 13, 2026
  4. added
    area-CodeGen-coreclr
    on Oct 13, 2026
  5. dotnet-policy-service commented on Oct 13, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  6. added
    tenet-performance
    tenet-performance-benchmarks
    on Oct 13, 2026
  7. LoopedBard3 commented on Oct 13, 2026

    @LoopedBard3
    Member

    Bisected to #133658 in range 7fd4be4...d21d8d4. FYI @jkoritzinsky.

  8. removed
    untriaged
    on Oct 13, 2026
  9. added this to the 12.0.0 milestone on Oct 13, 2026
  10. JulieLeeMSFT commented on Oct 13, 2026

    @JulieLeeMSFT
    Member
  11. jkoritzinsky commented on Oct 13, 2026

    @jkoritzinsky
    Member

    I've got an agent looking into this

  12. jkoritzinsky commented on Oct 13, 2026

    @jkoritzinsky
    Member

    I took a look into this. #133658 moved custom attribute parsing (which includes the parsing from a CA Blob's type name and string arguments into managed strings) into managed code. As part of this change, the new logic uses Encoding.UTF8.GetString(Span<byte>).

    BenchmarkDotNet materializes many attributes during its startup and uses an event listener that enables the NativeRuntimeEventSource, which has a bunch of attributes on it that are all ASCII.

    As a result, before the [GlobalSetup] method executes, we've already parsed a lot of ASCII-only UTF-8 text. The [GlobalSetup] method for these benchmarks attempts to parse enough text in the specified UTF-8 subset to bias PGO data (and as a result, tiered codegen) towards those subsets and away from ASCII text. Since we've already called Encoding.UTF8.GetString(Span<byte>) (and the methods it calls as a result) many times before the setup method runs, we've now highly biased the PGO data towards ASCII and possibly even tiered up the method before the [GlobalSetup] method can bias the data. That's why we don't see this regression for the EnglishAllAscii benchmark, as its target character set is the same as the character set for every custom attribute BenchmarkDotNet looks up.

    Based on the pre-bisection re-analysis, I'm inclined to think that the priority queue benchmark may be noise as there's no common code between the custom attribute parsing logic and PriorityQueue.

    I think the solution to this regression would be to update the code-gen or tiering policy or PGO logic such that we don't get such a performance cliff between the "expected" and "unexpected" character sets.

  13. LoopedBard3 commented on Oct 15, 2026

    @LoopedBard3
    Member
  14. LoopedBard3 commented on Oct 15, 2026

    @LoopedBard3
    Member
  15. AndyAyersMS commented on Nov 13, 2026

    @AndyAyersMS
    Member

    These may have magically fixed themselves, eg

    newplot (55)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-x64area-CodeGen-coreclros-linuxruntime-coreclrtenet-performancetenet-performance-benchmarks

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions