GetTickCount()

                                                    
Bryan Love ACP
[EMAIL PROTECTED]
                                                    


-----Original Message-----
From: defective david [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 8:50 PM
To: CF-Talk
Subject: Process Time Variable WAS Re: Caching Queries......


Ya know what'd be nice?

A variable that outputed the time it took to process the page from the
begining to the point you output the variable.

I currently do this with two lines of code, one's the first line of
applicaiton.cfm and the other is at the bottom of the output.

but still... a variable would be nice.

---
defective david
http://defective.net

----- Original Message -----
From: "David Shadovitz" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, November 26, 2000 8:43 PM
Subject: Re: Caching Queries......


> What is cf_timer?  Why not just print out CFQUERY.ExecutionTime ?
> -David
>
> On Mon, 27 Nov 2000 14:23:06 +1100 "Scott, Andrew" <[EMAIL PROTECTED]>
> writes:
> > I am a little confused on this, this is something I haven't dealt
> > with
> > much... So forgive me if I don't understand.
> >
> > Anyway I have done the following as a test.
> >
> > <cf_timer>
> >  <CFQUERY NAME="ASTest" DATASOURCE="anything"
> > cachedwithin="#CreateTimeSpan(1,0,0,0)#">
> >   select * from bp_modules
> >  </CFQUERY>
> > </cf_timer>
> > <cf_timer>
> >  <CFQUERY NAME="ASTest" DATASOURCE="anything"
> > cachedwithin="#CreateTimeSpan(1,0,0,0)#">
> >   select * from bp_modules
> >  </CFQUERY>
> > </cf_timer>
> >
> > The intersting thing is that, sometimes the second query returns the
> > time it
> > should have executed other times it returns 0ms like you would
> > expect a
> > cache to return.... This to me appears that either the logic of how
> > it works
> > is wrong in what I think it does, or that there is a bug in the
> > query
> > caching.....
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to