cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PROF RFC 1/2] profiling of libcurl by curl-loader, steady state

From: Robert Iakobashvili <coroberti_at_gmail.com>
Date: Thu, 19 Apr 2007 07:11:58 +0200

On 4/18/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 18 Apr 2007, Robert Iakobashvili wrote:
>
> >> I would rather recommend you using CURLOPT_ERRORBUFFER instead, as it would
> >> then also reduce the amount of *printf()s etc within libcurl.
>>
> > Still, we need libcurl verbose debugging option at least for the detailed
> > statistics and counters, that we are generating, and even more fore future.
>
> Right, but then you'll sacrifize transfer performance to some degree.

Indeed. Still, detailed statistics and counters are worth doing that.

> > To the best of my knowledge CURLOPT_ERRORBUFFER requires a buffer per
> > CURL-handle of size 256 bytes.
>you're probably already using around 60-80K per client

A very good point, memory usage per client is an issue to check.
At the side part of curl-loader it should be below
1K, but what about libcurl?

> I'm not very keen at applying that patch to the main sources.

No problemo.

We like patching, it is a live-style.

This world is not perfect; we are waiting for the Big Patch
to come and are doing our small patches in meanwhile.
:).

Thank you for your comments and attention.

-- 
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...................................................................
Navigare necesse est, vivere non est necesse
...................................................................
Received on 2007-04-19