Skip to content

Ability to report on collect time #8026

@abrenneke

Description

@abrenneke

Clear and concise description of the problem

In our large monorepo, the collect time is by far the largest. It would be nice if there were a reporter that would show how long was spent on collect in a more granular manner, such as every file Vitest has processed.

Suggested solution

vitest run --reporter=collect-time could report every imported file with the total time spent importing it.

Alternative

Vitest UI could show this as well?

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: reportersIssues and PRs related to Vitest reportersp2-nice-to-haveNot breaking anything but nice to have (priority)

    Projects

    Status

    Approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions