Bug 28591 - pdf is slow to load while processing images
Summary: pdf is slow to load while processing images
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 12:57 UTC by Pedro Villavicencio
Modified: 2016-12-02 10:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
valgrind log (77.02 KB, application/x-bzip)
2010-06-17 13:31 UTC, Pedro Villavicencio
Details

Description Pedro Villavicencio 2010-06-17 12:57:14 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/poppler/+bug/565592

"When using the mouse to navigate through PDFs, it works great. But PgUp and PgDn sometimes doesn't work at all for some PDFs"

pdf is:

http://launchpadlibrarian.net/44626731/Barton2007.pdf

attached is the valgrind log
Comment 1 Albert Astals Cid 2010-06-17 13:24:06 UTC
I don't see any valgrind log
Comment 2 Pedro Villavicencio 2010-06-17 13:31:37 UTC
Created attachment 36345 [details]
valgrind log

attaching it again, sorry.
Comment 3 Carlos Garcia Campos 2010-06-19 02:39:34 UTC
I'm not sure I understand what the problem is, but the document works perfectly for me.
Comment 4 Pedro Villavicencio 2010-06-21 05:47:35 UTC
The document is really slow to render on poppler 0.12.4 , is easy to reproduce if you scroll trough the pages and wait for those to be rendered. Thanks!.
Comment 5 Carlos Garcia Campos 2010-06-21 08:29:53 UTC
Ok, I tried with evince and didn't notice the slowness thanks to the evince page cache :-P The problem is not cairo backend specific, since most of the time is spent in GfxCalRGBColorSpace::getRGB(). With  commit 65c14073a3b1035ca5fe3bd6667abd315272841e I've reduced the time to render page 4 from more than 5 seconds to around 3 seconds, so it's still a bit slow.
Comment 6 Albert Astals Cid 2010-06-21 11:27:38 UTC
I've added a new optimization that axed the time from 1200ms to 600ms on my machine
Comment 7 Carlos Garcia Campos 2010-06-22 00:37:53 UTC
With current master page 4 takes 1,8 secs for me :-)
Comment 8 Albert Astals Cid 2016-12-02 10:55:05 UTC
I'm going to say we fixed this a while back, unless someone really thinks we're still being unreasonable slow in this file and reopens it.


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.