[Poppler-bugs] [Bug 106135] New: Pathological case demonstrating massive slowdown
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 19 09:45:57 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106135
Bug ID: 106135
Summary: Pathological case demonstrating massive slowdown
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: solo at yopmail.com
Created attachment 138921
--> https://bugs.freedesktop.org/attachment.cgi?id=138921&action=edit
before
>From a bug reported to pdfgrep at https://gitlab.com/pdfgrep/pdfgrep/issues/25
The original file, before.pdf, took pdfgrep only 7 seconds to search.
I then decompressed and recompressed the file to produce after.pdf. On
this new file, pdfgrep now takes 80 seconds to search it. I also tested
this procedure against some ebooks and found much worse results, such as
an increase from 4s to 250s.
It looks like this might be poppler related, since timing pdftotext on the
files also exhibits a 10x difference in performance. But every other pdf
viewer (Mac OS X Preview and Skim, mupdf, PDF.js) and parser (mutool,
podofo, pdf-parser.py, pstotext/ghostscript) I tried doesn't exhibit any
significant performance difference between these two files.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180419/212f610c/attachment.html>
More information about the Poppler-bugs
mailing list