> From: Sylvain Wallez [mailto:[EMAIL PROTECTED]]
> 
> Vadim Gritsenko wrote:
> 
> >Chris,
> >
> >What you use to measure time?
> >
> >I timed executing of simple.xsp in Cocoon "-D 20020420" and in Cocoon
> >2.0.4-dev with the "for() time wget", and compared time reported by
the
> >Cocoon in access.log.
> >
> >After factoring out additional complexities in excalibur code
> >(responsible for 8-9% performance loss), results were *identical*.
> >
> >
> 
> Vadim, can you explain what are these additional complexities ? Is the
> current version 8% slower because of changes of changes in excalibur ?

Ok, after second look, seems that these complexities are present in both
versions, which means that old version also can go at least 9% faster.
May be there are some other changes. Will take another look later.


About complexity itself: I'm referring to this particular change in
DefaultComponentFactory:

http://cvs.apache.org/viewcvs.cgi/jakarta-avalon-excalibur/src/java/org/
apache/avalon/excalibur/component/Attic/DefaultComponentFactory.java.dif
f?r1=1.10&r2=1.11&diff_format=h

Addition of 

  private final Collection       m_unreleased = new ArrayList();

slows down Cocoon from 8% (dynamic page) to something around 20% (page
from cache).

Vadim


> Sylvain
> 
> --
> Sylvain Wallez
>  Anyware Technologies                  Apache Cocoon
>  http://www.anyware-tech.com           mailto:[EMAIL PROTECTED]


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

Reply via email to