Skip to content

Print warning when test files take a disproportionate amount of time to declare testsΒ #2565

Open
@novemberborn

Description

@novemberborn

Based on feedback from @shusson in #2268 (comment) it would be interesting if we could instrument how long it takes between AVA loading the test file to tests being declared.

This time is not taken by AVA itself, but instead by the test and project code. There are likely optimizations possible in the project that is using AVA.

If this takes a disproportionate amount of time of the overall test run (5%? 10%?) we should print a warning after the test run has completed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions