cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl performance

From: Daniel Stenberg <>
Date: Sun, 18 Mar 2007 23:48:34 +0100 (CET)

On Sun, 18 Mar 2007, Robert Iakobashvili wrote:

> Are there any experience or profiling data regarding libcurl performance
> (cpu used) built with different configuration options or dealing with
> different APIs?
> For example:
> - configured with threads versus no-threads;
> - configured without ipv6 only versus with ipv6;
> - with different DNS resolving options;
> - curl_multi_perform () versus curl_multi_socket ();
> etc knowledge, rules.

I'm not aware of any, but I too would love to see some numbers...

In my work with the curl_multi_socket() API I did some evaluations on how it
performs compared to curl_multi_perform(). In extreme cases, like when there
are 10000 idle connections and one active, the curl_multi_socket() can be up
to 1500 times faster. Of course a real-world test case is not that simple and
even though it should still be faster, I bet the difference will be more

  Commercial curl and libcurl Technical Support:
Received on 2007-03-19