Bug 29957

Summary: Poppler renders particular file very very slowly
Product: poppler Reporter: Philip Langdale <xorgbugs.philipl>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Offending PDF map.
Rendering with cairo 1.8.10
Rendering with cairo 1.10

Description Philip Langdale 2010-09-01 17:27:49 UTC
Created attachment 38375 [details]
Offending PDF map.

The attached file contains a map diagram from a PDF I recently bought (I got permission to extract and attach the single page).

It renders extremely slowly - Over a minute of 100% of a core on my core i7 machine. I did a quick comparison with Adobe Reader on my android phone and it took less than 10 seconds so it's clearly not inherent to the content.

I don't know if this is the same as any of the existing slow rendering bugs as I don't know how the map is constructed.
Comment 1 Albert Astals Cid 2010-09-02 00:52:51 UTC
I can confirm it takes 3 seconds with SplashOutputDev and 106 with CairoOutputDev
Comment 2 Carlos Garcia Campos 2010-09-02 00:56:20 UTC
It takes 6,5 seconds for me with cairo, it's not fast, but it's not extremly slow either.
Comment 3 Albert Astals Cid 2010-09-02 16:11:48 UTC
wow 106 vs 6.5 seconds, something must be wrong with my setup, maybe too old cairo? What cairo version do you use Carlos?
Comment 4 Philip Langdale 2010-09-02 16:24:21 UTC
Albert, your 106 seconds is consistent with my original experience. I'm running Ubuntu 10.04 with the default Cairo 1.8.10.

I can experiment with a newer version and see if it makes a difference.
Comment 5 Philip Langdale 2010-09-02 16:35:14 UTC
With bleeding edge cairo (1.9.14), the performance is much improved - actually less than 6 seconds in my case, but the visual appearance is incorrect. The planet markers are not coloured correctly. It's possible that colouring these in is what's slow and the performance improvement is a side effect of a rendering bug.

Also, evince crashes at 400% zoom on the map with this cairo.
Comment 6 Søren Sandmann Pedersen 2010-09-19 17:40:36 UTC
Created attachment 38803 [details]
Rendering with cairo 1.8.10
Comment 7 Søren Sandmann Pedersen 2010-09-19 17:41:32 UTC
Created attachment 38804 [details]
Rendering with cairo 1.10
Comment 8 GitLab Migration User 2018-08-20 21:52:00 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/97.

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.