[Poppler-bugs] [Bug 66928] 100% CPU usage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 16 04:18:28 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66928

--- Comment #7 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #5)
> Could it be that Your caching of GfxICCBasedColorSpace doesn't work
> correctly, Albert? 

Sorry, Albert, my mistake: had an old callgrind file flying around and
kcacheground took it, it was produced prior Your changes ... :-(

I profiled now also page 3, and definitely, the time is wasted in
cmsDoTransform. BUT: the call stack is

GfxImageColorMap::getRGB (!!!)
GfxICCBaseColorSpace::getRGB
GfxColorTransform::doTransform
cmsDoTransfrom

called round about 22 million times for page 3, where 256 calls should be
sufficient if we cache the results in GfxImageColorMap, but probably we the
need to cache GfxImageColorMap, too. But let me first try to cache the RGB
results in GfxImageColorMap....

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130716/3522f5f6/attachment.html>


More information about the Poppler-bugs mailing list