-
Notifications
You must be signed in to change notification settings - Fork 198
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
Show the memory usage and time to build a crate #878
Comments
This needs changes to rustwide, see #842 (comment) |
If the goal is just to alert the user whether the build failed due to a OOM or a timeout, we don't need to wrap the build with We could change the
...and then provide a UI in the build log page displaying a warning if the status is |
Even for successful builds, it'd be nice to record the duration and max-memory usage and show those on the build page. |
Can I work on this? |
@wambu-i go for it! I think the steps will looks something like this:
Recording this info for successful builds will need rustwide changes, so let's leave those for later. #1072 made similar changes and might be helpful. |
For crates which time out due to resource limits, there is very little indication of why: the logs show only 'process exited with signal SIGKILL'. It would be ideal to say why the process was killed and how much time and memory were used.
I wonder if docs.rs can use this same trick with
/usr/bin/time -v
?Originally posted by @wez in #842 (comment)
The text was updated successfully, but these errors were encountered: