Skip to content

compiletest: add self-instrumentation for time taken between different steps #136427

Open
@jieyouxu

Description

@jieyouxu

E.g. for PRs like #136404, it would be very useful to have self-instrumentation for the time taken between steps (e.g. test discovery/collection, directive parsing, etc.). The compiler has self-instrumentation infra that we can steal adapt for our purposes.

Marked as E-hard because it can be annoying to implement this cleanly in the current code structure (there is no phase-split between discovery -> directive parsing -> test running).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions