I'd like to be able to measure the response times of thousands of various
URLs I have in a database. This is one way:
CFOUTPUT QUERY=GetSites
CFSET TimeHack1 = TimeFormat(Now(), 'hh:mm:ssTT')
CFHTTP URL=#GetSites.URL#
METHOD=GET
resolveURL=1
, August 10, 2005 8:16 AM
To: CF-Talk
Subject: Measuring URL response times
I'd like to be able to measure the response times of thousands of various
URLs I have in a database. This is one way:
CFOUTPUT QUERY=GetSites
CFSET TimeHack1 = TimeFormat(Now(), 'hh:mm:ssTT')
CFHTTP URL
getTickCount() should give you a timestamp in milliseconds
HTH
On 10/08/05, Karl Simanonok [EMAIL PROTECTED] wrote:
I'd like to be able to measure the response times of thousands of various
URLs I have in a database. This is one way:
CFOUTPUT QUERY=GetSites
CFSET TimeHack1 =
I'd like to be able to measure the response times of
thousands of various URLs I have in a database. This
is one way:
CFOUTPUT QUERY=GetSites
CFSET TimeHack1 = TimeFormat(Now(), 'hh:mm:ssTT')
CFHTTP URL=#GetSites.URL#
METHOD=GET
resolveURL=1
You should give a try do GetTickCount() function.
Like
cfset t1 = GetTickCount)
code ...
cfoutput#t1-GetTickCount()# ms/cfoutput
Or if you're planning to measure the overall page load time (not a
specific code) in all your site you should look a specific tool for it,
like Web
At 09:16 AM 8/10/05, Fabio wrote:
You should give a try do GetTickCount() function.
THANK YOU FABIO!
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.5/67 - Release Date: 8/9/05
6 matches
Mail list logo