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

Log execution time for stages #204

Open
sacdallago opened this issue Jan 28, 2019 · 0 comments
Open

Log execution time for stages #204

sacdallago opened this issue Jan 28, 2019 · 0 comments

Comments

@sacdallago
Copy link
Member

sacdallago commented Jan 28, 2019

From a management perspective, being able to log how long a stage executes for is useful information (undoubtably for the web, but even for fair share on o2 etc.).

This would translate in a function in utils/pipeline.py that gets called at the beginning and end (suppose you only run one stage and want logging on how long that took) of this for loop https://github.com/debbiemarkslab/EVcouplings/blob/develop/evcouplings/utils/pipeline.py#L141 . This is obviously optional, I'd add a key in management, called report_execution_time that may be not set or False for no reporting, and only if explicitly set to True will report said execution time.

I think #166 is already way too feature packed to put this in as well, so I'm gonna do this once that PR is merged.

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

No branches or pull requests

1 participant