Just a couple more thoughts: if you really are just interested in the time
of execution for the *complete* request, then besides adding logging in your
application.cfc (as Cam helpfully suggested), note as well that info maybe
available in your web server logs. I know it's an option you can enable in
IIS, as "time-taken", for instance. Not as sure about Apache. 

Then also, it's log if you have FusionReactor: its request.log tracks the
duration of every request (and a lot more about each request), which is
really nice. It also can log details on every query, and more.

But if you want to track the time WITHIN components you call, that will be
more difficult. FR doesn't track that. (The CF8 monitor doesn't do any
logging at all. And obviously in that case the gettickcount in
onrequeststart and onrequestend won't help, either.) It would be nice to be
able to obtain this info, even in production, but it's not something CF
makes readily available. I suppose if one used something dependency
injection or AOP (such as ColdSpring offers), you could add such diagnostics
more readily that way.

/charlie


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Cameron
> Childress
> Sent: Thursday, January 21, 2010 11:19 AM
> To: [email protected]
> Subject: Re: [ACFUG Discuss] Error with Java Object
> 
> On Thu, Jan 21, 2010 at 6:30 AM, Rudi Shumpert <[email protected]>
> wrote:
> > I had put in place the solution I was working on, but I had planned
> this am
> > to change that to put in the getTickCount method, instead of trying
> to get
> > the information out of the java object.
> 
> If that's all you are looking for I'd look into starting the tickcount
> in the App.cfc onRequestStart() and ending it on the onRequestEnd().
> That may be exactly what you are doing, but it would be way WAY
> WAAAYYY more performant than using the debug data..
> 
> -Cameron 




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to