Summary: | PDF rendering is very slow with CPU load constantly at 100% with particular PDF | ||
---|---|---|---|
Product: | poppler | Reporter: | Carlos Garcia Campos <carlosgc> |
Component: | cairo backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | luke.hutch, phil |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Carlos Garcia Campos
2008-10-11 09:50:24 UTC
I've been playing with sysprof and it seems the function GfxDeviceNColorSpace::getRGB is called too many times. The problem is with some images that have NumPixelComps == 1. In the splash backend they build a lookup table for these cases (See SplashOutputDev::drawImage()). I guess we could implement something like that in the cairo backend. *** Bug 18119 has been marked as a duplicate of this bug. *** I've finally implemented the same approach than splash in the cairo backend. Now it takes around 2 seconds to render the first page of bng.pdf. |
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.