Page 1 of 1

converting performance problem

Posted: Mon Jul 09, 2018 12:32 pm
by zouarino
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

Re: converting performance problem

Posted: Mon Jul 09, 2018 12:36 pm
by Radu
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

Re: converting performance problem

Posted: Mon Jul 09, 2018 12:45 pm
by zouarino
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

Re: converting performance problem

Posted: Mon Jul 09, 2018 1:32 pm
by Radu
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