rustc-dev-guide icon indicating copy to clipboard operation
rustc-dev-guide copied to clipboard

Add section about self-profiling and measureme

Open michaelwoerister opened this issue 4 years ago • 1 comments

The in-tree documentation about this is not too bad but it would be good to give a high-level overview here, and especially add a step-by-step guide how to add new measurements (what needs to land in measureme and what in the compiler and how to sequence that).

michaelwoerister avatar Jul 22 '21 09:07 michaelwoerister

There's already a section on measureme here: https://rustc-dev-guide.rust-lang.org/profiling.html

It only has docs on how to use the existing measurements, not to add new ones, but I think that might be better suited to somewhere in https://github.com/rust-lang/measureme/ instead?

jyn514 avatar Apr 08 '23 20:04 jyn514