cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Speed of jx-macros compared to FormsTransformer
Date Wed, 18 May 2005 08:16:54 GMT
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


Mime
View raw message