alarmz / boar

Automatically exported from code.google.com/p/boar
0 stars 0 forks source link

Feature Request: Display progress more verbosely #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I notice boar spends significant amount of time listing files and folders 
(common.py:get_tree), for instance, listing just 20000 files may take > 15s. 
This is an usability issue for folders with hundreds of thousands files. I have 
a folder with 400,000 files and it takes forever to complete.

My suggestion is boar should display verbose progress for some of its steps 
where it potentially takes a significant amount of time to complete. I think 
just counting the number of files being listed in a folder should have a 
positive psychological effect, though you can't know in advance the total 
number of files. 
Also printing line after line like this: 

Remaining: 2053 files, 14959 Mb (0.0% complete, 0.0 Mb/s)
Remaining: 2052 files, 14415 Mb (3.6% complete, 16.3 Mb/s)
...

is not very user friendly. Instead it should update the progress on a single 
line, similar to this: http://pypi.python.org/pypi/progressbar/2.2

Original issue reported on code.google.com by uts...@gmail.com on 9 Feb 2012 at 9:34

GoogleCodeExporter commented 9 years ago
Agreed. There should be progress information while get_tree() runs, and all 
progress information should be on a single row. 

(related: To speed up the workflow, some operations should be able to work on 
only part of a tree, see issue 50)

Original comment by ekb...@gmail.com on 9 Feb 2012 at 12:08

GoogleCodeExporter commented 9 years ago
Fixed as of changeset 57c3f8addc7e. Marking this as duplicate of issue 37 which 
identifies the same problem.

Original comment by ekb...@gmail.com on 12 Feb 2012 at 9:06