The unit test host peaks near 8 GB, mostly in Tests.Convenience
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Start by running dotnet test --filter FullyQualifiedName~Tests.Convenience and watching the test host's resident memory, then compare with DocumentationExamplesRunTest alone. Find which tests in the Tests.Convenience namespace allocate the most, and check whether large inputs or cached results are kept alive across tests. Done means the full suite peaks well under a few GB, or the memory-heavy tests are documented with a reason. The maintainers should confirm which outcome they want before a fix is written.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The unit test host peaks near 8 GB on master. Measured on 790feec2 (net10.0, Release), as the test host's resident memory:
| Run | Peak |
|---|---|
| whole suite | 7,947 MB (killed by a local 8 GB guard in one of two runs) |
FullyQualifiedName~Tests.Convenience |
5,832 MB in 16 s |
DocumentationExamplesRunTest alone |
2,505 MB |
everything except Tests.Convenience |
about 1.9 GB |
Tests.Calculus |
1,763 MB |
So most of it comes from Tests.Convenience. On a machine with less memory, or a CI runner with a lower limit, the whole run can be killed mid-way, and vstest still prints Passed! over the tests that finished.
What I'd expect: the suite should stay well under a few GB, or the tests that need that much should say why.
- Ngôn ngữ chính
- C#
- Star
- 831
- Fork
- 79
- Merge trung bình
- 2 giờ 17 phút
- Pull request đã merge (30 ngày)
- 443
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọ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 ASC-Community/AngouriMath
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
ASC-Community/AngouriMath#1885 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
ASC-Community/AngouriMath#1807 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ASC-Community/AngouriMath#1692 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
ASC-Community/AngouriMath#1690 ·
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 48/100
ASC-Community/AngouriMath#1689 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ASC-Community/AngouriMath
Issue tương tự
-
area-signalr
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
dotnet/aspnetcore#69842 · 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 75/100
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 64/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug needs-triage
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 78/100
microsoft/microsoft-ui-reactor#1373 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Client customer-reported KeyVault needs-team-attention question Service Attention
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Azure/azure-sdk-for-net#63861 · 3 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày