rate-limit progress display #82

Merged
merged 1 commit into from Feb 19, 2013

Conversation

Projects
None yet
3 participants
Contributor

tycho commented Oct 6, 2012

Progress is displayed as fast as possible, which can actually rate-limit your
I/O, depending on how fast your progress output file can flush. i.e. if you're
using a very slow terminal, rendering progress could actually throttle your
upload/download rate.

This rate-limits the progress display to every second. Perhaps this should be
tunable, but I'm keeping this patch simple for now.

@tycho tycho progress: rate limit how often progress is displayed
Progress is displayed as fast as possible, which can actually rate-limit your
I/O, depending on how fast your progress output file can flush. i.e. if you're
using a very slow terminal, rendering progress could actually throttle your
upload/download rate.

This rate-limits the progress display to every second. Perhaps this should be
tunable, but I'm keeping this patch simple for now.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
299a7d1
Member

mdomsch commented Dec 6, 2012

I've pulled this into my merge branch now, thanks!

mludvig merged commit 299a7d1 into s3tools:master Feb 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment