[
https://issues.apache.org/jira/browse/PDFBOX-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623507#comment-14623507
]
Tilman Hausherr commented on PDFBOX-2860:
-----------------------------------------
[~ssteiner1] could you run your test again but keeping the file in memory?
Because I'm wondering whether the nonSeq parser might be slower because it
might move back and forth in a non linearized file.
> 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]