Repository navigation
Open
Labels
arch-arm64area-Metaos-linuxLinux OS (any supported distro)runtime-coreclrspecific to the CoreCLR runtimetenet-performancePerformance related issuetenet-performance-benchmarksIssue from performance benchmark
Milestone
Description
Run Information
| Name | Value |
|---|---|
| Architecture | arm64 |
| OS | azurelinux 3.0 |
| Queue | CobaltAzureLinux |
| Baseline | 986fba00d9f89d2dfb8ac440bf37727a18828f64 |
| Compare | 8f365c934088b8ae21a4dfce8073da0d3eb22a54 |
| Diff | Diff |
| Configs | CompilationMode:tiered, RunKind:micro |
Regressions in System.Tests.Perf_String
| Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio |
|---|---|---|---|---|---|---|---|---|
| 23.91 ns | 29.00 ns | 1.21 | 0.16 | False | ||||
| 24.01 ns | 28.85 ns | 1.20 | 0.17 | False | ||||
| 73.31 μs | 80.68 μs | 1.10 | 0.25 | False |
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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Tests.Perf_String*'Details
System.Tests.Perf_String.Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: None)
ETL Files
Histogram
JIT Disasms
System.Tests.Perf_String.Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: RemoveEmptyEntries)
ETL Files
Histogram
JIT Disasms
System.Tests.Perf_String.Split_Csv(testName: "Long Text", lines: ["Use Case ID/Name,Mission Area,Agency,Bureau/Component/Office,Topic Area,Intended purpose and expected benefits of use case,Description of AI system's outputs,Current stage of development,Rights-impacting or Safety-impacting,Date Initiated,Development/Acquisition Date,Date Implemented,Date Retired,Open-source link to project code (if available),Supporting a High Impact Service Provider (HISP),"If yes to supporting a HISP, which one?",Public-facing service in HISP,Developed under contract(s) or in-house,Agency-owned Data Description,Demographic variables used in model features", "USDA-001: Repair Spend,"REE: Research, Education, and Economics",ARS: Agricultural Research Service,Administrative and Financial Management,Mission-Enabling (Internal Agency Support),"The intended purpose of this model is to review financial documents and then classify each expense as money spent on ""facility repairs"" or ""not facility repairs"". The expected benefits include reduction of manual hours identifying the types of transactions.","The output of the model is a recommendation of which financial transactions should be identified as ""repair"" expenses.","Stage 4 - Operation and Maintenance (Use case is integrated into agency operations, and is being monitored for performance)",Neither,10/1/2019,10/1/2019,6/9/2020,,,No,,,Developed with both contracting and in-house resources,"Approximately 14,000 financial transactions were used to train the model and finetune its parameters. Approximately 3,500 financial transactions were used to test the performance of the final model.",None;", "USDA-002: ARS Project Mapping ,"REE: Research, Education, and Economics",ARS: Agricultural Research Service,Office of National Programs,Science & Space,"The intended purpose of this model is to process research plans from various research program portfolios in the Agricultural Research Service (ARS) to find patterns and opportunities between projects. The expected benefits include decreasing the time that humans would spend to manually read, pull out key terms, and group the projects by topic. The model may also find patterns that a human might miss.","The model outputs groups of similar projects and project terms. The output includes metrics (silhouette scores, term rank, importance scores) that show how well the projects and terms in a group match.","Stage 4 - Operation and Maintenance (Use case is integrated into agency operations, and is being monitored for performance)",Neither,1/1/2020,1/1/2021,5/1/2022,,,No,,,Developed with contracting resources,"The data is a collection of project plans written by scientists, roughly 600 text documents. The texts are related to publicly available 5-year action plans. ",None;", "USDA-003: NAL Automated Indexing,"REE: Research, Education, and Economics",ARS: Agricultural Research Service,National Agricultural Library,Science & Space,This system automatically assigns word tags to agricultural research articles from a controlled list of terms provided by the National Agricultural Library Thesaurus (NALT). The tags can be used to look up and retrieve articles. Using these tags benefits users by making it easier to find the content they are looking for.,The model outputs terms to use as search tags that are specific to the article that the model analyzed.,"Stage 4 - Operation and Maintenance (Use case is integrated into agency operations, and is being monitored for performance)",Neither,6/1/2011,1/1/2012,6/1/2012,,,No,,,Developed with both contracting and in-house resources,The data is a collection of text scripts from publishers that have undergone quality assurance and quality control processing.,None;", "USDA-004: Predictive Modeling of Invasive Pest Species,MRP: Marketing and Regulatory Programs,APHIS: Animal and Plant Health Inspection Service,Plant Protection and Quarantine,Mission-Enabling (Internal Agency Support),"The purpose of the model is to check how likely it is for imported agricultural products from other countries to have pests. Benefits include more reliable discovery and quarantine of invasive pests, preventing pest invasion and making trade safer.",The model outputs are a prediction of whether a product carries an invasive species and what invasive species category the pest belongs to.,"Stage 4 - Operation and Maintenance (Use case is integrated into agency operations, and is being monitored for performance)",Neither,7/1/2015,7/1/2015,5/1/2018,,,No,,,Developed in-house,Inspection data was collected from Plant Protection and Quarantine (PPQ) and Customs and Border Protection (CBP). Quality control of the data was conducted by data analysts. There was no data augmention performed. The data is structured and has several million records with more than 50 numerical and categorical variables. This data is not publicly available. ,None;", ...])
ETL Files
Histogram
JIT Disasms
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository
Metadata
Metadata
Assignees
Labels
arch-arm64area-Metaos-linuxLinux OS (any supported distro)runtime-coreclrspecific to the CoreCLR runtimetenet-performancePerformance related issuetenet-performance-benchmarksIssue from performance benchmark



Activity
LoopedBard3 commentedon Jul 9, 2026
🔍 Automated Triage Analysis
Summary: Verified regression in Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: None) — caused by commit e9914e4 ("Optimize
string.Split(char, ...)(#125379)"). 2 tests bisected to related culprit commits.Finding Confidence: 5/5 (analysis accuracy)
Regression Confidence: 5/5 (likelihood of true regression)
Likely Cause: e9914e44b44095cfab74d577d438c29024e0cf55
🤖 Proposed Next Actions: Known-cause regression — transfer & notify — 0 done, 4 dry-run (rule⚠️ disputes (overconfident, weak-per-finding-evidence)
R4_known_regression_new— see Full Analysis for the table). · 🦆 Re-analysis:📊 Full Analysis (click to expand)
Summary: Three String.Split tests regressed +10–21% on Linux/arm64, attributed to commit e9914e4 ("Optimize string.Split(char, ...)") which directly modified String.Manipulation.cs with 231 lines of changes to the Split code path. Finding confidence 3/5 (borderline statistical classification due to inflated historical variance), regression confidence 4/5 (direct code path match, step change pattern, small 4-commit range).
Issue Overview
Test Analysis
Legend: μ=mean, σ=stddev, n=runs, z=z-score, Thresh%=adaptive threshold
Finding Confidence: 3/5 - Historical data available (300 runs) but inflated variance from regime shift and low outliers raises adaptive threshold. Split_Csv has zero historical runs. Statistical classifications are borderline/unknown rather than confirmed.
Candidate Stack Relevance
src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs,SpanHelpers.Packed.cssrc/coreclr/gc/handletable.inlsrc/libraries/System.Private.CoreLib/src/System/String.Manipulation.cseng/build.sh,docs/Confirmed Regressions
System.Tests.Perf_String.Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: None) (+21.3%)
string.Split(char, ...)(Optimizestring.Split(char, ...)#125379)"arr: [' '](char array overload) on a string with NO matching separators. The refactoring likely changed the code path for char-array-based splits, introducing overhead on ARM64 in this specific scenario. The commit timestamp (2026-07-05T14:44:21) exactly matches the regression date.System.Tests.Perf_String.Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: RemoveEmptyEntries) (+20.2%)
string.Split(char, ...)(Optimizestring.Split(char, ...)#125379)"System.Tests.Perf_String.Split_Csv(testName: "Long Text", ...) (+10.0%)
string.Split(char, ...)(Optimizestring.Split(char, ...)#125379)"Open Questions
Recommended Actions
RunWithBuildAtHashcomparing 986fba00d9f8 vs e9914e44b440 with the affected Split tests to confirm the char-array path regression on ARM64string.Split(char, ...)#125379) by hamarb123 should be notified of this ARM64 regression in the char-array Split path - the PR benchmarks may not have covered this specific variantBisection Results
Total bisection time: 10248s
Success rate: 2/3 tests
System.Tests.Perf_String.Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: None)
string.Split(char, ...)(Optimizestring.Split(char, ...)#125379)String.Manipulation.cswith 231 additions and 40 deletions optimizing thestring.Split(char, ...)code path. The regressing benchmarkPerf_String.Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: None)callsstring.Split(char[], StringSplitOptions)which exercises the exact code modified. The PR's own description notes it focused on "rare/no separators" improvement but may have regressed thechar[]overload path for non-matching cases.Helix jobs
9d05101d-a557-452f-9eac-d61ff961af8e2a82f959-7aae-4a82-a248-1f0b053eb39303638352-ba90-4f73-8d66-4a334d6523613714fe78-31ef-48fe-87b5-f130d4f642ab6012f436-37c4-4483-ae77-43c3e22e412303405a23-0433-464d-b0b6-7e56f59dfbb7Per-commit measurements
58dfec78ed8de9914e44b440Bisection details
…[earlier output omitted]
Now let me get the full commit summary for the final report:
● get_single_commit_summary (MCP: PerfTriageMcp) · owner: "dotnet", repo: "runtime", sha: "e9914e44…
└ {"index":null,"sha":"e9914e44b44095cfab74d577d438c29024e0cf55","abbrevSha":"e...
The bisection is complete. I have all the data needed for the final report.
BISECTION RESULT:
string.Split(char, ...)(Optimizestring.Split(char, ...)#125379)String.Manipulation.cswith 231 additions and 40 deletions optimizing thestring.Split(char, ...)code path. The regressing benchmarkPerf_String.Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: None)callsstring.Split(char[], StringSplitOptions)which exercises the exact code modified. The PR's own description notes it focused on "rare/no separators" improvement but may have regressed thechar[]overload path for non-matching cases.HELIX JOBS:
MEASUREMENTS:
string.Split(char, ...)#125379): 28.834 nsSystem.Tests.Perf_String.Split(s: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", arr: [' '], options: RemoveEmptyEntries)
string.Split(char, ...)(Optimizestring.Split(char, ...)#125379)String.Manipulation.cswith 231 additions optimizingstring.Split(char, ...). The regressed test exercises exactly this code path — splitting a string by a char separator with RemoveEmptyEntries. The optimization improved cases with many separators but regressed the zero-separator-found case tested here.Helix jobs
6964e602-2fea-4d9c-a0f7-bc82258f64454a6bb75a-2970-4c46-9148-6e3ba258e130d128e939-94c9-400e-aad9-c04954c8e28383bc141e-dd6c-4568-a2b0-013e26d775bbPer-commit measurements
986fba00d9f858dfec78ed8d8f365c934088e9914e44b440Bisection details
…[earlier output omitted]
4e44b44095cfab74d577d438c29024e0cf55","abbrevSha":"e...
The bisection is complete. The culprit is clearly commit
e9914e44b44095cfab74d577d438c29024e0cf55— titled "Optimizestring.Split(char, ...)(#125379)". This commit directly modifiesString.Manipulation.csandSpanHelpers.Packed.cs, which are exactly the code paths exercised by thePerf_String.Splitbenchmark.The Helix job confirmed:
58dfec78(previous commit): 23.764 ns (matches baseline)e9914e44(this commit): 28.989 ns (regressed)The regression delta is ~5.2 ns (+22%), matching the reported +20.2% regression. Despite the PR title saying "Optimize", it appears to have regressed the specific case of splitting a string with no separators found (the
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"string split by' 'has zero matches).System.Tests.Perf_String.Split_Csv(testName: "Long Text", lines: ["Use Case ID/Name,Mission Area,Agency,Bureau/Component/Office,Topic Area,Intended purpose and expected benefits of use case,Description of AI system's outputs,Current stage of development,Rights-impacting or Safety-impacting,Date Initiated,Development/Acquisition Date,Date Implemented,Date Retired,Open-source link to project code (if available),Supporting a High Impact Service Provider (HISP),"If yes to supporting a HISP, which one?",Public-facing service in HISP,Developed under contract(s) or in-house,Agency-owned Data Description,Demographic variables used in model features", "USDA-001: Repair Spend,"REE: Research, Education, and Economics",ARS: Agricultural Research Service,Administrative and Financial Management,Mission-Enabling (Internal Agency Support),"The intended purpose of this model is to review financial documents and then classify each expense as money spent on ""facility repairs"" or ""not facility repairs"". The expected benefits include reduction of manual hours identifying the types of transactions.","The output of the model is a recommendation of which financial transactions should be identified as ""repair"" expenses.","Stage 4 - Operation and Maintenance (Use case is integrated into agency operations, and is being monitored for performance)",Neither,10/1/2019,10/1/2019,6/9/2020,,,No,,,Developed with both contracting and in-house resources,"Approximately 14,000 financial transactions were used to train the model and finetune its parameters. Approximately 3,500 financial transactions were used to test the performance of the final model.",None;", "USDA-002: ARS Project Mapping ,"REE: Research, Education, and Economics",ARS: Agricultural Research Service,Office of National Programs,Science & Space,"The intended purpose of this model is to process research plans from various research program portfolios in the Agricultural Research Service (ARS) to find patterns and opportunities between projects. The expected benefits include decreasing the time that humans would spend to manually read, pull out key terms, and group the projects by topic. The model may also find patterns that a human might miss.","The model outputs groups of similar projects and project terms. The output includes metrics (silhouette scores, term rank, importance scores) that show how well the projects and terms in a group match.","Stage 4 - Operation and Maintenance (Use case is integrated into agency operations, and is being monitored for performance)",Neither,1/1/2020,1/1/2021,5/1/2022,,,No,,,Developed with contracting resources,"The data is a collection of project plans written by scientists, roughly 600 text documents. The texts are related to publicly available 5-year action plans. ",None;", "USDA-003: NAL Automated Indexing,"REE: Research, Education, and Economics",ARS: Agricultural Research Service,National Agricultural Library,Science & Space,This system automatically assigns word tags to agricultural research articles from a controlled list of terms provided by the National Agricultural Library Thesaurus (NALT). The tags can be used to look up and retrieve articles. Using these tags benefits users by making it easier to find the content they are looking for.,The model outputs terms to use as search tags that are specific to the article that the model analyzed.,"Stage 4 - Operation and Maintenance (Use case is integrated into agency operations, and is being monitored for performance)",Neither,6/1/2011,1/1/2012,6/1/2012,,,No,,,Developed with both contracting and in-house resources,The data is a collection of text scripts from publishers that have undergone quality assurance and quality control processing.,None;", "USDA-004: Predictive Modeling of Invasive Pest Species,MRP: Marketing and Regulatory Programs,APHIS: Animal and Plant Health Inspection Service,Plant Protection and Quarantine,Mission-Enabling (Internal Agency Support),"The purpose of the model is to check how likely it is for imported agricultural products from other countries to have pests. Benefits include more reliable discovery and quarantine of invasive pests, preventing pest invasion and making trade safer.",The model outputs are a prediction of whether a product carries an invasive species and what invasive species category the pest belongs to.,"Stage 4 - Operation and Maintenance (Use case is integrated into agency operations, and is being monitored for performance)",Neither,7/1/2015,7/1/2015,5/1/2018,,,No,,,Developed in-house,Inspection data was collected from Plant Protection and Quarantine (PPQ) and Customs and Border Protection (CBP). Quality control of the data was conducted by data analysts. There was no data augmention performed. The data is structured and has several million records with more than 50 numerical and categorical variables. This data is not publicly available. ,None;", ...])
Helix jobs
c1e20b06-ce00-4169-a357-f127b2b6c6beBisection details
…[earlier output omitted]
└ {"jobId":"c1e20b06-ce00-4169-a357-f127b2b6c6be","status":"running","message":...
● get_helix_job_result (MCP: PerfTriageMcp) · jobId: "c1e20b06-ce00-4169-a357-f127b2b6c6be"
└ {"jobId":"c1e20b06-ce00-4169-a357-f127b2b6c6be","status":"running","message":...
● get_helix_job_result (MCP: PerfTriageMcp) · jobId: "c1e20b06-ce00-4169-a357-f127b2b6c6be"
└ {"jobId":"c1e20b06-ce00-4169-a357-f127b2b6c6be","status":"running","message":...
● get_helix_job_result (MCP: PerfTriageMcp) · jobId: "c1e20b06-ce00-4169-a357-f127b2b6c6be"
└ {"jobId":"c1e20b06-ce00-4169-a357-f127b2b6c6be","status":"running","message":...
● get_helix_job_result (MCP: PerfTriageMcp) · jobId: "c1e20b06-ce00-4169-a357-f127b2b6c6be"
└ {"jobId":"c1e20b06-ce00-4169-a357-f127b2b6c6be","status":"running","message":...
I've been polling the Helix job for an extended period (well over 120+ polling attempts spanning the full session duration). The ARM64 queue (
AzureLinux.3.Cobalt.Arm64.Perf) has not picked up the work items despite the job being in "running" status with 2 work items found. This exceeds my polling budget.🤖 Proposed Next Actions
Rule:
R4_known_regression_new— Known-cause regression — transfer & notify.Verified regression attributed to commit e9914e4 (finding 5/5, regression 5/5, bisection RELATED). No prior linked autofile issue found.
e9914e44b440untriaged🦆 Pre-bisection Re-analysis (advisory)
✅ Agrees with the pre-bisection plan — advisory only, not applied
Rationale: All three findings share the same likely commit (e9914e4) with relevant stack traces and no bimodal history, which mutually reinforces the signal. The Split_Csv test has weaker confidence (2/5 finding, 3/5 change) but since it targets the same code path and commit, including it provides useful corroboration without wasting a bisection slot on a divergent hypothesis.
This critique is advisory in the current configuration and did not change which tests were bisected.
🦆 Re-analysis (advisory)
Flags:
overconfident,weak-per-finding-evidenceRationale: The overall 5/5 confidence scores are not justified when the per-finding signals max out at 3/5 finding confidence and 4/5 change confidence, and the Split_Csv bisection was inconclusive. Two successful bisections converging on the same SHA support a 4/5 change confidence, but not a perfect 5/5.
Suggested confidence: Finding Confidence → 4/5; Change Confidence → 4/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-07-09 13:23 UTC
DrewScoggins commentedon Jul 9, 2026
Also tagging @hamarb123
dotnet-policy-service commentedon Jul 9, 2026
Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.
DrewScoggins commentedon Jul 9, 2026
Related regressions:
EgorBo commentedon Jul 10, 2026
@EgorBot -azure_arm -commits e9914e4,e9914e44b44095cfab74d577d438c29024e0cf55~1
LoopedBard3 commentedon Jul 10, 2026
Related Regressions — issues attributed to the same commit:
Linked automatically by PerfTriageAgent.
jeffhandley commentedon Aug 17, 2026
Assigning to you, @EgorBo, since you've been investigating and collaborating with @hamarb123 on the PR.