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

Add an option to output crate build timings #4164

Closed
luser opened this issue Jun 13, 2017 · 2 comments
Closed

Add an option to output crate build timings #4164

luser opened this issue Jun 13, 2017 · 2 comments
Labels
A-build-execution Area: anything dealing with executing the compiler C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-build

Comments

@luser
Copy link
Contributor

luser commented Jun 13, 2017

Currently cargo outputs a line at the end of the build like Finished dev [unoptimized + debuginfo] target(s) in 4.78 secs giving the overall build time. It would be nice if there was a way to get out build times for the individual crates that were built, and even timings for the individual build steps within each crate, like compiling a build script, executing a build script, compiling the crate, compiling any binaries, etc. The most useful thing to me would be to just output a JSON file, probably.

@carols10cents carols10cents added A-build-execution Area: anything dealing with executing the compiler C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-build labels Aug 30, 2017
@federicomenaquintero
Copy link
Contributor

Note that with #7405 this is more or less already in place.

@ehuss
Copy link
Contributor

ehuss commented Oct 31, 2019

Yea, I'll close in favor of #7405.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-build-execution Area: anything dealing with executing the compiler C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-build
Projects
None yet
Development

No branches or pull requests

4 participants