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

Feature: access to stats after Done() #5

Open
brendensoares opened this issue Jul 4, 2019 · 0 comments
Open

Feature: access to stats after Done() #5

brendensoares opened this issue Jul 4, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@brendensoares
Copy link

I'd like to show a summary status after the progress is completed.

Would be nice to render a final bar format after completion. e.g. during:

(█████               ) 25.0% 3.0 ops/s

and after:

(████████████████████) 100%

It may be better to simply allow the calling code to access the bar instance's stats props to display its own summary. e.g.

Processed 5,300 units in 18s (avg 9 units/sec)

Summary of proposed features:

  1. Add optional WithFinalFormat() e.g. :bar :percent to replace bar's in-progress, initial format
  2. Export Bar stats props like rate, startedAt, and (assuming the duration token gets added) duration
@superhawk610 superhawk610 added enhancement New feature or request good first issue Good for newcomers labels Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants