converting performance problem

Here should go questions about transforming XML with XSLT and FOP.
zouarino
Posts: 3

converting performance problem

Mon Jul 09, 2018 12:32 pm

Hello,
with fop 2.2, converting FO files (with external-document) to pdf files takes a lot of time.
with fop 2.0 the conversion takes only half the time.

I think the problem is with the change in cache management in pdfbox.

you can help me to solve the performance problem.

thank you
Radu
Posts: 5878

Re: converting performance problem

Mon Jul 09, 2018 12:36 pm

Hi,

The first time FOP 2.2 will run on your computer, it will create a fonts cache. But on subsequent runs, it should reuse that cache.
So do you get the same delay when re-running the transformation using Apache FOP 2.2?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
zouarino
Posts: 3

Re: converting performance problem

Mon Jul 09, 2018 12:45 pm

Hi,
no time is less than first faith but it remains high.

to convert 10000 file it takes 35 minutes, while with fop 2.0 it takes 11 minutes
Radu
Posts: 5878

Re: converting performance problem

Mon Jul 09, 2018 1:32 pm

Hi,

As the Apache FOP is a third party application we may not be able to help much with this.
Somehow it would help me to reproduce the problem on my side. Are you using PDF images referenced from DITA topics? About how many PDF images do you refer in the DITA topics? I could try a similar setup on my side....
Do you have a PDF customization plugin? Does publishing without your customization plugin still take that much?
If possible you could try to put together a small DITA project (a map, a couple of topics + referenced images) exhibiting the problem and send it to us:

https://www.oxygenxml.com/techSupport.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 4 guests