[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Yet another bug. This time filters vs selections
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2009-09-10 21:05:54
Message-ID: ae32c1ef0909101405x46ffe7eej6b869f67f988d8fc () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I've done some tests and got some curious results on selections inside
filters.

It turned out that additional bitBlt doesn't cause any considerable penalty.
On fast lightweight filters (Invert filter) the scheme with bitBlt'ed
selection works up to 1.8 times faster (need to be proved), on heavy and
slow filters (like Curves, Levels) the time is almost the same (~2% slower
at the worst case).

Probable reasons:
1) Heavy filters have bigger footprint
2) Internal filters' selections have a big footprint that causes actual
filter's code run slower.

More than that, the selection that is applied inside filters - is a
"discreet" selection, but bitBlt'ed one is normal 256-grade selection.

I got these results on a rectangular selection.
And they should be proved one more time. I'll do it tomorrow.


-- 
Dmitry Kazakov

[Attachment #5 (text/html)]

I&#39;ve done some tests and got some curious results on selections inside \
filters.<br><br>It turned out that additional bitBlt doesn&#39;t cause any \
considerable penalty. On fast lightweight filters (Invert filter) the scheme with \
bitBlt&#39;ed selection works up to 1.8 times faster (need to be proved), on heavy \
and slow filters (like Curves, Levels) the time is almost the same (~2% slower at the \
worst case). <br> <br>Probable reasons:<br>1) Heavy filters have bigger \
footprint<br>2) Internal filters&#39; selections have a big footprint that causes \
actual filter&#39;s code run slower.<br><br>More than that, the selection that is \
applied inside filters - is a &quot;discreet&quot; selection, but bitBlt&#39;ed one \
is normal 256-grade selection.<br> <br>I got these results on a rectangular \
selection.<br>And they should be proved one more time. I&#39;ll do it \
tomorrow.<br><br clear="all"><br>-- <br>Dmitry Kazakov<br>



_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic