3 ms·
A progress bar for what? Some things are trivial (copying a local file with a known size), some are impossible (streaming a file of an unknown size). It's not t
by viraptor 9y ago
A progress bar for what? Some things are trivial (copying a local file with a known size), some are impossible (streaming a file of an unknown size). It's not the problem is a progress bar, it's a problem of:
- How reliably can you provide the current stage mapped to the linear progress (do you know what step you're on? Do you know how many store exist / are enabled / are applicable?)
- How reliably can you map each stage to the time required? Does it depend on the environment / hardware / selected configuration?
For many cases the second one is basically unknown. You can still do a combination of lists and progress bars per step, or something similar to make it easier.
- amelius 9y agoValid questions! Of course, we should assume that the information which the progress bar needs is "knowable". And perhaps the question needs better phrasing, because there will be a trade-off between the resources used for computing the progress and it's accuracy.