Stream: t-compiler/wg-self-profile

Topic: profile whole crate graph

nikomatsakis (May 31 2019 at 21:57, on Zulip):

Hey @Wesley Wiser -- quick question. Suppose I run something like

RUSTFLAGS=-Zself-profile cargo build

this will generate a lot of files with (I think) PID in them in the directory. Is there a way to easily sort out which comes from which crate?

Wesley Wiser (May 31 2019 at 22:25, on Zulip):

So, on a recent-ish build of rustc, you should end up with files like {crate_name}-{pid}.{events,string_data,string_index}

nikomatsakis (Jun 01 2019 at 11:46, on Zulip):

ah, cool

Last update: Nov 25 2020 at 02:45UTC