Bug 91248 - Poppler extremely slow to render certain PDFs
Summary: Poppler extremely slow to render certain PDFs
Status: RESOLVED INVALID
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-06 17:46 UTC by S.
Modified: 2015-07-06 20:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description S. 2015-07-06 17:46:00 UTC
Hello,

Certain PDFs opened in Evince or Atril using the Poppler backend are extremely slow to render, to the point of being unusable. This is on a very fast Thinkpad laptop with a quad-core processor and an SSD. The same PDFs render instantly using a Windows PDF reader (http://www.tracker-software.com/product/pdf-xchange-viewer) (running under Wine!!).

I can't include all of the many files that I've observed this problem on for privacy/copyright reasons, but I was able to find that most of the ones from here exhibit the problem:
https://archive.org/details/ualbertaeducationguides
For example, this file is only about 2MB, but it takes many seconds to render each page:
https://ia600705.us.archive.org/26/items/kindergartencatho11albe/kindergartencatho11albe.pdf
Another small file:
https://freekidsbooks.org/download/103
These particular PDFs are all scanned books, i.e. only images with no actual text. But I have also observed this same extreme slowness in certain mixed text/image PDF files.

On the other hand, some long, complex PDFs with images render extremely quickly with Poppler, like this one:
http://www.pwc.com/gx/en/paying-taxes/pdf/pwc-paying-taxes-2015-high-resolution.pdf

Thanks for looking into this.
Comment 1 Albert Astals Cid 2015-07-06 19:42:49 UTC
Please open one bug per file you think it's slow rendering, adding a random number of files to a bug makes it impossible to work on it properly since they may or may not be related in what causes the slowlyness.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.