cURL / Mailing Lists / curl-library / Single Mail


Re: Please advise on how to improve libcurl HTTP GET performance

From: Ben Greear <>
Date: Tue, 11 Oct 2011 09:48:06 -0700

On 10/11/2011 09:39 AM, Alex wrote:
> I've used the --libcurl option and compiled the resulting .cpp. Guess what?.. Same 35-40 KB/s, whereas Curl gives me ~300 KB/s.
> I only see one explanation: there's something wrong about the way I have compiled libcurl.
> I have used the VS project from the distribution archive. I have compiled it into static lib, and, as far as I remember, I didn't change any options, except for enabling LTCG in debug.
> Any further ideas?

Use valgrind or similar to profile your app. You could also use strace
to see if your app is blocking on some system call when it shouldn't.

On Linux, we've downloaded more than 1Gbps using libcurl in our application
(from local web servers on 10G network links).


> -------------------------------------------------------------------
> List admin:
> Etiquette:

Ben Greear <>
Candela Technologies Inc
List admin:
Received on 2011-10-11