Article View: borland.public.cppbuilder.internet.web
Article #1443Re: time measuring with indy http
From: hans galema
Date: Sat, 04 Dec 2004 17:39
Date: Sat, 04 Dec 2004 17:39
29 lines
1916 bytes
1916 bytes
Jens Harms wrote: > during loading a web site with tidhttp i like to get the execution time (the > time which is needed to load the whole document) and the response time (time > when the first byte arrived). First a remark. TidHTTP will not load a -whole- website but -only- one html page. > diff should get the execution time > and > responsediff should get the response time. Second remark. If you want to determine execution time and response time then do not call variables for them diff and responsediff but executiontime and responsetime. This makes your code readable. > getfirstbyte = false; Why do you need such a bool ? Are there more occurrences of HTTPWorkBegin() ? > My problem is that diff and responsediff always get the sam value. why is > that? i think time of responsediff should be much smaller than the time auf > diff. Indeed. What is the value you get ? Is it a very small page ? Try with a very large page. Hans.
Technical Details
Message-ID:
<41b1f644@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41b1e7f1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,7dd741a858e8066c X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sat, 04 Dec 2004 18:39:01 +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: time measuring with indy http References: <41b1e7f1$1@newsgroups.borland.com> In-Reply-To: <41b1e7f1$1@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: <41b1f644@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102181956 129.125.201.248 (4 Dec 2004 09:39:16 -0800) Lines: 29 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail