xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gopal sharma <gopal.sha...@Sun.COM>
Subject Re: XSLTC performance improvements?
Date Thu, 29 Aug 2002 12:53:30 GMT
Timo Neumann wrote:
> 
> Hi all,
> 
> now that our application works with Xalan2.4D1 (thanks to your support),
> we made some performance tests with and without xsltc and could not see
> any difference. Shouldn't xsltc be much more performant than normal xalan?
> 
> Here is the relevant part of our java code:
> 
> Templates templates = getTemplates(getStylesheetPath(request));
> java.util.Properties oprops = templates.getOutputProperties();
> oprops.put(javax.xml.transform.OutputKeys.INDENT, "no");
> javax.xml.transform.Transformer transformer =
>         templates.newTransformer();
> transformer.setOutputProperties(oprops);
> transformer.transform( source, result );
> 

 Hmm .. There is no difference in performance. XSLTC -- in theory --
 should always be faster. It's hard to predict without exactly knowing
 the details. Would it be possible for you to provide files ?

 It would help us knowing what's wrong and where.

 Thanks
 - Gopal

Mime
View raw message