Skip to content

Disable profiler in tests? #6075

@fjetter

Description

@fjetter

We constantly have a profiler running in the background, often the threads associated to it are not properly cleaned up.

In #6033 we discovered that it can also be responsible for holding on to references longer than necessary which should not be a problem in production but it is for testing.

On top of these and likely other problems, the profiler surely slows down our tests, particularly with converage enabled.

Should we not run the profiler at all for non-profiling related tests?

Metadata

Metadata

Assignees

No one assigned

    Labels

    diagnosticsfeatureSomething is missingtestsUnit tests and/or continuous integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions