[
https://issues.apache.org/jira/browse/PDFBOX-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617789#comment-14617789
]
John Hewson edited comment on PDFBOX-2856 at 7/8/15 1:13 AM:
-------------------------------------------------------------
The slowness is due to the lack of inter-page resource caching in 2.0. We
re-load all resources for each page which is slow for this file because of the
"post" table in the embedded fonts, which takes a long time to parse. I have a
patch which adds back caching (via a new interface) in a flexible manner, see
PDFBOX-2370. With my patch this file goes from 22sec to 8sec on my box.
was (Author: jahewson):
The slowness is due to the lack of inter-page resource caching in 2.0. We
re-load all resources for each page which is slow for this file because of the
"post" table in the embedded fonts, which takes a long time to parse. I have a
patch which adds back caching (via a new interface) in a flexible manner, see
PDFBOX-2370.
> Markedly slower processing for particular file in 2.0.0-trunk vs 1.8.9
> ----------------------------------------------------------------------
>
> Key: PDFBOX-2856
> URL: https://issues.apache.org/jira/browse/PDFBOX-2856
> Project: PDFBox
> Issue Type: Bug
> Reporter: Tim Allison
> Priority: Minor
> Attachments: testPDF_childAttachments.pdf
>
>
> As part of TIKA-1285, we noticed that the attached file is taking quite a bit
> longer with PDFBox 2.0.0 trunk than with 1.8.9.
> [~lehmi] confirmed 4-5x slower.
> Not sure what the cause is.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]