cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Melhem <micha...@fztig938.bank.dresdner.net>
Subject Re: FOP performance
Date Tue, 09 Jul 2002 14:51:44 GMT
On Tue, Jul 09, 2002 at 04:35:05PM +0200, Matthew Langham wrote:
> Fabien,
> 
> >>
> Does anyone have a good URL about .XSL optimisation ? :)
> <<
> 
> I found this: http://www.xslprofiler.org/
> 
> And we have been able to optimize our XSL using it - already.

Thanks for the tip! This could come in handy. :-)

Regards,
Michael Melhem

> 
> Matthew
> 
> >-----Message d'origine-----
> >De: Matthew Langham [mailto:mlangham@s-und-n.de]
> >Date: mardi 9 juillet 2002 13:48
> >?: Cocoon-Dev@Xml. Apache. Org; Cocoon-Users@Xml. Apache. Org
> >Objet: FOP performance
> >
> >
> >Hi,
> >
> >we have a project where we are using Cocoon 2.0. We have a
> >simple pipeline
> >that generates a PDF document:
> >
> >      <map:match pattern="print/pdfxyz">
> >        <map:generate type="webprintParameterPrint"/>
> >        <map:transform type="webprintXYZ"/>
> >        <map:transform src="webprint/contexts/XYZ/fragment.xsl"/>
> >        <map:serialize type="fo2pdf"/>
> >      </map:match>
> >
> >The XML data arrives as a request paramter (130 KB in size!) and the
> >stylesheet is 636 KB in size. We are using our own specific
> >generator and
> >transformer in the pipeline (but they don't do anything special).
> >
> >It takes 8.5 seconds to generate the PDF file - which is only
> >1 page! Quite
> >complex though with lots of tables etc - but no graphics. The
> >system is a
> >650 Mhz with 256 MB RAM. Our customer thinks that this is too
> >slow - and I
> >am looking for any ideas as to how we can improve the speed
> >(or perhaps this
> >is normal?). The duration is split evently between the
> >transformation step
> >and the FOP step.
> >
> >Would switching to 2.1-dev help? Why?
> >The stylesheet is very large - any idea here (translets?)
> >Perhaps it's quicker to use several stylesheets instead of 1 large one?
> >Is there a different PDF rendering engine we can use with Cocoon?
> >etc.
> >
> >Thanks.
> >
> >Matthew
> >
> >--
> >Open Source Group       Cocoon { Consulting, Training, Projects }
> >=================================================================
> >Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> >Tel:+49-5251-1581-30? mlangham@s-und-n.de - http://www.s-und-n.de
> >-----------------------------------------------------------------
> >Cocoon book:
> >  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
> >=================================================================
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> >For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message