Track CI build performance optimizations
Maintainer thường phản hồi trong vòng 1 ngày
@max-charlamb đang làm issue này rồi.
Từ ngày 18/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Goal
Reduce PR validation time while keeping the current test coverage and make the improvements measurable against a stable baseline.
Pre-change baseline
The baseline uses eight successful builds from eight unique PRs after the pipeline topology change in #6236 and before the optimizations in #6262 and #6264.
- Median queue-to-finish time: 64.3 minutes
- Average queue wait before pipeline start: 3.2 minutes (median 0.4 minutes; one 18.4-minute outlier raised the average)
- Median pipeline timeline span: 63.6 minutes
- Median time until all build jobs completed: 30.6 minutes
- Direct test jobs: approximately 5-7 minutes
- Helix jobs: approximately 20-24 minutes median, with substantial queue/runtime variance
Median Build task durations:
| Platform | Duration |
|---|---|
| Linux x64 | 9.0 min |
| Windows x64 | 10.7 min |
| macOS x64 | 17.2 min |
| macOS arm64 | 21.4 min |
Gathering and publishing TestArtifacts adds approximately 1.7-3.3 minutes per build leg. This work currently also happens on the Linux arm, Linux musl arm, and Linux musl arm64 packaging-only legs, which have no downstream test jobs.
Baseline build IDs: 1688667, 1688123, 1687333, 1686411, 1686321, 1686317, 1686085, and 1685939.
Optimizations
- #6262 - Trim the TestArtifacts payload
- #6264 - Enable Roslyn shared compilation
- https://github.com/dotnet/diagnostics/pull/6260
- Investigate slower and more variable macOS builds
- Re-run the baseline after the optimizations merge
Measurement methodology
For the after-change comparison:
- Select the eight most recent successful builds from eight unique PRs using the same pipeline topology.
- Compare the
Buildtask, TestArtifacts gather/publish tasks, complete build jobs, and direct/Helix test jobs separately. - Report median, mean, P90, minimum, and maximum durations.
- Report queue-to-finish and timeline span, but identify whether build execution, agent availability, or Helix was on the critical path.
- Compare both absolute minutes and percentage change against this baseline.
Task-level measurements are the primary success criteria because end-to-end pipeline duration can be dominated by agent and Helix queue variance.
- Ngôn ngữ chính
- C++
- Star
- 1.3k
- Fork
- 409
- Merge trung bình
- 17 giờ 55 phút
- Pull request đã merge (30 ngày)
- 78
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dotnet/diagnostics
-
`libdbgshim` crashes in `MachOModule::ReadSymbolTable` on macOS 27 when a Metal app is attachedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
dotnet/diagnostics#6293 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fix StackAndOtherTests.script line number verification for .NET 11 and Windows x64Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
dotnet/diagnostics#5884 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
dotnet/diagnostics#6225 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Isolate SOS hosting from other debugger extensions that use managed codeCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
dotnet/diagnostics#6207 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Known Build Error
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 49/100
dotnet/diagnostics#6190 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của dotnet/diagnostics
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ros-navigation/navigation2#6883 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Niko1221/Strata#7537 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
`state_test.cpp`: add additional tests for `lutok::registry_index` and "pseudo-index branch"Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày