cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Speed of jx-macros compared to FormsTransformer
Date Wed, 18 May 2005 08:28:11 GMT
Sylvain Wallez wrote:
> Leszek Gawron wrote:
> 
>> Reinhard Poetz wrote:
> 
> 
> 
>>>
>>> AFAICS there is a lot of time spent in the macro execution methods 
>>> and especially in 
>>> org.apache.cocoon.template.jxtg.script.Invoker.toDOMNodeList()
>>
>>
>> AAAAha!. That is a really important information. Invoker.toDOMNodeList 
>> is used by jx:set. This instruction is used mainly in jx-macros.xml 
>> like this:
>>
>> <jx:set var="cformsDummy" value="${cformsHelper.startForm(form, 
>> macro.arguments)}"/>
> 
> 
> 
> cformsDummy counts for 10 of the 25 <jx:set> in jx-macros.xml. So having 
> a <jx:call> would cut down a fair number of them.
What do you mean by jx:call? jx:call executes a macro.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message