Re: Consider dropping the decimal places for KiB/s 52.00 KiB/s
From: Dragan Simic <hidden>
Date: 2023-11-30 19:28:32
On 2023-11-30 20:07, Taylor Blau wrote:
On Thu, Nov 30, 2023 at 06:11:57PM +0000, Jonny Grant wrote:quoted
$ git clone git://gcc.gnu.org/git/gcc.git git_1 Cloning into 'git_1'... remote: Enumerating objects: 2949348, done. remote: Counting objects: 100% (209238/209238), done. remote: Compressing objects: 100% (14579/14579), done. Receiving objects: 7% (210878/2949348), 76.33 MiB | 52.00 KiB/sOn my machine: $ git.compile clone git://gcc.gnu.org/git/gcc.git [...] Receiving objects: 11% (342176/2949348), 108.09 MiB | 24.01 MiB/s I suppose we could consider dropping the decimal component if it's a round number, but I think that it may produce awkward flickering if the rate oscillates between a round number and a non-round number.
You're right, the resulting flickering would look really annoying. In fact, I already modified the reported download speed in another project to avoid pretty much the same kind of flickering, and it looked much better without it.