cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Avalon-related slowdown ? (was Re: Performance problem XSP after April 20)
Date Sat, 27 Jul 2002 15:40:37 GMT
Vadim Gritsenko wrote:

>>From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
>>
>>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).
>  
>

Wow ! That's really bad :(

Is the new container in Avalon faster ? Do we need to plan the switch to 
this new container in 2.1 ?

Berin, can you please answer this question ?

Sylvain

-- 
Sylvain Wallez
 Anyware Technologies                  Apache Cocoon
 http://www.anyware-tech.com           mailto:sylvain@apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message