Try to use cached stylesheets... it can improve performance.

 

http://www.topxml.com/xsl/articles/java_xslt/default.asp

 

See at bottom.

 

________________________________

From: Jason Timmins [mailto:[EMAIL PROTECTED] 
Sent: viernes, 29 de junio de 2007 11:58
To: [email protected]
Subject: RE: Fop performance

 

Hi There,

 

I had much the same problem myself. I needed to create PDFs quickly for
the web but also Postscript for high-volume laser printers. It was
taking seven seconds to run Saxon, run FOP and get the PDF/PS. This was
way too slow for my application.

 

To be fair, FOP is pretty quick, the slow part seems to be the
initialisation of the JavaVM (which I was doing once for Saxon and again
for FOP.) I'm in the .NET environment so I gave up on Saxon and switch
to a .NET implementation. I also used IKVM to translate FOP (0.20.X)
into a .NET component so that now Windows doesn't have to use the JavaVM
and all the code runs in the same IIS execution environment.

 

The result of all this effort was that the generation time dropped from
seven seconds to two seconds.

 

I'd like to use the native Java version of FOP but how can I make it run
really quickly for lots of small PDFs?

 

Bye for now

Jason.

 

Jason Timmins (Technical Director) InterLinx
<http://www.interlinx.co.uk/>  Ltd.

 Geo: West Mids, UK
<http://www.multimap.com/map/browse.cgi?lat=52.5363&lon=-2.1866&scale=10
000&icon=x> . Tele: +44 8707 430999. Fax: +44 8707 460999.

                Beyond here there be dragons!

 

From: Laurent Berthelot [mailto:[EMAIL PROTECTED] 
Sent: 29 June 2007 06:57
To: [email protected]
Subject: Fop performance

 

Hello,

 

I try to optimize FOP performance.

I make litlle dynamical PDF (2 pages) on the fly for a web site, and i
need several second to generate PDF.
FOP need a lot of CPU...

 

Have you the same problem ?

 

Regards,

 

Laurent Berthelot


________________________________________________________________________
This email has been scanned for all viruses by the InterLinx Anti-Virus
Email service. For more information on a proactive anti-virus service
working around the clock, around the globe, visit
http://www.interlinx.co.uk/anti-virus-anti-spam.htm
________________________________________________________________________


------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail
in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender does
not warrant that this transmission is virus-free and will not be liable for
any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informacion
confidencial destinada solamente a la(s) persona(s) mencionadas
anteriormente. Pueden estar protegidos por secreto profesional Si usted
recibe este correo electronico por error, gracias de informar inmediatamente
al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos
Origin no se hace responsable por su contenido. Su contenido no constituye
ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por
ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus
------------------------------------------------------------------

Reply via email to