<br><br><div class="gmail_quote">On Mon, Jun 8, 2009 at 11:30 PM, Boudewijn Rempt <span dir="ltr"><<a href="mailto:boud@valdyas.org">boud@valdyas.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Monday 08 June 2009, Sven Langkamp wrote:<br>
> Hi,<br>
><br>
> I have commited a first version of the iterator benchmark we dicussed<br>
> yesterday. It basically iterates over a paint device without doing memcpys.<br>
> The results are as we expected:<br>
><br>
> -HLine- and VLineIterator perform quite similar.<br>
> -the rect iterator about 10% faster than hline<br>
> -the random accesor is about 40% slower than hline<br>
<br>
</div>I think it would be worth it to also do a test that advanced by the maximum<br>
number of consecutive pixels. I think that's one of the things that make<br>
bitblt nice and fast in KisPainter.</blockquote><div><br>I have added one for the hlineiterator and about four times faster. I have switched the color transformation filter to use consecutive, invert and desaturate are twice as fast with it (running non-threaded).<br>
</div></div>