Am 12.07.2016 um 14:47 schrieb Doswald Michael:
Hi all,
I am interested in using the PDFBox library on an embedded system and
therefore did some simple performance tests. Compared to the other
library I looked at (iText), PDFBox performed considerably slower in
some use cases. Since I would rather go with PDFBox instead of iText I
had a look with a profiler to see if I could do something about it. I
pin-pointed some of the pain areas and came up with a few patches to
address some of them. I would like to clean up my patches and merge
them back upstream, if the PDFBox team is interested.
So my question is: Would you be interested in those patches and if
yes, how should I proceed from here. On the PDFBox website, I can't
find any procedure on how to propose patches. Should I post them here
on the mailing list for discussion? I think opening JIRA issues for
each patch would not be the right solution, as these patches are not
bugfixes but only small changes/refactorings in the code which have no
impact on the functionality itself.
Additional to Andreas' answer:
- to avoid frustration, start with something simple, i.e. that you think
will pass for sure. Don't do all the changes at once.
- be aware that all related to PDType1Font must allow multithreading as
far as the standard 14 fonts are concerned, see
https://issues.apache.org/jira/browse/PDFBOX-3404
- same for TrueTypeFont and Type1Font, these are used for the standard
14 fonts too.
- if you tested with 2.0.2, then some improvements may already have been
done, see
https://issues.apache.org/jira/browse/PDFBOX-3382
Tilman