Manuel Reyes wrote:
I have been working on creating a three tier system that per client
requests gets data from a database, pumps this into a PDF via FOP
XSL/XML processing, then sends the resulting PDF back to the client for
display.
This project is reaching its end and creating a 3 or 4 page document
usually takes 4 or 5 seconds (this is just the FOP processing aspect).
Now this is acceptable but there is no harm in hunting down speed
improvements.
Having read through (and implemented any relevant suggestions) the FOP
documentation regarding speed, I thought it would also be a good idea to
speak to the people that use this application on a daily basis, as
experience is invaluable when it comes to this type of thing.
A time of 4 to 5 seconds for a 3..4 page document is very slow
for modern machines.
- Check for warm-up times. It may pay off to reuse the driver object.
- Check JVM memory settings.
- If the time includes XSLT, check without it. There are people out
there capable of writing *horribly* inefficient XSLT.
- Invest in a profiler.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]