🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1608

Re: open a website and mess the parse time

#1608
From: Steffan Kahn
Date: Mon, 01 Nov 2004 17:49
62 lines
2565 bytes
Hi,

what is the english name f�r the time i get via get. can i call it loadtime,
because it is the time, the hole website needs to load?

it is possible to get via nmhttp the respons time of a website? my idea is
like:

start = GetTickCount();

HTTP->Get(Website);

void __fastcall TForm1::NMHTTP1HostResolved(TComponent *Sender)
{
   diff = GetTickCount()-start;
}

so, may i get the responstime with help of NMHTTP1HostResolved or
NMHTTP1PacketRecvd.

Steffan

"hans galema" <notused@notused.nl> schrieb im Newsbeitrag
news:41862f22$1@newsgroups.borland.com...
> Steffan Kahn wrote:
>
> > in my application i need to open a website and mess the parse time. at
the
> > moment i use following lines:
> >
> >    start = GetTickCount();
>
> >       HTTP->Get(Website);
> >       Source = HTTP->Body;
>
> >     diff = GetTickCount()-start;
> >
> > This works fine.
>
> Yes but you cannot name that a parse time. Whichever parse time
> you have in mind. You just messured the time needed for exeuting
> a HTTP->Get() and assigning the HTTP->Body to Source.
>
>  > To check if my results are plausible i also display the
> > parse time on my website. so i found out, that the time my c++
application
> > determine is always bigger then the parse time, which my website
displays.
>
> That is ok. As the webserver needs some time too and transmitting
> data takes time.
>
> > so i ask me if there is an better way to get the parse time.
>
> You did it already ok with your c++ application.
>
> > does anybody have some advise for me?
>
> For your 'application' everything is behind HTTP->Get() and
> thus out of sight.
>
> Hans.
Technical Details
Message-ID: <4186772e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41862226@newsgroups.borland.com> <41862f22$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,ccdbda1b5d4fcc61
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII
From: "Steffan Kahn" <s_kahn@yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41862226@newsgroups.borland.com> <41862f22$1@newsgroups.borland.com>
Subject: Re: open a website and mess the parse time
Date: Mon, 1 Nov 2004 18:49:20 +0100
Lines: 64
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 80.134.159.118
Message-ID: <4186772e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099331374 80.134.159.118 (1 Nov 2004 09:49:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail