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: <http://www.multimap.com/map/browse.cgi?lat=52.5363&lon=-2.1866&scale=10000& icon=x> West Mids, UK. 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 ________________________________________________________________________
