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.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://apache.org/~sylvain http://anyware-tech.com
Apache Software Foundation Member Research & Technology Director
|