It would be interesting to see how we stack up when using a
MethodInterceptor in HiveMind.  I know we need to optimize the
MethodInterceptorFactory, but I'm just curious.

-----Original Message-----
From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 23, 2005 9:23 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: Interceptor performance

Some time ago I compared interceptors performance, HM
is not bad: 
http://kgionline.com/articles/aop_1/aop_perf.jsp
--- Michael Mattox <[EMAIL PROTECTED]> wrote:

> Greetings,
> 
> I'm interested in using HiveMind for dependency
> injection and I'm very
> interested in using the interceptors.  I've been
> researching the
> performance aspects and so far what I've seen has
> been pretty vague.  I've
> read that with JDK 1.5 the JDK dynamic proxy
> performance is about 1.5
> times slower.  That's a big hit for my application
> if I'm using these
> interceptors for all calls to all my services.  I
> then read that CGLIB has
> a drop-in replacement for the JDK dynamic proxies
> but I cannot find any
> performance measurements, especially for JDK 1.5. 
> Finally I read in the
> HiveMind documentation that JavAssist gives a
> "slight" perf advantage but
> in several instances it was stated that it greatly
> increases the
> development complexity.  I'm curious what the
> performance increase is
> exactly.  If Javassist is only 1.4 times slower,
> then I think it's not
> worth it.  1.1 times and it may be worth it.  I'm
> hoping to get some
> feedback on this because creating a little prototype
> will take some time
> although I'm starting to think it may be worth it.
> 
> Thanks
> Michael
> 
> 
> 
> --
> This E-mail is confidential.  It may also be legally
> privileged.  If you are
> not the addressee you may not copy, forward,
> disclose or use any part of it.
> If you have received this message in error, please
> delete it and all copies
> from your system and notify the sender immediately
> by return E-mail.
> Internet communications cannot be guaranteed to be
> timely, secure, error or
> virus-free.  The sender does not accept liability
> for any errors or omissions.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen
million tons of carbon to the atmosphere, destroy 115 square miles of
tropical rainforest, create seventy-two miles of desert, eliminate between
forty to one hundred species, erode seventy-one million tons of topsoil, add
2,700 tons of CFCs to the stratosphere, and increase their population by
263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a
Strategy for Reforming Universities and Public Schools.  New York:  State
University of New York Press, 1997: (4) (5) (p.206)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to