Re: Improving FOP Performance

2014-03-18 Thread Paul Womack

Gonzalo Vasquez wrote:

Hi everybody,

We've been doing some performance tests using several output formats (PDF, 
PostScript and AFP), and they al give us about the same time results, which are 
far from what we expected. I'm aware that there are several bits of Apache FOP 
which might me tweaked, but any suggestions would be appreciated for improving 
performance.


Use a profiling tool? Or is that too obvious?

 BugBear


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Improving FOP Performance

2014-03-18 Thread Gonzalo Vasquez
I'm into that, but I guess there might be some first parts to look before I dig 
thaaat deep ;)

Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (RD)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasq...@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
  


El 18-03-2014, a las 9:22, Paul Womack supp...@papermule.co.uk escribió:

 Gonzalo Vasquez wrote:
 Hi everybody,
 
 We've been doing some performance tests using several output formats (PDF, 
 PostScript and AFP), and they al give us about the same time results, which 
 are far from what we expected. I'm aware that there are several bits of 
 Apache FOP which might me tweaked, but any suggestions would be appreciated 
 for improving performance.
 
 Use a profiling tool? Or is that too obvious?
 
 BugBear
 



Re: Improving FOP Performance

2014-03-18 Thread paul womack

Gonzalo Vasquez wrote:

I'm into that, but I guess there might be some first parts to look before I dig 
thaaat deep ;)



Nah, profiling ain't digging deep, it's by far the quickest and easiest way
to find unexpected performance hogs.

 BugBear


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Improving FOP Performance

2014-03-18 Thread Terence M. Bandoian

On 3/18/2014 11:09 AM, Gonzalo Vasquez wrote:
I'm into that, but I guess there might be some first parts to look 
before I dig thaaat deep ;)


Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (RD)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasq...@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com



El 18-03-2014, a las 9:22, Paul Womack supp...@papermule.co.uk escribió:

Gonzalo Vasquez wrote:
Hi everybody,

We've been doing some performance tests using several output formats 
(PDF, PostScript and AFP), and they al give us about the same time 
results, which are far from what we expected. I'm aware that there are 
several bits of Apache FOP which might me tweaked, but any suggestions 
would be appreciated for improving performance.


Use a profiling tool? Or is that too obvious?

BugBear




Hi, Gonzalo-

You may want to consider reusing FopFactory and TransformerFactory 
instances.  That would help if multiple documents are generated in a 
given run.  Also, JVM start time may be included in the performance 
results.


Using a profiler sounds like a good idea.

-Terence Bandoian


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Improving FOP Performance

2014-03-18 Thread Gonzalo Vasquez
Actually were reusing (private static variables) the FopFactory but not the 
transformerFactory, I'll try with that too.

Thanks!

Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (RD)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasq...@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
  


El 18-03-2014, a las 15:04, Terence M. Bandoian tere...@tmbsw.com escribió:

 On 3/18/2014 11:09 AM, Gonzalo Vasquez wrote:
 I'm into that, but I guess there might be some first parts to look before I 
 dig thaaat deep ;)
 
 Gonzalo Vásquez Sáez
 Gerente Investigación y Desarrollo (RD)
 Altiuz Soluciones Tecnológicas de Negocios Ltda.
 Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
 +56 2 335 2461
 gvasq...@altiuz.cl
 http://www.altiuz.cl
 http://www.altiuzreports.com
 
 
 
 El 18-03-2014, a las 9:22, Paul Womack supp...@papermule.co.uk escribió:
 
 Gonzalo Vasquez wrote:
 Hi everybody,
 
 We've been doing some performance tests using several output formats (PDF, 
 PostScript and AFP), and they al give us about the same time results, which 
 are far from what we expected. I'm aware that there are several bits of 
 Apache FOP which might me tweaked, but any suggestions would be appreciated 
 for improving performance.
 
 Use a profiling tool? Or is that too obvious?
 
 BugBear
 
 
 
 Hi, Gonzalo-
 
 You may want to consider reusing FopFactory and TransformerFactory instances. 
  That would help if multiple documents are generated in a given run.  Also, 
 JVM start time may be included in the performance results.
 
 Using a profiler sounds like a good idea.
 
 -Terence Bandoian
 
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org