Skip to content

convenient self-profile option? #50780

Closed
Closed
@nikomatsakis

Description

@nikomatsakis

It'd be really nice if there were an easy way to breakdown compilation time into a few categories, and to get a summary of reuse:

  • Parsing/expansion
  • Type-checking, borrow-checking
  • Codegen (aka trans)
  • LLVM + linking

Something that we could conveniently copy and paste into bug reports to get an overall sense of what is going. This would replace and/or build on the existing profile options. (Even better would be if we could then have an option to get per-query data, later on.)

cc @nnethercote @michaelwoerister

Metadata

Metadata

Assignees

Labels

C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.WG-compiler-performanceWorking group: Compiler Performance

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions