The unit test host peaks near 8 GB, mostly in Tests.Convenience
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- csharp
- Domínio
- testing-qa
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C#
- Estrelas
- 831
- Forks
- 79
- Merge médio
- 2h 17min
- PRs com merge (30d)
- 443
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ASC-Community/AngouriMath
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 12/100
ASC-Community/AngouriMath#1885 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 30/100
ASC-Community/AngouriMath#1807 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
ASC-Community/AngouriMath#1692 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 30/100
ASC-Community/AngouriMath#1690 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
ASC-Community/AngouriMath#1689 · 5 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de ASC-Community/AngouriMath
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Sector-Vestige/Sector-Vestige#476 ·
Mantenedores costumam responder em até 1 dia
-
S: Untriaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Trauma-Station/Trauma-Station#5058 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 2 dias
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
HoffmanEngineering/3d-print-log-api#243 ·
Mantenedores costumam responder em até 1 dia
-
:books: documentation untriaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia