curl-library
Re: Performance Problem with CURL.
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 25 Aug 2005 19:11:54 +0200 (CEST)
Date: Thu, 25 Aug 2005 19:11:54 +0200 (CEST)
On Thu, 25 Aug 2005, Martin Vogt wrote:
> I didnt thought that its that slow. The apache2 bench ab2 performs 1000
> requests in 0.4 seconds, the libcurl based tesprogram ist 48 time slower.
> (19 seconds)
1000 requests in 19 second is extremly slow indeed. Doesn't a network trace
(or similar) reveal any details? Are the interval times roughly equal between
all requests?
> When using strace with the testprogramm I dont get any ideas what can be the
> problem. Many Sockets in "EINPROGRESS"
When?
> When looking at the curl implementation of curl_multi_perform it looks a bit
> too complex,
Too complex for what? If you can write better code that offers the same
functionality, then by all means please send us the patch.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-08-25