You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andy McMullan (JIRA)" <ji...@apache.org> on 2016/09/19 10:26:21 UTC

[jira] [Updated] (PDFBOX-3503) 2.0 much slower than 1.8 for text extraction with certain PDF files

     [ https://issues.apache.org/jira/browse/PDFBOX-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy McMullan updated PDFBOX-3503:
----------------------------------
    Summary: 2.0 much slower than 1.8 for text extraction with certain PDF files  (was: 2.0 much slower than 1.8 for certain PDF files)

> 2.0 much slower than 1.8 for text extraction with certain PDF files
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-3503
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3503
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>         Environment: Windows 2012 R2, Oracle Java 1.8.0_91 64-bit
>            Reporter: Andy McMullan
>         Attachments: 074031.pdf
>
>
> While testing Tika 1.13 we've hit a performance problem with PDF conversion to text for certain files from the GovDocs corpus.
> I have attached an example PDF that shows the problem.  The problem can be reproduced using pdxbox-app.jar.  Running the extraction with 1.8.12 takes around 1 second:
> java -jar pdfbox-app-1.8.12.jar ExtractText 074031.pdf 074031.pdf.txt
> Doing the same with 2.0.2 takes around 30 seconds:
> java -jar pdfbox-app-2.0.2.jar ExtractText 074031.pdf 074031.pdf.txt
> This is a small PDF so taking 30 seconds seems excessive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org