Summary: | One page pdf takes 2.5 minutes to be displayed | ||
---|---|---|---|
Product: | poppler | Reporter: | David Timms <dtimms> |
Component: | cairo backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | high | CC: | bugs, carlosgc, sa |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
pdf with poor opening performance in evince/poppler
screen shot of final rendering. Seems simple enough ! |
Description
David Timms
2007-01-20 23:01:58 UTC
Created attachment 8472 [details]
pdf with poor opening performance in evince/poppler
Created attachment 8473 [details]
screen shot of final rendering. Seems simple enough !
For a comparison check, I booted windows 98se, ran adobe acrobat reador 5.04 and opened the attached pdf. It was visible within one second. I notice the pdfinfo shows: not optimized and the pdf does contain a graphic. Perhaps the graphic is like a 500kB jpeg that needs to be rendered before the rest of the document is displayed ? Still present, Splash 500ms, Cairo 7800ms It takes 4.5 seconds with current poppler. hmm, it seems we are clipping too much. Removing out->clip(state); from Gfx::doEndPath() fixes the problem (it renders in 0.55 seconds) and provides the same output in both backends. I wonder why we need to clip in Gfx::doEndPath(). See http://www.parkweb.vic.gov.au/resources05/05_1413.pdf for a file that needs that clip call there *** Bug 11809 has been marked as a duplicate of this bug. *** *** Bug 12266 has been marked as a duplicate of this bug. *** Just as a reference timing: Opening the opening hours pdf (attach1) takes: - 5 seconds [new machine with amd quad 3GHz CPU] gkrellm shows 100% CPU for those 5 secs for one of the CPU cores. It seems to be something about the use of long columns or tables that is common between these pdfs. Document Viewer 2.26.2 using poppler 0.10.7 (cairo). on Fedora 11. 0,3 seconds with current cairo! See commit: http://cgit.freedesktop.org/cairo/commit/?id=85094c4eee4e50ec724bf1bb54ecff6f7c1014bf Thanks Chris! *** Bug 13525 has been marked as a duplicate of this bug. *** |
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.