-
-
Notifications
You must be signed in to change notification settings - Fork 229
Description
Hello,
first of all a big thanks for a great package. I love ❤️ it. I have noticed that alive-progress
is very-very slow to react to rate changes in long running processes. I have a batch run that in the beginning runs 60/s, then after maybe 5 hours it drops to 40/s and then maybe few hours it drops to 20/s and continues still ~6 hours. When the real progress is ~20/s, alive-progress
will report ~40/s rate and very-very slowly dropping it leading to false ETA.
Is there an option control the responsiveness of the rate estimator? Now the (Moving Average) rate estimator has way too long lead time.
If I am not mistaken, the culprit is this:
run.rate = gen_rate.send((processed(), run.elapsed)) |
This line calculates the rate of the cumulative total vs. total elapsed time vs. calculating it from the difference from the previous change.