diff options
author | Denys Vlasenko | 2011-02-10 06:29:06 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-02-10 06:29:06 +0100 |
commit | df4e16c9af6d6270d91d17d31c6098ecb259e5cc (patch) | |
tree | d3ec14d52efd21975d9f022d417115ff317528a4 /libbb/Config.src | |
parent | 77350aa93392d36dc419d3e11bda6bf9bed993ff (diff) | |
download | busybox-df4e16c9af6d6270d91d17d31c6098ecb259e5cc.zip busybox-df4e16c9af6d6270d91d17d31c6098ecb259e5cc.tar.gz |
wget: use FEATURE_COPYBUF_KB-sized buffer. Much faster for local transfers
function old new delta
base64enc - 53 +53
gethdr 190 200 +10
ftpcmd 129 133 +4
progress_meter 160 122 -38
retrieve_file_data 431 392 -39
base64enc_512 46 - -46
wget_main 2456 2220 -236
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 2/3 up/down: 67/-359) Total: -292 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/Config.src')
-rw-r--r-- | libbb/Config.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/Config.src b/libbb/Config.src index dfb897d..18bdc51 100644 --- a/libbb/Config.src +++ b/libbb/Config.src @@ -156,7 +156,7 @@ config FEATURE_COPYBUF_KB range 1 1024 default 4 help - Size of buffer used by cp, mv, install etc. + Size of buffer used by cp, mv, install, wget etc. Buffers which are 4 kb or less will be allocated on stack. Bigger buffers will be allocated with mmap, with fallback to 4 kb stack buffer if mmap fails. |