xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Paris" <rpj...@hotmail.com>
Subject RE: Why is FOP MUCH slower the first time than all other runs?
Date Fri, 06 Feb 2004 20:21:12 GMT
I don't think it's the tomcat issue, it takes a long time the first time 
even when I call it from a java class (if the class creates a pdf then 
creates another one before exiting, the second one is much faster). It's got 
to be in the FOP. Is there a way to fix this?



>From: Robert.Walker@VerizonWireless.com
>Reply-To: fop-user@xml.apache.org
>To: fop-user@xml.apache.org
>Subject: RE: Why is FOP MUCH slower the first time than all other runs?
>Date: Fri, 6 Feb 2004 12:02:00 -0500
>
>its prob has something to do with caching
>of with the fact that reflection is used
>first time to find calss and instantiate it,
>but there after its in the class loader
>
>could add a context listener to tomcat startup
>and it does the first xform on container startup
>
>
>
>-----Original Message-----
>From: Robert Paris [mailto:rpjava@hotmail.com]
>Sent: Friday, February 06, 2004 11:55 AM
>To: fop-user@xml.apache.org
>Subject: Why is FOP MUCH slower the first time than all other runs?
>
>
>I'm using FOP from a servlet in Tomcat. The first time I run FOP (using
>Driver to render a dpf - is that the best way?), it's VERY slow. However,
>every time after that, it's very fast. Does anyone know why? What can I do
>to fix this?
>
>_________________________________________________________________
>Optimize your Internet experience to the max with the new MSN Premium
>Internet Software. http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>For additional commands, e-mail: fop-user-help@xml.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>For additional commands, e-mail: fop-user-help@xml.apache.org
>

_________________________________________________________________
Click here for a FREE online computer virus scan from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message