curl-library
Re: performance: curl_easy vs curl_multi
Date: Sat, 11 Jun 2011 15:19:57 -0700
Just to toss my 2 cents in I hit this sort of problem a couple months ago,
where the multi interface took way longer than it should have to get the
results.
The problem if i recall correctly was that i was using too small of a
timeout in my select() but i could be mistaken.
On Sat, Jun 11, 2011 at 1:43 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Fri, 10 Jun 2011, Paolo Piacentini wrote:
>
> One is based on curl_easy and takes ~15sec.
>> The other is based on curl_multi and takes ~130sec
>>
>>
>> QUESTION: is such a difference in downloading time between a "sequential"
>> curl_easy and the equivalent curl_multi expected?
>>
>
> Not at all. The actual code that does the transfer parts is the exact same,
> there's only the outer layers that are different.
>
> This rather indicate a bug in your code or in libcurl. What libcurl version
> on what platform is this?
>
> Can you provide us with the two test source codes so that we can see/test
> in our ends?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-12