Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo build analysis #243

Open
MarcAntoine-Arnaud opened this issue Nov 18, 2022 · 1 comment
Open

Cargo build analysis #243

MarcAntoine-Arnaud opened this issue Nov 18, 2022 · 1 comment

Comments

@MarcAntoine-Arnaud
Copy link

Hello,

Do you think it's possible to bench cargo build analysis ?
I have try to do:

sudo flamegraph -- cargo build

but it not works yet...

@djc
Copy link
Contributor

djc commented Nov 20, 2022

Why doesn't it work? What have you tried? What are you trying to learn? Are you aware of Cargo's self-profiling options?

https://blog.rust-lang.org/inside-rust/2020/02/25/intro-rustc-self-profile.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants