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 compile time to status message #960

Merged
merged 2 commits into from
Aug 18, 2022

Conversation

connor-lennox
Copy link
Contributor

@connor-lennox connor-lennox commented Aug 17, 2022

Addresses issue #936 .

I've changed how the command is being run from using ...status() to ...output(), which allows us to capture stdout/stderr earlier than in the error state. Quick parse over stderr in the success case gets us the time it took to compile, which I've inserted into the status update string to indicate how long it took to compile.

edit by @hannobraun, to close the issue:
Close #936

Copy link
Owner

@hannobraun hannobraun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @connor-lennox, looks great!

@hannobraun hannobraun merged commit 6045e0e into hannobraun:main Aug 18, 2022
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

Successfully merging this pull request may close these issues.

Display model compile times
2 participants