Skip to content

ClassCleanupManager.MarkTestComplete is inefficient #5742

Closed
@Youssef1313

Description

@Youssef1313

Create a test class with a parameterized test that has a million test case. Profile it to see:

Image

21 sec (45% of CPU time) is spent just in List<T>.Remove

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Area: Performance

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions