Skip to content

[Perf] Windows/x64: 4 Regressions on 7/3/2026 10:18:16 AM +00:00 #130309

Description

@performanceautofiler

Run Information

Name Value
Architecture x64
OS Windows 10.0.22631
Queue ViperWindows
Baseline e1979b72ccb5f916649f1d9949ef663254790c25
Compare 6814be7e81ea875d36976bea750ba5f8325ac58b
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Regressions in System.Formats.Tar.Tests.Perf_TarFile

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
335.81 μs 564.85 μs 1.68 0.74 False
413.21 μs 685.29 μs 1.66 0.69 False
417.52 μs 633.31 μs 1.52 0.69 False
417.37 μs 604.00 μs 1.45 0.75 False

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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Formats.Tar.Tests.Perf_TarFile*'
Details

System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Path

ETL Files

Histogram

JIT Disasms

System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Stream

ETL Files

Histogram

JIT Disasms

System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Path_Async

ETL Files

Histogram

JIT Disasms

System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Stream_Async

ETL Files

Histogram

JIT Disasms

Docs

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

Activity

  1. added
    runtime-coreclr
    untriaged
    on Jul 7, 2026
  2. LoopedBard3 commented on Jul 7, 2026

    @LoopedBard3
    Member

    🔍 Automated Triage Analysis

    Summary: Verified regression in ExtractToDirectory_Path — caused by commit 710da3b ("Solve symlinks destination (#129281)"). 3 tests bisected to related culprit commits. 1 other test(s) found unrelated commits (possible alignment artifacts).

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

    Likely Cause: 710da3b3104ff8e0415720d173b1b6c8a2f970dc

    🤖 Proposed Next Actions: Known-cause regression — transfer & notify — 0 done, 4 dry-run (rule R4_known_regression_new — see Full Analysis for the table). · 🦆 Re-analysis: ⚠️ disputes (overconfident-async-finding, bisection-divergence)

    📊 Full Analysis (click to expand)

    Summary: 4 tests in System.Formats.Tar.Tests.Perf_TarFile regressed +45–68% as a clear step change, attributed to commit 710da3b ("Solve symlinks destination #129281") which adds per-component symlink resolution during tar extraction. Finding confidence 4/5 (strong historical data, 300 runs, consistent signal), regression confidence 5/5 (surgical change directly in ExtractToDirectory code path, z-scores 3.6–8.9, all 4 variants affected simultaneously).

    Issue Overview

    • Issue: [Perf] Windows/x64: 4 Regressions on 7/3/2026 10:18:16 AM +00:00 #130309 - [Perf] Windows/x64: 4 Regressions on 7/3/2026 10:18:16 AM +00:00
    • Date: 2026-07-03 | Queue: Windows.11.Amd64.Viper.Perf | OS/Arch: Windows/x64
    • Commits: e1979b72ccb5 → 6814be7e81ea (8 commits)
    • Labels: untriaged, perf-regression, os-windows, arch-x64, branch-refs/heads/main, runtime-coreclr, kind-micro, compilationmode-tiered, runkind-micro
    • Historical Data: Available (297–300 runs per test)
    • Runtime Stack: Desktop + CoreCLR (implicit)

    Test Analysis

    Test Name Baseline Compare Δ% μ σ n z Thresh% Noise? Assessment
    ExtractToDirectory_Path 335.81 μs 564.85 μs +68.2% 340.25 μs 62.24 μs 300 3.61 36.59% N Step change, clear regression
    ExtractToDirectory_Stream 413.21 μs 685.29 μs +65.9% 329.26 μs 40.03 μs 297 8.89 24.32% N Step change, highest z-score
    ExtractToDirectory_Path_Async 417.52 μs 633.31 μs +51.7% 377.33 μs 45.73 μs 300 5.60 24.24% N Step change, consistent elevation
    ExtractToDirectory_Stream_Async 417.37 μs 604.00 μs +44.7% 377.59 μs 50.70 μs 300 4.47 26.85% N Step change, minor pre-drift

    Legend: μ=mean, σ=stddev, n=runs, z=z-score, Thresh%=adaptive threshold

    Finding Confidence: 4/5 - Strong historical data (297–300 runs per test), sufficient after-runs (14), all 4 tests clearly above adaptive thresholds. CV is moderate (12–18%) but deltas are 1.7–2.8x the threshold making classification unambiguous.

    Candidate Stack Relevance

    Commit Touched Paths (summary) Relevance Notes
    710da3b3104f src/libraries/System.Formats.Tar/src/System/Formats/Tar/TarEntry.cs Relevant Directly modifies tar extraction logic
    6814be7e81ea src/libraries/Microsoft.Extensions.Primitives/ LessLikely ChangeToken async overloads, unrelated to Tar
    e6428cb16317 JIT JTRUE fix LessLikely JIT bailout on post-layout JTRUE flip; unlikely to affect I/O-bound tar benchmarks
    6585d1cf126b iOS/crossgen2 LessLikely iOS-specific stripped IL bodies
    dfdc914e2e45 MemoryCache tests LessLikely Test-only revert

    Confirmed Regressions

    System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Path (+68.2%)

    • Delta: 335.81 μs → 564.85 μs (+68.2%)
    • Historical Context: μ=340.25 μs (σ=62.24 μs, n=300); z-score=3.61; adaptive threshold=36.59%
    • Assessment: Step change. All 14 after-values (561k–681k ns) are well above historical range (~263k–450k typical). CV=18.3% reflects historical spikes but current jump is ~2x historical mean.
    • Finding Confidence: 4/5 - Strong historical data, consistent signal across all post-regression runs
    • Regression Confidence: 5/5 - Surgical change directly in the extraction code path, z=3.61, 4 corroborating tests
    • Likely Cause: 710da3b3104f - "Solve symlinks destination (Solve symlinks destination  #129281)"
      • Affected Areas: System.Formats.Tar / File I/O
      • Stack Relevance: Relevant
      • Rationale: This commit adds a FilePathEscapesDirectory check on every file extraction that calls ResolvePhysicalPath (which walks every directory component calling FileInfo + ResolveLinkTarget) and then ResolveSymlink for each component of the relative path. This introduces multiple filesystem stat/readlink calls per extracted entry, explaining the ~68% overhead on a benchmark that extracts multiple files. The commit directly modifies TarEntry.ExtractRelativeToDirectoryAsync which is the exact code path exercised by the benchmark.
      • Candidates Considered:
        • 710da3b3104f - Directly modifies TarEntry extraction path with symlink resolution
        • 6814be7e81ea - ChangeToken async overload, unrelated
        • e6428cb16317 - JIT fix unlikely to affect I/O benchmarks
    • Verification Status: Not verified (surgical match with single commit makes verification unnecessary for attribution)

    System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Stream (+65.9%)

    • Delta: 413.21 μs → 685.29 μs (+65.9%)
    • Historical Context: μ=329.26 μs (σ=40.03 μs, n=297); z-score=8.89; adaptive threshold=24.32%
    • Assessment: Strong step change. Highest z-score (8.89) among all tests. All 14 after-values (544k–685k) clearly separated from before range.
    • Finding Confidence: 4/5 - Excellent data quality, z=8.89 is highly significant
    • Regression Confidence: 5/5 - Same root cause as above, strongest statistical signal
    • Likely Cause: 710da3b3104f - "Solve symlinks destination (Solve symlinks destination  #129281)"
      • Affected Areas: System.Formats.Tar / File I/O
      • Stack Relevance: Relevant
      • Rationale: Same mechanism as Path variant. Stream extraction uses the same ExtractRelativeToDirectoryAsync code path with added FilePathEscapesDirectory per-entry check.
    • Verification Status: Not verified

    System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Path_Async (+51.7%)

    • Delta: 417.52 μs → 633.31 μs (+51.7%)
    • Historical Context: μ=377.33 μs (σ=45.73 μs, n=300); z-score=5.60; adaptive threshold=24.24%
    • Assessment: Clear step change. All 14 after-values (596k–733k) consistently elevated. No concerning pre-regression drift (recentBeforeMean=387k).
    • Finding Confidence: 4/5 - Strong data, clear separation
    • Regression Confidence: 5/5 - Same root cause, corroborated
    • Likely Cause: 710da3b3104f - "Solve symlinks destination (Solve symlinks destination  #129281)"
      • Affected Areas: System.Formats.Tar / File I/O
      • Stack Relevance: Relevant
      • Rationale: Async path variant shares the same extraction logic, affected by the same symlink resolution overhead.
    • Verification Status: Not verified

    System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Stream_Async (+44.7%)

    • Delta: 417.37 μs → 604.00 μs (+44.7%)
    • Historical Context: μ=377.59 μs (σ=50.70 μs, n=300); z-score=4.47; adaptive threshold=26.85%
    • Assessment: Step change. All 14 after-values (580k–752k) above typical range. Minor pre-existing drift (recentBeforeMean=397k vs earlyBeforeMean=364k) but primary signal is the sharp post-regression jump.
    • Finding Confidence: 4/5 - Strong data, minor pre-drift noted but does not affect classification
    • Regression Confidence: 5/5 - Same root cause, consistent with other 3 tests
    • Likely Cause: 710da3b3104f - "Solve symlinks destination (Solve symlinks destination  #129281)"
      • Affected Areas: System.Formats.Tar / File I/O
      • Stack Relevance: Relevant
      • Rationale: Same mechanism as other variants. The slightly lower delta (44.7% vs 68.2%) may reflect the async overhead partially masking the added I/O cost.
    • Verification Status: Not verified

    Open Questions

    • Historical Data: Available and sufficient (297–300 runs). Moderate CV (12–18%) but deltas are extreme and unambiguous.
    • Confidence Limitations: None significant. Small commit range (8 commits), single obvious candidate.
    • Verification Needed: The regression is likely intentional (security hardening). Consider whether the overhead can be optimized (e.g., caching resolved paths, reducing redundant stat calls) rather than reverted.

    Recommended Actions

    1. Source review: Review 710da3b3104f focusing on FilePathEscapesDirectory and ResolvePhysicalPath — the per-component FileInfo + ResolveLinkTarget calls add N filesystem operations per extracted entry where N is the path depth.
    2. Optimization investigation: Consider caching ResolvePhysicalPath(destinationDirectoryPath) across entries (it's the same directory for all entries in a single extraction) and potentially caching resolved intermediate directories.
    3. Benchmark assessment: Determine if the benchmark setup uses symlinks — if not, a fast-path skipping resolution for non-symlink directories could reduce overhead significantly.
    4. Security trade-off: This is a security fix (CVE-style symlink traversal prevention). Performance regression may be acceptable if it prevents path traversal attacks, but optimization of the implementation should still be pursued.

    Bisection Results

    Test Status Culprit Commit Relevance Reported Diff (issue) Bisected Diff (at culprit) Duration
    ExtractToDirectory_Path ✅ Culprit found 710da3b3104f ✅ RELATED 335.8→564.8 μs (+68%) 307.9→565.8 μs (+84%) 1267s
    ExtractToDirectory_Stream ✅ Culprit found 710da3b3104f ✅ RELATED 413.2→685.3 μs (+66%) 256.7→549.5 μs (+114%) 1019s
    ExtractToDirectory_Path_Async ✅ Culprit found 6814be7e81ea ⚠️ UNRELATED 417.5→633.3 μs (+52%) 397.7→661.4 μs (+66%) 2871s
    ExtractToDirectory_Stream_Async ✅ Culprit found 710da3b3104f ✅ RELATED 417.4→604.0 μs (+45%) 324.8→600.4 μs (+85%) 4987s

    Total bisection time: 10145s
    Success rate: 4/4 tests

    ⚠️ Alignment Warning

    Bisection found commits that are unrelated to the regressed tests. This strongly suggests the performance changes are caused by code alignment, binary layout, or other non-functional factors rather than actual regressions. Consider marking as noise.

    System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Path

    • Culprit: 710da3b3104f
    • Commit Message: Solve symlinks destination (Solve symlinks destination  #129281)
    • Relevance: RELATED
    • Explanation: This commit adds symlink resolution logic (ResolvePhysicalPath, ResolveSymlink, FilePathEscapesDirectory) directly to the TarEntry.ExtractRelativeToDirectoryAsync method in System.Formats.Tar. The new code walks every path component and calls FileInfo/ResolveLinkTarget during extraction, which directly explains the ~68% regression in ExtractToDirectory_Path.

    Helix jobs

    Job ID Submitted by bisection Last status
    9eb53818-fbc2-437f-a087-de1ba7aae153 ✅ submitted
    158fcbf8-7c57-4215-aea6-64e10d243d40 ✅ submitted

    Per-commit measurements

    Commit Position Measurements
    e1979b72ccb5 baseline 310.870 μs
    412dcde2fb3f three-quarter 588.500 μs
    6814be7e81ea head 588.820 μs
    710da3b3104f culprit 565.750 μs
    dfdc914e2e45 quarter 307.940 μs
    e6428cb16317 mid 594.470 μs
    Bisection details

    …[earlier output omitted]

    CP: PerfTriageMcp) · owner: "dotnet", repo: "runtime", sha: "710da3b3…
    └ {"index":null,"sha":"710da3b3104ff8e0415720d173b1b6c8a2f970dc","abbrevSha":"7...

    This is a clear match. The commit 710da3b3104ff8e0415720d173b1b6c8a2f970dc titled "Solve symlinks destination (#129281)" directly modifies System.Formats.Tar/src/System/Formats/Tar/TarEntry.cs, adding symlink resolution logic (ResolvePhysicalPath, ResolveSymlink, FilePathEscapesDirectory) to the extraction path. This adds filesystem operations (symlink resolution, path walking) to every extraction, which explains the ~68% regression in ExtractToDirectory_Path.

    Now let me compile the final results:

    BISECTION RESULT:
    - Culprit Commit: 710da3b3104ff8e0415720d173b1b6c8a2f970dc
    - Commit Message: Solve symlinks destination  (#129281)
    - Commits Tested: 6
    - Confidence: 3/5
    - Commit Relevance: RELATED
    - Relevance Explanation: This commit adds symlink resolution logic (ResolvePhysicalPath, ResolveSymlink, FilePathEscapesDirectory) directly to the TarEntry.ExtractRelativeToDirectoryAsync method in System.Formats.Tar. The new code walks every path component and calls FileInfo/ResolveLinkTarget during extraction, which directly explains the ~68% regression in ExtractToDirectory_Path.
    - Baseline Value: 307.94 us
    - Culprit Value: 565.75 us
    - Summary: Bisected 8 commits between e1979b72ccb5 (good) and 6814be7e81ea (bad). Double bisection narrowed the regression to between dfdc914e2e45 (~308 us) and 710da3b3104f (~566 us), which are adjacent commits. Confidence capped at 3/5 due to high noise floor (CV=18.29%, 2σ=37% of baseline) though the step change (~84%) clearly exceeds the noise floor.
    
    HELIX JOBS:
    - 9eb53818-fbc2-437f-a087-de1ba7aae153
    - 158fcbf8-7c57-4215-aea6-64e10d243d40
    
    MEASUREMENTS:
    - e1979b72ccb5 (baseline): 310.87 us
    - dfdc914e2e45 (quarter): 307.94 us
    - 710da3b3104f (culprit): 565.75 us
    - e6428cb16317 (mid): 594.47 us
    - 412dcde2fb3f (three-quarter): 588.50 us
    - 6814be7e81ea (head): 588.82 us
    

    System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Stream

    • Culprit: 710da3b3104f
    • Commit Message: Solve symlinks destination (Solve symlinks destination  #129281)
    • Relevance: RELATED
    • Explanation: The commit adds symlink path validation (FilePathEscapesDirectory, ResolveSymlink, ResolvePhysicalPath) to TarEntry.ExtractRelativeToDirectoryAsync in System.Formats.Tar, which is the exact code path exercised by the ExtractToDirectory_Stream benchmark. The new logic resolves symlinks at each path component during extraction, adding significant filesystem I/O overhead per entry.

    Helix jobs

    Job ID Submitted by bisection Last status
    03231757-36e4-4ff2-8f32-c5e12f7381b3 ✅ submitted
    3f665703-4281-429a-adf9-881a6900b317 ✅ submitted

    Per-commit measurements

    Commit Position Measurements
    412dcde2fb3f three-quarter 536.579 μs
    710da3b3104f culprit 549.469 μs
    dfdc914e2e45 quarter 256.720 μs
    e6428cb16317 mid 533.531 μs
    Bisection details

    …[earlier output omitted]

    256.7 μs) to 710da3b3 (549.5 μs) is ~293 μs, well above the 2σ noise floor of ~80 μs.

    Phase 2: Commit Relevance Analysis

    ● get_single_commit_summary (MCP: PerfTriageMcp) · owner: "dotnet", repo: "runtime", sha: "710da3b3…
    └ {"index":null,"sha":"710da3b3104ff8e0415720d173b1b6c8a2f970dc","abbrevSha":"7...

    This is clearly the culprit. The commit "Solve symlinks destination (#129281)" directly modifies System.Formats.Tar/src/System/Formats/Tar/TarEntry.cs, adding FilePathEscapesDirectory, ResolveSymlink, and ResolvePhysicalPath methods that are called during extraction. These methods walk every path component resolving symlinks via filesystem I/O, directly impacting the ExtractToDirectory_Stream benchmark.

    Here are the final results:

    BISECTION RESULT:
    - Culprit Commit: 710da3b3104ff8e0415720d173b1b6c8a2f970dc
    - Commit Message: Solve symlinks destination  (#129281)
    - Commits Tested: 4
    - Confidence: 5
    - Commit Relevance: RELATED
    - Relevance Explanation: The commit adds symlink path validation (FilePathEscapesDirectory, ResolveSymlink, ResolvePhysicalPath) to TarEntry.ExtractRelativeToDirectoryAsync in System.Formats.Tar, which is the exact code path exercised by the ExtractToDirectory_Stream benchmark. The new logic resolves symlinks at each path component during extraction, adding significant filesystem I/O overhead per entry.
    - Baseline Value: 256719.9 ns
    - Culprit Value: 549469.0 ns
    - Summary: Bisected 8 commits between e1979b72ccb5 and 6814be7e81ea. Double bisection identified the regression between dfdc914e (good, 256.7 μs) and 710da3b3 (regressed, 549.5 μs). The culprit commit adds per-component symlink resolution during tar extraction for security hardening, causing ~2x slowdown.
    
    HELIX JOBS:
    - 03231757-36e4-4ff2-8f32-c5e12f7381b3
    - 3f665703-4281-429a-adf9-881a6900b317
    
    MEASUREMENTS:
    - dfdc914e2e45 (quarter): 256719.9 ns
    - 710da3b3104f (culprit): 549469.0 ns
    - e6428cb16317 (mid): 533531.3 ns
    - 412dcde2fb3f (three-quarter): 536578.9 ns
    

    System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Path_Async

    • Culprit: 6814be7e81ea
    • Commit Message: Added async overload of ChangeToken.OnChange (Added async overload of ChangeToken.OnChange #129624)
    • Relevance: UNRELATED
    • Explanation: The commit modifies Microsoft.Extensions.Primitives (ChangeToken async overloads), which has no functional connection to System.Formats.Tar file extraction. The regression direction is inconsistent across machines (regression on one, improvement on another), strongly indicating a code alignment/binary layout artifact rather than a real regression.
    • ⚠️ This commit is UNRELATED to the test — likely a code alignment artifact

    Helix jobs

    Job ID Submitted by bisection Last status
    180cdd39-cfbb-452f-af30-30f1d9349687 ✅ submitted
    efcbab7b-953d-4ee5-aaa4-e490a873bfbd ✅ submitted
    552ac2c5-5825-4917-9c10-33133be159e1 ✅ submitted
    2c16935f-2c68-443b-96f7-85b507a95634 ✅ submitted

    Per-commit measurements

    Commit Position Measurements
    e1979b72ccb5 baseline, job1 689.860, 612.950 μs
    412dcde2fb3f job1 397.660, 578.160 μs
    dfdc914e2e45 job1 676.410, 605.480 μs
    e6428cb16317 job1 385.130 μs
    6585d1cf126b job3 598.900 μs
    710da3b3104f job3 312.110, 600.080 μs
    926aa83f0d25 job3 327.390, 600.020 μs
    e4cdfeebacd6 job3 585.500 μs
    6814be7e81ea head, job1 661.360, 338.340, 334.920 μs
    Bisection details

    …[earlier output omitted]

    :

    • Culprit Commit: 6814be7
    • Commit Message: Added async overload of ChangeToken.OnChange (Added async overload of ChangeToken.OnChange #129624)
    • Commits Tested: 11
    • Confidence: 2
    • Commit Relevance: UNRELATED
    • Relevance Explanation: The commit modifies Microsoft.Extensions.Primitives (ChangeToken async overloads), which has no functional connection to System.Formats.Tar file extraction. The regression direction is inconsistent across machines (regression on one, improvement on another), strongly indicating a code alignment/binary layout artifact rather than a real regression.
    • Baseline Value: 397.66 us
    • Culprit Value: 661.36 us
    • Summary: Bisection identified 6814be7 as the boundary commit on one machine, but results were inconsistent across machines in the Helix pool—the same commit showed an improvement on a different machine. This test has very high noise (CV=12.12%) and the commit is functionally unrelated to tar file operations, indicating a code alignment effect.

    HELIX JOBS:

    • 180cdd39-cfbb-452f-af30-30f1d9349687
    • efcbab7b-953d-4ee5-aaa4-e490a873bfbd
    • 552ac2c5-5825-4917-9c10-33133be159e1
    • 2c16935f-2c68-443b-96f7-85b507a95634

    MEASUREMENTS:

    ALIGNMENT WARNING:
    This bisection found a commit that does not appear related to the regression test.
    This suggests the performance change may be due to code alignment, binary layout,
    or other non-functional factors rather than a regression in the tested code path.

    
    </details>
    
    ### System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Stream_Async
    
    - **Culprit**: [710da3b3104f](https://www.github.com/dotnet/runtime/commit/710da3b3104ff8e0415720d173b1b6c8a2f970dc)
    - **Commit Message**: Solve symlinks destination (#129281)
    - **Relevance**: RELATED
    - **Explanation**: The commit adds a new `FilePathEscapesDirectory` method to `TarEntry.cs` that resolves symlinks at each path component during extraction. This is directly in the hot path of `ExtractToDirectory_Stream_Async`, adding per-component `FileInfo.ResolveLinkTarget` calls that explain the ~90% regression in extraction time.
    
    **Helix jobs**
    
    | Job ID | Submitted by bisection | Last status |
    |--------|------------------------|-------------|
    | [`593d2042-59cd-486e-b218-48f50544a3ca`](https://helix.dot.net/api/jobs/593d2042-59cd-486e-b218-48f50544a3ca/workitems?api-version=2019-06-17&access_token={Get) | ✅ | submitted |
    | [`e21247c5-9444-44e7-ad3e-42f7008bd7d1`](https://helix.dot.net/api/jobs/e21247c5-9444-44e7-ad3e-42f7008bd7d1/workitems?api-version=2019-06-17&access_token={Get) | ✅ | completed |
    
    **Per-commit measurements**
    
    | Commit | Position | Measurements |
    |--------|----------|--------------|
    | [`e1979b72ccb5`](https://www.github.com/dotnet/runtime/commit/e1979b72ccb5) | baseline | 317.460 μs |
    | [`412dcde2fb3f`](https://www.github.com/dotnet/runtime/commit/412dcde2fb3f) | regressed | 611.040 μs |
    | [`6814be7e81ea`](https://www.github.com/dotnet/runtime/commit/6814be7e81ea) | head | 603.650 μs |
    | [`710da3b3104f`](https://www.github.com/dotnet/runtime/commit/710da3b3104ff8e0415720d173b1b6c8a2f970dc) | culprit | 600.380 μs |
    | [`dfdc914e2e45`](https://www.github.com/dotnet/runtime/commit/dfdc914e2e45) | good | 324.820 μs |
    | [`e6428cb16317`](https://www.github.com/dotnet/runtime/commit/e6428cb16317) | regressed | 600.790 μs |
    
    <details>
    <summary>Bisection details</summary>
    
    _…[earlier output omitted]_
    
    ● get_single_commit_summary (MCP: PerfTriageMcp) · owner: "dotnet", repo: "runtime", sha: "710da3b3…
      └ {"index":null,"sha":"710da3b3104ff8e0415720d173b1b6c8a2f970dc","abbrevSha":"7...
    
    This commit is clearly the culprit. It modifies `System.Formats.Tar/src/System/Formats/Tar/TarEntry.cs` — the exact code path exercised by the `ExtractToDirectory_Stream_Async` benchmark. The new `FilePathEscapesDirectory` method adds symlink resolution logic (calling `ResolveSymlink` → `FileInfo.ResolveLinkTarget`) at each path component during extraction, which adds significant I/O overhead.
    
    

    BISECTION RESULT:

    • Culprit Commit: 710da3b
    • Commit Message: Solve symlinks destination (Solve symlinks destination  #129281)
    • Commits Tested: 6
    • Confidence: 5
    • Commit Relevance: RELATED
    • Relevance Explanation: The commit adds a new FilePathEscapesDirectory method to TarEntry.cs that resolves symlinks at each path component during extraction. This is directly in the hot path of ExtractToDirectory_Stream_Async, adding per-component FileInfo.ResolveLinkTarget calls that explain the ~90% regression in extraction time.
    • Baseline Value: 324.82 us (the measured perf at the last-good commit before the culprit, e.g. "1245.0 ns")
    • Culprit Value: 600.38 us (the measured perf at the culprit commit, same units as Baseline Value)
    • Summary: Bisected 8 commits between e1979b7 and 6814be7. The first Helix job tested 5 commits and identified the regression between dfdc914 (324.82 us) and e6428cb (600.79 us). A second job confirmed 710da3b (600.38 us) is the first regressed commit, immediately after dfdc914.

    HELIX JOBS:

    • 593d2042-59cd-486e-b218-48f50544a3ca
    • e21247c5-9444-44e7-ad3e-42f7008bd7d1

    MEASUREMENTS:

    
    </details>
    
    <!-- perf-triage-next-actions-v1 -->
    
    ### 🤖 Proposed Next Actions
    
    **Rule**: `R4_known_regression_new` — Known-cause regression — transfer & notify.
    
    Verified regression attributed to commit 710da3b3104f (finding 5/5, regression 5/5, bisection RELATED). No prior linked autofile issue found.
    
    | # | Action | Status | Details |
    |---|--------|--------|---------|
    | 1 | Back-reference cause PR | ⏭️ Skipped (dry-run) | on culprit PR for `710da3b3104f` |
    | 2 | Transfer issue | ⏭️ Skipped (dry-run) | → dotnet/runtime |
    | 3 | Ping owners | ⏭️ Skipped (dry-run) | no owners resolved |
    | 4 | Remove label | ⏭️ Skipped (dry-run) | `untriaged` |
    
    </details>
    
    <!-- perf-triage-reanalysis-pre-v1 -->
    
    #### 🦆 Pre-bisection Re-analysis (advisory)
    
    <details>
    <summary>✅ Agrees with the pre-bisection plan — advisory only, not applied</summary>
    
    **Rationale**: All four findings share the same likely commit (710da3b3104f), high change confidence (5/5), relevant stack, and cover both sync/async + path/stream variants of the same API — a coherent regression signature with no noise indicators. Because they all point to the same commit, bisection could potentially be consolidated to fewer slots, but running all four is still reasonable for confirmation.
    
    _This critique is advisory in the current configuration and did **not** change which tests were bisected._
    
    </details>
    
    <!-- perf-triage-reanalysis-v1 -->
    
    #### 🦆 Re-analysis (advisory)
    
    <details>
    <summary>⚠️ Disputes the analysis — advisory only, not applied</summary>
    
    **Flags**: `overconfident-async-finding`, `bisection-divergence`
    
    **Rationale**: Three of four bisections converge on 710da3b3, which is strong evidence, but ExtractToDirectory_Path_Async bisected to an entirely different commit (6814be7e) with relevance=UNRELATED and alignmentWarning=True. The per-finding signal for that test still claims changeConf=5/5 with likelyCommit=710da3b3, contradicting its own bisection result. Overall 5/5 confidence is not warranted when 25% of the evidence is divergent; 4/5 better reflects the slight ambiguity.
    
    **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._
    
    </details>
    
    ---
    *Generated by PerfTriageAgent on 2026-07-07 11:43 UTC*
    <!-- copilot-sessions: {"bisections":{"System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Path":"3aaa9365-6b56-4f9e-a1a7-9407059232a3","System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Path_Async":"43dae906-667b-44a7-a896-9a1e6fe8f5bf","System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Stream":"71fa9b81-b486-4575-b422-25438a489ba3","System.Formats.Tar.Tests.Perf_TarFile.ExtractToDirectory_Stream_Async":"35343820-fdca-47a3-ad34-ac5ee800f317"},"main":"5c9182af-d0e4-4822-bbb0-61521f9c30cb"} -->
    <!-- copilot-sessions-manifest: https://perftriagedevsa.blob.core.windows.net/triage-sessions/dotnet-perf-autofiling-issues/75687/20260707T114333Z/manifest.json -->
    
  3. removed
    untriaged
    on Jul 7, 2026
  4. added
    untriaged
    on Jul 7, 2026
  5. added
    area-CodeGen-coreclr
    on Jul 7, 2026
  6. added
    tenet-performance
    tenet-performance-benchmarks
    on Jul 7, 2026
  7. dotnet-policy-service commented on Jul 7, 2026

    @dotnet-policy-service
    Contributor

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

  8. added and removed
    area-CodeGen-coreclr
    on Jul 8, 2026
  9. dotnet-policy-service commented on Jul 8, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-formats-tar
    See info in area-owners.md if you want to be subscribed.

  10. removed
    untriaged
    on Jul 9, 2026
  11. added this to the 11.0.0 milestone on Jul 9, 2026
  12. added theissue type on Jul 14, 2026
  13. modified the milestones: 11.0.0, 12.0.0 on Aug 11, 2026
  14. locked and limited conversation to collaborators on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-x64area-System.Formats.Taros-windowsruntime-coreclrtenet-performancetenet-performance-benchmarks

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions