You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Perf] Windows/x64: 1 Regression on 8/10/2026 5:40:28 AM +00:00 #132145
Summary: A single confirmed regression — System.IO.Tests.BinaryWriterTests.WriteHalf slowed +19.4% (8.40 ns → 10.03 ns) — is attributed with high confidence to commit 98037590 ("Accelerate System.Half arithmetic and conversions with FP16", #130512). It is the only commit in the 6-commit range touching the System.Half write path, its authored timestamp matches the regression date exactly, and the historical series sho
🤖 Proposed Next Actions: Uncertain — flag for re-triage — 1 done, 1 dry-run (rule R5_look_again — see Full Analysis for the table).
📊 Full Analysis (click to expand)
Summary: A single confirmed regression — System.IO.Tests.BinaryWriterTests.WriteHalf slowed +19.4% (8.40 ns → 10.03 ns) — is attributed with high confidence to commit 98037590 ("Accelerate System.Half arithmetic and conversions with FP16", #130512). It is the only commit in the 6-commit range touching the System.Half write path, its authored timestamp matches the regression date exactly, and the historical series shows a clean, extremely stable step change (z=26.2). Finding confidence 5/5, regression confidence 5/5.
Rationale: This commit rewrites System.Half (src/libraries/System.Private.CoreLib/src/System/Half.cs, +52/−12) and the JIT's Half arithmetic/conversion codegen (importercalls.cpp +681, emitxarch.cpp, hwintrinsic*, etc.), binding Half onto internal NI_Fp16_* intrinsics. WriteHalf writes a Half value via BinaryWriter, which exercises the Half→bits/conversion path this commit changes. The commit's authored/committed timestamp (2026-08-10T05:40:28Z) is identical to the reported regression date, and it is the only commit in the range touching Half. Although the change is intended to accelerate Half, on this Viper/x64 host the new codegen path evidently regresses the specific WriteHalf micro-scenario (e.g., new intrinsic/conversion sequence or ISA-gated fallback overhead) — worth a targeted look at the emitted code for the write path.
Candidates Considered:
14b601ec - MemoryMarshal.GetArrayDataReference sharing; generic, not Half-specific.
Remaining 3 commits are test/build-infra only (QUIC tests, Helix bump, Chrome bump).
Verification Status: Not verified (attribution unambiguous from timing + sole stack-relevant change; RunWithBuildAtHash optional to confirm emitted-code hypothesis).
Open Questions
Historical Data: Strong (298 before-runs, CV=0.74%); no gaps.
Confidence Limitations: None material — single Half-related commit in a 6-commit range.
Verification Needed: Optional — confirm via RunWithBuildAtHash at the parent (14b601e) vs. cause (9803759) commits and inspect JIT disasm for the WriteHalf conversion path.
Bisection Status: Not performed (range already narrowed to one plausible commit).
Recommended Actions
Source review - Review 98037590 focusing on the Half→bits / Half↔float conversion codegen used by the BinaryWriter.Write(Half) path; the acceleration change appears to regress this specific micro-scenario.
Verification - Run RunWithBuildAtHash on parent 14b601ec vs. cause 98037590 for System.IO.Tests.BinaryWriterTests.WriteHalf to confirm the +19% delta reproduces.
Profiling - Collect JIT disasm / hardware counters (collectHardwareCounters=true) for WriteHalf to identify whether ISA gating or an extra conversion sequence is responsible.
Explanation: 14b601e measures at baseline (8.39 ns, good) and 9803759 measures at the regressed level (10.02 ns, bad). These are adjacent in the window, so 9803759 is the single good→bad transition. Without inspecting the commit's contents I cannot confirm whether its changes plausibly affect BinaryWriter.WriteHalf, so relevance is uncertain.
Rule: R5_look_again — Uncertain — flag for re-triage.
Confidence is sufficient (finding 5/5, regression 5/5), but no bisection result had commit_relevance = RELATED without an alignment warning.
#
Action
Status
Details
1
Add label
✅ Done
Look Again
2
Remove label
⏭️ Skipped (dry-run)
untriaged
🦆 Pre-bisection Re-analysis (advisory)
✅ Agrees with the pre-bisection plan — advisory only, not applied
Rationale: The single finding for WriteHalf is classified as a non-noise regression with maximal finding and change confidence and a relevant stack, so queuing exactly this one test for bisection is well-justified and no candidates warrant dropping or adding.
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
Rationale: The bisection converged successfully on 9803759 so the culprit is supported and this is reasonably actionable, but its relevance is flagged UNCERTAIN and no z-score/variance/after-value evidence is shown, so maxing both scores at 5/5 is a touch overconfident and each should drop to 4.
Activity
LoopedBard3 commentedon Aug 11, 2026
🔍 Automated Triage Analysis
Summary: A single confirmed regression —
System.IO.Tests.BinaryWriterTests.WriteHalfslowed +19.4% (8.40 ns → 10.03 ns) — is attributed with high confidence to commit 98037590 ("Accelerate System.Half arithmetic and conversions with FP16", #130512). It is the only commit in the 6-commit range touching theSystem.Halfwrite path, its authored timestamp matches the regression date exactly, and the historical series shoFinding Confidence: 5/5 (analysis accuracy)
Regression Confidence: 5/5 (likelihood of true regression)
🤖 Proposed Next Actions: Uncertain — flag for re-triage — 1 done, 1 dry-run (rule
R5_look_again— see Full Analysis for the table).📊 Full Analysis (click to expand)
Summary: A single confirmed regression —
System.IO.Tests.BinaryWriterTests.WriteHalfslowed +19.4% (8.40 ns → 10.03 ns) — is attributed with high confidence to commit 98037590 ("Accelerate System.Half arithmetic and conversions with FP16", #130512). It is the only commit in the 6-commit range touching theSystem.Halfwrite path, its authored timestamp matches the regression date exactly, and the historical series shows a clean, extremely stable step change (z=26.2). Finding confidence 5/5, regression confidence 5/5.Issue Overview
Test Analysis
Legend: μ=mean, σ=stddev, n=runs, z=z-score, Thresh%=adaptive threshold
Finding Confidence: 5/5 - Comprehensive historical data (298 before-runs, CV=0.74%), all 6 after-runs tightly clustered (10.008–10.028), unambiguous step change. Cause commit timestamp matches regression date exactly.
Candidate Stack Relevance
src/libraries/System.Private.CoreLib/.../System/Half.cs,src/coreclr/jit/*System.Halfmanaged code + JIT Half conversion/arithmetic codegen — exactly the path exercised by WriteHalf.src/.../InteropServices/MemoryMarshal.*System.IO.Compression.ZipFile/*System.Net.Quic/tests/*eng/*,.config/dotnet-tools.jsoneng/testing/BrowserVersions.propsConfirmed Regressions
System.IO.Tests.BinaryWriterTests.WriteHalf (+19.4%)
System.Half)System.Half(src/libraries/System.Private.CoreLib/src/System/Half.cs, +52/−12) and the JIT's Half arithmetic/conversion codegen (importercalls.cpp+681,emitxarch.cpp,hwintrinsic*, etc.), bindingHalfonto internalNI_Fp16_*intrinsics.WriteHalfwrites aHalfvalue viaBinaryWriter, which exercises theHalf→bits/conversion path this commit changes. The commit's authored/committed timestamp (2026-08-10T05:40:28Z) is identical to the reported regression date, and it is the only commit in the range touching Half. Although the change is intended to accelerate Half, on this Viper/x64 host the new codegen path evidently regresses the specificWriteHalfmicro-scenario (e.g., new intrinsic/conversion sequence or ISA-gated fallback overhead) — worth a targeted look at the emitted code for the write path.Open Questions
Recommended Actions
Half→bits /Half↔floatconversion codegen used by theBinaryWriter.Write(Half)path; the acceleration change appears to regress this specific micro-scenario.RunWithBuildAtHashon parent 14b601ec vs. cause 98037590 forSystem.IO.Tests.BinaryWriterTests.WriteHalfto confirm the +19% delta reproduces.collectHardwareCounters=true) for WriteHalf to identify whether ISA gating or an extra conversion sequence is responsible.Bisection Results
Total bisection time: 0s
Tests measured: 1/1
Culprit found: 1/1
System.IO.Tests.BinaryWriterTests.WriteHalf
Bisection details
98037590c8ddPer-commit measurements (oldest → newest) (ns)
c668fd41fd9514b601ec5edf98037590c8ddd27915efe3b2ab094c18ba7fHelix jobs
8d270695-12fc-4f04-b958-89e8b542b572ea9924d7-306b-400d-9743-0749e4bd7a53🤖 Proposed Next Actions
Rule:
R5_look_again— Uncertain — flag for re-triage.Confidence is sufficient (finding 5/5, regression 5/5), but no bisection result had
commit_relevance = RELATEDwithout an alignment warning.Look Againuntriaged🦆 Pre-bisection Re-analysis (advisory)
✅ Agrees with the pre-bisection plan — advisory only, not applied
Rationale: The single finding for WriteHalf is classified as a non-noise regression with maximal finding and change confidence and a relevant stack, so queuing exactly this one test for bisection is well-justified and no candidates warrant dropping or adding.
This critique is advisory in the current configuration and did not change which tests were bisected.
🦆 Re-analysis (advisory)
Flags:
overconfident,uncertain-bisection-relevanceRationale: The bisection converged successfully on 9803759 so the culprit is supported and this is reasonably actionable, but its relevance is flagged UNCERTAIN and no z-score/variance/after-value evidence is shown, so maxing both scores at 5/5 is a touch overconfident and each should drop to 4.
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-08-11 12:02 UTC
DrewScoggins commentedon Aug 11, 2026
Bisected to #130512.
This does show improvement on our Arm64 machines however.
dotnet-policy-service commentedon Aug 11, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
LoopedBard3 commentedon Aug 13, 2026
Related Improvements — issues attributed to the same commit:
Augmented by PerfTriageAgent.
LoopedBard3 commentedon Aug 18, 2026
Related Regressions — issues attributed to the same commit:
Augmented by PerfTriageAgent.
Preserve profiling for managed intrinsic implementations (#133749)
Preserve profiling for managed intrinsic implementations (dotnet#133749)