Bug 91248

Summary: Poppler extremely slow to render certain PDFs
Product: poppler Reporter: S. <sb56637>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.