Hi Dennis,
Thanks so much! This is something that I was looking for.

I tested on a page that gets some database information,and it seems very fast, 
about 11 ms.

The example of the testing page is at:
http://cfhawaii.com/CF/get_articles_nostyle.cfm

I stripped the CSS, so it is a very basic page. There are about 385 articles in 
the db, and I would have guessed that it would take longer to load.  I am 
planning to show this for the verity search results, but thought that it would 
be fun to test this as well:)

Thanks so much for your help`-`
John
 



----- Original Message ----
From: Dennis Powers <[EMAIL PROTECTED]>
To: CF-Newbie <[email protected]>
Sent: Monday, February 11, 2008 2:16:25 PM
Subject: RE: verity & exucation time

>> I am wondering is there a way to calculate the time it 
>> takes for the page to load.

<cfset startloadtime=gettickcount()>

...... query and do stuff here ...

<cfset processtime= gettickcount()-startloadtime>
<cfoutput>This processed in #processtime#ms</cfoutput>


Best Regards,

Dennis Powers
UXB Internet - A website design and Hosting Company
690 Wolcott Road
P.O. Box 6029
Wolcott, CT  06716
Tel: (203)879-2844
http://www.uxbinternet.com/
http://www.uxb.net/




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3319
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to