Skip to content
This repository was archived by the owner on Jul 11, 2019. It is now read-only.

show duration on success#636

Open
byteshinobi wants to merge 3 commits intojoeferraro:masterfrom
byteshinobi:feature/show-duration
Open

show duration on success#636
byteshinobi wants to merge 3 commits intojoeferraro:masterfrom
byteshinobi:feature/show-duration

Conversation

@byteshinobi
Copy link

  • track start time when thread starts
  • calculate duration when thread completes
  • show duration in seconds on success

Test Plan: tested in my local environment for several days

  - track start time when thread starts
  - calculate duration when thread completes
  - show duration in seconds on success

Test Plan: tested in my local environment for several days
lib/cli.py Outdated
Copy link
Owner

Choose a reason for hiding this comment

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

@boonedox should this be:

self.start_time=kwargs.get('start_time', time.time()),

?

@byteshinobi
Copy link
Author

Yes, it should. I'll update the pull request.

@byteshinobi
Copy link
Author

Those changes are now part of the pull request. Let me know if you have any other suggestions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants