GNOME Bugzilla – Bug 551638
PDF rendering is very slow with CPU load constantly at 100% with particular PDF
Last modified: 2008-10-11 16:57:22 UTC
Please describe the problem: When opening bng.pdf within evince, it takes about 30 seconds on my E6600 for one page of the 20 page document to be rendered. The document can be downloaded here for reference: http://www.t-balancer.com/english/support.htm Direct link: http://www.t-balancer.com/download/bng.pdf Steps to reproduce: 1. Download http://www.t-balancer.com/download/bng.pdf 2. Open bng.pdf in evince 3. Wait for ages Actual results: Expected results: Does this happen every time? Other information:
I have noticed the same with several documents. Another set of test cases can be found here: http://www.translink.bc.ca/Maps/cycling_map_guide.asp I notice that when this occurs evince is very hard to use as loading, zooming, and scrolling all take an extremely long time.
I just noticed your profiling instructions here http://live.gnome.org/Evince/Profiling With the hope that this will help I downloaded svn and tried this. I get the following results with the bng.pdf in the first post, I didn't let the entire document render, as I fear it would take an entire day! This slow rendering affects me a lot at work and at home, so if there is additional tests I could run that would help diagnose the bug, I'd be happy to help. $ EV_PROFILE_JOBS=1 ./evince ~/Desktop/bng.pdf [ EvJobLoad (0x9fc8d50) ] 0.235492 s elapsed [ Rendering page 0 ] 25.551696 s elapsed [ EvJobRender (0x9f509f8) ] 25.615751 s elapsed [ Rendering page 1 ] 27.471516 s elapsed [ EvJobRender (0x9f50aa0) ] 27.529788 s elapsed [ EvJobThumbnail (0x9fc9358) ] 25.765258 s elapsed [ EvJobThumbnail (0xa096050) ] 28.640514 s elapsed [ EvJobThumbnail (0xa1084c8) ] 56.882924 s elapsed [ EvJobThumbnail (0xa108488) ] 27.614915 s elapsed [ Rendering page 2 ] 57.501134 s elapsed [ EvJobRender (0x9f50b48) ] 57.578708 s elapsed [ Rendering page 3 ] 28.772924 s elapsed [ EvJobRender (0x9f50bf0) ] 28.828247 s elapsed [ EvJobRender (0x9f509f8) ] 319.425841 s elapsed [ EvJobRender (0x9f50c98) ] 40.983031 s elapsed [ EvJobRender (0xa12c800) ] 0.075060 s elapsed [ Rendering page 3 ] 31.766446 s elapsed [ EvJobRender (0xa12c9f8) ] 31.822193 s elapsed [ EvJobRender (0x9f509f8) ] 402.400424 s elapsed [ EvJobRender (0x9f509f8) ] 402.780039 s elapsed [ EvJobRender (0x9f509f8) ] 403.234840 s elapsed [ EvJobRender (0x9f509f8) ] 404.030662 s elapsed [ EvJobRender (0x9f509f8) ] 408.075462 s elapsed [ EvJobRender (0x9f509f8) ] 409.007920 s elapsed [ EvJobThumbnail (0xa108688) ] 63.682594 s elapsed [ EvJobRender (0x9f509f8) ] 460.178314 s elapsed [ EvJobRender (0xa4b8d40) ] 0.122705 s elapsed
It's a poppler bug. I've just forwarded it to the freedesktop bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=18017 Thanks for reporting.