Bug 37032

Summary: Slow rendering of PDFs with lots of graphics
Product: poppler Reporter: Stephan Wienczny <stephan>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Stephan Wienczny 2011-05-09 12:05:35 UTC
When viewing PDFs the rendering is very slow. This occours especially when zooming and panning.

Steps to Reproduce:
1. Get the PDF from
http://vrr.de/imperia/md/content/stadtlinienplaene/dortmund.pdf
2. Open the PDF (I'm using okular).
3. Try to zoom and pan.
Comment 1 Albert Astals Cid 2011-05-09 12:17:49 UTC
On my slow atom:
splash  43 seconds
cairo  134 seconds

So yeah, there's room for improvement :D
Comment 2 Stephan Wienczny 2011-05-09 12:34:33 UTC
What program/commandline do you use to run the benchmark?
Comment 3 Albert Astals Cid 2011-05-09 12:50:08 UTC
I use poppler tests, you need to compile poppler to have access to them.
Comment 4 Thomas Freitag 2012-05-02 00:31:52 UTC
The link (to the PDF) is no more reachable. Is there any possibility to provide the PDF again?
Comment 5 Albert Astals Cid 2012-05-13 05:57:59 UTC
thomasf you should have it as bug-poppler37032.pdf in the set of files i gave you
Comment 6 Thomas Freitag 2012-05-13 10:10:10 UTC
No, I miss that PDF. The last PDF with that pattern I got from You is bug-poppler33972.pdf
Comment 7 Albert Astals Cid 2012-05-13 14:44:13 UTC
Oh, I'll send it to you, if anyone else wants it, just ask.
Comment 8 Thomas Freitag 2012-05-14 03:11:55 UTC
Thanks for sending it. I now made several tests with the PDF:
1. Even the actual acrobat needs 10-12 seconds to render it.
2. If You told, it took 43 seconds, You probably rendered it with 150 dpi? Or as Your former atom really so slow?
3. When I rendered it with 24 dpi (the PDF has a really huge output size of 43,31 x 35,24 in, so render it with 24 dpi still has 1040 x 846 pixels, which should be sufficient to view it unzoomed) it took only 5 seconds.
Ok, the PDF has a lot of small graphic elements, so we need some time (s. acrobat), and when zooming it propbably only the visuable section should be rendered to speed it up, but more or less I think that the time is acceptable for such kind of PDF.
Comment 9 GitLab Migration User 2018-08-20 21:53:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/113.

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.