cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Performance problem II

From: Stefan Sassenberg <stefan.sassenberg_at_gmx.de>
Date: Wed, 26 Nov 2003 11:35:04 +0100

Daniel Stenberg wrote:

>On Tue, 25 Nov 2003, Stefan Sassenberg wrote:
>
>
>>Now there's one big problem left which is the data transfer itself. The
>>transfer of a file (70kByte) using the windows command line tool 'ftp' takes
>>about 80-90ms. With libcurl it takes about 450ms. The network analyzer tells
>>me that there are gaps between the packets from time to time with a size of
>>about 80ms. Can you help me finding the reason for this? My sending method
>>and the callback function are listed below.
>>
>>
>
>This is not a problem with your provided code, as you shouldn't be able to
>slow down libcurl that much. It seems like a libcurl performance problem. Is
>this libcurl 7.10.8?
>
>To find the culprit of this, you need patience and profiling tools that can
>figure out where the time is spent.
>
>Not very long ago, a friend of mine ran some profiling tools on libcurl, only
>to find that it was very effective and spent very little extra time beside
>what the download itself actually took. That test was not done on Windows
>though.
>
>
It was 7.10.7 but I upgraded to 7.10.8 a few minutes ago with the same
results. What a pity. Transmission speed is a very important factor in
my project, and now I can hardly send 150kBytes/second. I hope I have
enough time for profiling the lib.

Stefan

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-11-26