cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: weird timings from curl_easy_getinfo

From: Oleg Bartunov <oleg_at_sai.msu.su>
Date: Wed, 8 Aug 2001 17:48:21 +0300 (GMT)

On Wed, 8 Aug 2001, Daniel Stenberg wrote:

> On Wed, 8 Aug 2001, Oleg Bartunov wrote:
>
> > No, numbers still look unreal :-( I applied your patch to 7.8 release.
> > Again, at the beginning of run I got what I expect, but very soon all
> > timings became weird.
> >
> > for example:
> >
> > CURLINFO_TOTAL_TIME|CURLINFO_NAMELOOKUP_TIME|CURLINFO_CONNECT_TIME|CURLINFO_PRETRANSFER_TIME
> >
> > 114.791|112.725|113.270|113.270
>
> And I figure you're sauing that it didn't take 114.79 seconds to complete the
> operation?
>

I have in my program:
      curl_easy_setopt(curl, CURLOPT_TIMEOUT, 100);
      curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT,200);

Look at numbers - NAMELOOKUP_TIME = 112.725 seconds !

When I did the same operation from command line using curl:
curl -K ./CONF http://99.tsu.ru:80/
I get normal numbers
23.589|0.002|9.484|9.484|8227|348.767

        Oleg
>

        Regards,
                Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-08