[ 
https://issues.apache.org/jira/browse/PDFBOX-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626187#comment-14626187
 ] 

simon steiner commented on PDFBOX-2860:
---------------------------------------

It sounds like if we can pass a file we should use nonseq otherwise for 
inputstream use seq

> NonSeq parser slower than Seq parser
> ------------------------------------
>
>                 Key: PDFBOX-2860
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2860
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>
> PDF from PDFBOX-797
>         for (int i=0; i<1000; i++) {
>             PDDocument.load(new FileInputStream(
>                     "4218.pdf")).close();
>         }
> Nonseq:
> real  0m23.691s
> Seq:
> real  0m9.705s



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to