cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: setup method inside transformers, Performance?
Date Thu, 25 Sep 2003 12:30:14 GMT
Vadim Gritsenko wrote:
> Jeremy Quinn wrote:
> 
>>
>> On Wednesday, September 24, 2003, at 04:33 PM, Vadim Gritsenko wrote:
>>
>>> Bruno Dumon wrote:
>>>
>>>> On Wed, 2003-09-24 at 15:51, manfred.weigel@rzb.at wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> does anybody have any idea why calling the setup method for some
>>>>> transformers (like the stylesheet transfomer) takes up to 200 
>>>>> milliseconds?
>>>>> The execution of the transformer is comparably fast (60 ms), but we 
>>>>> get a
>>>>> performance problem when we chain stylesheet transfomers which need 
>>>>> 200 ms
>>>>> each for the setup.
>>>>>
>>>>> Any help would be appreciated!
>>>>>
>>>>
>>>> Set the use-store parameter in the cocoon.xconf to true, to enable
>>>> caching of compiled stylesheets. It is false by default.
>>>>
>>>
>>> Is there still a reason why it set to false? It's true in Cocoon 
>>> 2.0... And I bet you can't get into production with 2.1 without 
>>> enabling it...
>>
>> Surely this setting means that XSLT will not reload-on-change, unless 
>> cocoon is restarted?
> 
> No, that's not true. It will reload. Why it would not, it always did a 
> reload on change? But it will cache compiled stylesheets in a transient 
> store.

But won't that transient store automatically get written out to 
persistent store on shutdown (if it's configured with persistent store, 
which it is by default)?

Geoff


Mime
View raw message