markfasheh / duperemove

Tools for deduping file systems
GNU General Public License v2.0
794 stars 78 forks source link

Make progress indicator more predictable #286

Open mvglasow opened 2 years ago

mvglasow commented 2 years ago

Running duperemove gives a percentage indicator, which, however, presents two surprises:

For first-time users, this can be a bit misleading. If progress reaches 10% after a day, one might expect the whole process to take 10 days, only to find 19 days later that indexing is still in progress, and 2 days later that indexing is just one out of two or three phases.

The holy grail of UX for progress would be a near-steady rate, though I understand that may be difficult, depending on circumstances.

Suggestions:

For the last point, the advanced solution is probably suitable only if the duration of phases relative to each other is somewhat predictable from the moment indexing starts (else, extrapolations based on progress will become unreliable again). The easy solution is probably preferable if the duration of the phases is highly variable and cannot be predicted from the start.