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

Can one disable the "time estimate"? #131

Closed
MagnusErikssonAB opened this issue Mar 13, 2022 · 3 comments
Closed

Can one disable the "time estimate"? #131

MagnusErikssonAB opened this issue Mar 13, 2022 · 3 comments

Comments

@MagnusErikssonAB
Copy link

MagnusErikssonAB commented Mar 13, 2022

For my tests (that do not progress very linearly) the "estimated remaining time" (I assume it is - the second time display after the "/") is very inaccurate and I would prefer to disable it - is this possible? If not it would be a nice feature.

@ctongfei
Copy link
Owner

Right now it cannot be disabled. There are two ways: (1) enable a way to disable the estimated remaining time; (2) use a fancier method to estimate instead of just doing linear extrapolation as it is right now. Which one do you prefer?

@MagnusErikssonAB
Copy link
Author

MagnusErikssonAB commented Mar 18, 2022 via email

@ctongfei
Copy link
Owner

Will be fixed in 0.9.4, and added a new configurable setting in ProgressBarBuilder: you can now use setETAFunction(BiFunction<ProgressState, Duration, Optional<Duration>>) to provide with your own estimator of remaining time (for non-linear progresses).

@ctongfei ctongfei added this to the 0.9.4 milestone Sep 10, 2022
@ctongfei ctongfei mentioned this issue Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants