use SI prefixes for progress#2817
Conversation
|
@casperdcl Sure it is a great thing, who wants the byte precision anyway? 😄 |
|
Is this patch all we need for all progress bars that we have? I mean, no additional modifications required for any other bars, right? Just making sure. |
|
Yes nothing else needed.
It also reduces the file count precision when there are many files. |
@casperdcl Oh... How would that look now? Could you show us? Also, what are your thoughts on that from UI perspective? |
|
@efiop before/after recording added to description.
I think in certain circumstances users may prefer granular file counts over SI prefixes. |
|
Well, on the other hand, when talking about number of files, we always have complimentary progress bars for md5 computations and whatnot (and there will be additional coming) so, it is not like dvc will be looking frozen. So I think we can afford taking this behavior as a standard. Could consider a flag for granular output if someone asks for it. |
changes
560000/1000023in progress bars to560k/1MNote that this looses some precision for large numbers but looks nicer. Not sure if this is a good or bad thing.