<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Cache lcms transformed values for ICC colorspaces in getRGB(), getCMYK() and getGray()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68420#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Cache lcms transformed values for ICC colorspaces in getRGB(), getCMYK() and getGray()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68420">bug 68420</a>
from <span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=84642" name="attach_84642" title="cache cms values in getGray(), getRGB() and getCMYK()">attachment 84642</a> <a href="attachment.cgi?id=84642&action=edit" title="cache cms values in getGray(), getRGB() and getCMYK()">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=68420&attachment=84642'>[review]</a>
cache cms values in getGray(), getRGB() and getCMYK()
Some additional remarks:
1. I tested the cache with -png, -png -gray and -jpegcmyk, in all cases the
rendering time took round about 2.5 seconds less than without cache on my
laptop.
2. I encountered, that the test PDF which I produced use a different ICC
colorspace for each shading. Therefore copying the cache is not necessary in
the ::copy function.
3. The increasement of speed comes from the lot of hits in the cache, but the
number of cached items is quite small. Therefore I choose a small limit (2048)
for the cache!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>