[
https://issues.apache.org/jira/browse/PDFBOX-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18118005#comment-18118005
]
Tim Allison commented on PDFBOX-6268:
-------------------------------------
[~tilman] when I ran the query again, I found 3 others, all in
{{{}commoncrawl3_refetched{}}}:
||File||Size||Tika parse 3.0.8||Tika parse
3.0.9||{{getObjectsByType(FILESPEC)}} 3.0.8||3.0.9||filespecs found||
|JXZ4DR4UE5DVJZH5XNF7WWXPSUKOQTGQ|6.5 MB|94.5 s|5.0 s|42.7 s|1.8 s|0|
|DXGVROZJ5D2WUPN63PCCLGUIK7NCWPTD|20.8 MB|82.0 s|9.1 s|45.1 s|2.9 s|0|
|FTZNAE5B4PRUUR67ABAO6UW76FJHZF6K|26.6 MB|80.9 s|8.6 s|37.8 s|3.2 s|0|
[~lehmi] Got it. Thank you!
> Avoid rebuilding key cache when possible
> ----------------------------------------
>
> Key: PDFBOX-6268
> URL: https://issues.apache.org/jira/browse/PDFBOX-6268
> Project: PDFBox
> Issue Type: Task
> Components: Parsing
> Affects Versions: 3.0.8 PDFBox, 4.0.0
> Reporter: Tim Allison
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Attachments: G7BO7PNCCREVF2BCY5YSYOPYDLMBYASY.pdf,
> RFFQRH5P3P4YLUL5MWWZIPDQRKAPES2H.pdf
>
>
> Over on Tika, we found that our {{COSDocument.getObjectsByType(FILESPEC)}}
> was really expensive on a couple of PDFs.
> The issue was that every object stream parse rebuilds the cache from scratch:
> xref entries × object streams map insertions.
> With incoming PR, we could get >600s -> ~4 seconds or less.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]