RE: Profiling methods with nanning

"Jon Tirsen" <[email protected]> Sat, 10 May 2003 13:21:18 +0200
Newsgroups gmane.comp.java.nanning.devel
Message-ID <000a01c316e6$48163550$6c4a59d5@jon>
Cool! I'll have a look at it later and if it's okay with you I could
commit it as a framework/"sample" to Nanning.

> -----Original Message-----
> From: Khalil Bouhamza [mailto:[email protected]]
> Sent: Saturday, May 10, 2003 8:11 AM
> To: [email protected]
> Subject: Profiling methods with nanning
> 
>      Hi Jon,
> 
>      This post http://www.freeroller.net/page/rickard/20030509 on
> Rickard's BLog got me a bit going, and  I thought  why not try to do
> something similar in nanning. I've attached the source, the setup is
> fairly similar to the cache intercepter. Basically there is the
> ProfilerIntercepter which intercepts methods with the runtime
attribute
> "profile", and gives the duration and the invocation to ProfilerLogger
> to log the info, ProfilerLogger as it stands doesn't do much and its
> functionnality could be carried by the ProfilerInterceptor, but I felt
> that if more  sophesticated presentation things are to be done then
may
> be it has its place. If you could spare  some time to take a look at
it
> I'd be very grateful.
> 
>      Cheers,
>      Khalil
> 




-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com