curl / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Jan Ehrhardt via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 13 Aug 2018 05:53:56 +0200

Daniel Stenberg via curl-library (Thu, 9 Aug 2018 16:55:38 +0200
(CEST)):
>-#define UPLOAD_BUFSIZE CURL_MAX_WRITE_SIZE
>+#define UPLOAD_BUFSIZE (512*1024)

This extra patch also had major speed improvements for Daniel Jelinski's
testcurl.bat. I have now included a fully static
curl-vc9-x86-double-patched.exe in
https://phpdev.toolsforresearch.com/curl-mingw32-7.61.0.zip
The two cross-compiled curl's in the zip have both patches as well.

Microsoft Windows XP [Version 5.1.2600]
generating test file...
running vanilla...
start:0,531000 total:11,469000
running patched...
start:0,546000 total:11,328000
running double patched...
start:0,516000 total:5,266000

Microsoft Windows [Version 6.1.7601]
generating test file...
running vanilla...
start:0,546000 total:9,578000
running patched...
start:0,546000 total:2,698000
running double patched...
start:0,546000 total:0,812000

Microsoft Windows [Version 10.0.17134.165]
generating test file...
running vanilla...
start:0.547000 total:5.125000
running patched...
start:0.515000 total:1.828000
running double patched...
start:0.532000 total:0.813000

Measured on the same machine (a quadruple boot Lenovo X220).

Thanks to this discussion I have also doubled the upload speed in my iOS
app. The 274MB mp4 file uploaded now in 70 seconds in stead of 2:25
minutes:
https://github.com/NMSSH/NMSSH/pull/136#issuecomment-412398204

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