curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Windows users! Help us test upload performance tuning?

From: Gisle Vanem via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 9 Aug 2018 17:48:49 +0200

Daniel Stenberg wrote:

>  /* The upload buffer size, should not be smaller than CURL_MAX_WRITE_SIZE, as
>     it needs to hold a full buffer as could be sent in a write callback */
> -#define UPLOAD_BUFSIZE CURL_MAX_WRITE_SIZE
> +#define UPLOAD_BUFSIZE (512*1024)

Wow dude! 2 times faster than FileZilla now.

Time decreased from 33.153s to 6.4 sec (same random 10 MByte file).
Versus approx. 5.3 sec for curl/FTP.

-- 
--gv
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-09