-
-
Notifications
You must be signed in to change notification settings - Fork 243
Add option to show timings for each command in cli and also return timings when used programmatically #291
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
Comments
For the CLI, you can run your command with
That said, the API doesn't provide this, so your idea still is a good one. |
@gustavohenke yes the timestamp prefixes are an option however when there are multiple processes that produce a lot of logs it's difficult to manually calculate the durations of the processes. I feel it would be a better experience if there was an option to log this at the end as a summary |
I'm not available for the near future but I would be interested in giving this a go if its still open when I'm free |
It would be useful if the package tracked the start and end times of processes and/or the calculated duration in ms, then returning this as part of
ExitInfos
for programmatic use or printing to terminal when a timing option is enabled.The text was updated successfully, but these errors were encountered: