Re: FOP Servlet Performance Problem

2007-12-03 Thread Noya Paolo
Hi Andreas thanks for your reply, the XML is very little (ranging from 50 to 250 nodes with size less than 10Kb) that change it with a BufferedReader or even using a DOMSource (I already parse XML elsewhere) not give me a real gain. Maybe a 1 or 2 seconds but I'm not sure because could be depends

Re: FOP Servlet Performance Problem

2007-12-03 Thread Andreas L Delmelle
On Dec 3, 2007, at 13:12, Noya Paolo wrote: Hi Andreas thanks for your reply, the XML is very little (ranging from 50 to 250 nodes with size less than 10Kb) that change it with a BufferedReader or even using a DOMSource (I already parse XML elsewhere) not give me a real gain. Maybe a 1 or

Re: FOP Servlet Performance Problem

2007-12-01 Thread Andreas L Delmelle
On Nov 28, 2007, at 16:46, Noya Paolo wrote: Hi Sorry for the late reply. As Jeremias already indicated, profiling is one option. There are various tools and there is lots of documentation available on the internet concerning profiling of the JVM. Just Google around for 'java profiling'

RE: FOP Servlet Performance Problem

2007-11-30 Thread Noya Paolo
Jeremias thanks for your reply, can you explain me what do you mean for profile the JVM and how i can archieve the goal? sorry for my annoyance Thanks No idea where that could come from. I think the only thing you can do is profile the JVM and find out where exactly the time is lost. When

Re: FOP Servlet Performance Problem

2007-11-29 Thread Jeremias Maerki
No idea where that could come from. I think the only thing you can do is profile the JVM and find out where exactly the time is lost. When you say transformer.transform() takes more than 30 seconds it can still be one of thousand things. Profiling is the only option really. Jeremias Maerki On

FOP Servlet Performance Problem

2007-11-28 Thread Noya Paolo
I'm using FOP 0.94 with JDK 1.4 for producing a simple 1 page PDF transforming a simple XML on a Mandrake Linux release 9.2 for i586. If I try with command line the result is about in 3 or 4 second. Next I write a Servlet on JRun 4.0: public void init() throws ServletException { uriResolver