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.
I can confirm it takes 3 seconds with SplashOutputDev and 106 with CairoOutputDev
It takes 6,5 seconds for me with cairo, it's not fast, but it's not extremly slow either.
wow 106 vs 6.5 seconds, something must be wrong with my setup, maybe too old cairo? What cairo version do you use Carlos?
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.
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.
Created attachment 38803 [details]
Rendering with cairo 1.8.10
Created attachment 38804 [details]
Rendering with cairo 1.10
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.