Bug 20928 - Evince is very slow showing pages of some PDFs which contain only images
Summary: Evince is very slow showing pages of some PDFs which contain only images
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL: http://www.dccomics.com/media/excerpt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 13:17 UTC by Matteo Settenvini
Modified: 2010-01-27 15:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Sysprof module saved output (65.65 KB, application/x-bzip)
2009-03-28 13:36 UTC, Matteo Settenvini
Details
Sysprof GUI screenshot (158.16 KB, image/png)
2009-03-28 13:37 UTC, Matteo Settenvini
Details

Description Matteo Settenvini 2009-03-28 13:17:57 UTC
I did open gnome bug 577093, but the problem is reportedly with poppler (here I'm using version 0.10.4).

Please describe the problem:
For some PDFs, evince 2.26.0 is veeery slow showing pages.
Take for example: http://www.dccomics.com/media/excerpts/1696_1.pdf

On my >700Mb RAM, 2.4Ghz Intel P4, each page takes 20-30 seconds to load.
Adobe Acrobat Reader does show the pages almost instantly.

Steps to reproduce:
1. Download the PDF
2. Open it in evince
3. Enable "continuous mode" to see better in how much time pages are loaded
4. Wait, scrolling the document down as the pages are rendered.

Actual results:
Each page is rendered after a lot of waiting.

Expected results:
Rendering of each page in under 3-4 seconds.

Does this happen every time?
Oh, yes.
Comment 1 Matteo Settenvini 2009-03-28 13:36:38 UTC
Created attachment 24347 [details]
Sysprof module saved output

This is the file that, uncompressed, can be loaded inside the Sysprof GUI to analyze the problem.
Comment 2 Matteo Settenvini 2009-03-28 13:37:44 UTC
Created attachment 24348 [details]
Sysprof GUI screenshot

This is a screenshot of the same run with the Sysprof module, for reference.
Comment 3 Albert Astals Cid 2009-03-28 13:51:30 UTC
Not a cairo problem, you screenshot clearly shows that JPX decoding is eating all the time.
 
Here it takes under 2 seconds for rendering each page when using the OpenJPEG-based JPX decoder and under 3 when using the builtin one and my computer is not that better compared to yours, are you using a non optimized build of poppler?
Comment 4 Albert Astals Cid 2009-03-28 13:51:45 UTC
Erg, closed by error
Comment 5 Albert Astals Cid 2010-01-27 15:26:15 UTC
No answer in almost a year, closing


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.