-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.2, 2.0.3, 3.0.0 PDFBox
-
Fix Version/s: 2.0.3, 3.0.0 PDFBox
-
Labels:
compared to older 1.8.x versions, the new 2.0.x branch is awesomely slow.
benchmarks using a multipage document with few images and many text-lines indiciate a performance penalty of about 1:20 compared with the old 1.8.x branch.
profiling via VisualVM indicates that the new font handling causes this performance drawback:
TrueTypeFont.nameToGid() [31%]
TrueTypeFont.hasGlyph() [23%]
PDFont.getWidth() [16%]
PDType1Font.encode() [9%]
is there any workaround for this? the current setup only creates about 10 PDFs/second compared to over 200/second for the 1.8.x branch...
- is related to
-
PDFBOX-4318 PDFont.encode results change on identical input
-
- Closed
-