>I would like to measure the amount of time that an HTTP request takes to >complete. > >Anyone have an example of how to do this? > >Tim
Use GetTickCount(). <cfset variables.start = GetTickCount()> <cfhttp> request here. <cfset variables.end = GetTickCount()> <cfset variables.totalTime = variables.end - variables.start> <cfoutput>#variables.totalTime#</cfoutput> There may be a cleaner way, but I don't know of one. Hope this helps, Dave. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists