cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Miguel Borges Leong <>
Subject XSL a processor hog?
Date Fri, 26 Dec 2003 11:11:08 GMT

We have a web application using cocoon for presentation layer. I'm currently 
trying to optimise our XSL stylesheets since our initial results have shown it 
to be consuming too much processing time. Our pipeline structure consists in 
having a XSP generator (which uses SOAP requests to gather XML data) followed 
by 3-4 XSL transformations to process and transform it in HTML.

Our initial results sat somewhere between 1200-1500 ms for a single request 
(this is processing time for XSL only). I've since rebuild the XSL from 
scratch and i'm estimating 200-250ms for a single request. Still, i think this 
is too much. I'm finding XSL processing to be extremely slow (just copying the 
root element takes somewhere between 20-50 ms). Is this normal or i may doing 
something stupid ?

Using cocoon 2.1 over tomcat4.1.27 on a 2xP3-500 with 1Gb RAM. (CPU/memory 
never reaches 100% usage during tests. No swaps.). Using standard 
tomcat/cocoon configuration with Xalan XSLT processor.

Nuno Leong
Práxia SI

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message