Article View: borland.public.cppbuilder.internet.web
Article #1604Re: open a website and mess the parse time
From: hans galema
Date: Mon, 01 Nov 2004 12:42
Date: Mon, 01 Nov 2004 12:42
35 lines
2025 bytes
2025 bytes
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:
<41862f22$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41862226@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,ccdbda1b5d4fcc61 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 01 Nov 2004 13:42:26 +0100 From: hans galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: open a website and mess the parse time References: <41862226@newsgroups.borland.com> In-Reply-To: <41862226@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <41862f22$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1099312930 129.125.201.248 (1 Nov 2004 04:42:10 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail