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

Progress bar needs more fidelity #10

Open
ZipCPU opened this issue Mar 20, 2019 · 0 comments
Open

Progress bar needs more fidelity #10

ZipCPU opened this issue Mar 20, 2019 · 0 comments

Comments

@ZipCPU
Copy link

ZipCPU commented Mar 20, 2019

Expected Behavior

The progress bar should slowly move from left to right

Actual Behavior

The progress bar is either at 50% or 100%, never anywhere else

Suggested behavior

First, estimate the total time.

  1. If a previous run exists, use the amount of time in the previous run as an estimate of the time required.

  2. If no previous run exists, or if the previous time has elapsed, estimate the total time expected as the elapsed time plus the average time of the last two cycles times the number of remaining cycles.

Now measure the progress based upon the elapsed time vs the total time expected.

Also suggest that you don't go past 99% completion--just so the user doesn't get confused about how much is left.

Dan

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

No branches or pull requests

1 participant