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

Profiling the Compiler #88

Open
michaelwoerister opened this Issue Mar 13, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@michaelwoerister
Copy link
Contributor

michaelwoerister commented Mar 13, 2018

It would be nice to have a section on how to profile the compiler, what tools to use, how to invoke them, and maybe a section on how to interpret results.

@mark-i-m

This comment has been minimized.

Copy link
Collaborator

mark-i-m commented Oct 13, 2018

@michaelwoerister Is this section (and its subsections) what you were thinking of?

https://rust-lang-nursery.github.io/rustc-guide/profiling.html

@michaelwoerister

This comment has been minimized.

Copy link
Contributor Author

michaelwoerister commented Oct 22, 2018

@mark-i-m That's an excellent start! I would be great to also have some info on valgrind/cachegrind since those provide a slightly different and useful set of measurements but come with some caveats when invoking the profiler (i.e. making sure that the rustc executable is profiled, not cargo or the rustup wrapper).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.