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

Rounded ETAs for long tasks #278

Open
magiraud opened this issue Aug 27, 2024 · 1 comment
Open

Rounded ETAs for long tasks #278

magiraud opened this issue Aug 27, 2024 · 1 comment

Comments

@magiraud
Copy link

alive-progress is a fantastic tool, thank you!

On a long task, my bar display something like 101/456 [22%] in 26:09 (~1:32:15, 0.1/s)

The current ETA provides a estimate with updates down to the second (1:32:15) and... this is constantly changing. This level of precision seems unnecessary and may draw undue attention to what is not really meaningful. A more rounded ETA could be more "stable" (here 1:32:00) and less distracting, as for example:

  • Round ETAs between 1 minute and 1 hour to the nearest 10 seconds.
  • Round ETAs above 1 hours to the nearest minute.

This would offer a more user-friendly and less intrusive display of time estimates.

@rsalmei
Copy link
Owner

rsalmei commented Aug 28, 2024

alive-progress is a fantastic tool, thank you!

Thanks, man!

Yeah, I see... That is actually a great suggestion!
I have been thinking about a similar request: #247, but I'm kind of stuck there. I know I do need to improve the ETA for long-running tasks.
I'll think about it.

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

2 participants