Iterator benchmark

Sven Langkamp sven.langkamp at
Tue Jun 9 19:41:46 CEST 2009

On Mon, Jun 8, 2009 at 11:30 PM, Boudewijn Rempt <boud at> wrote:

> On Monday 08 June 2009, Sven Langkamp wrote:
> > Hi,
> >
> > I have commited a first version of the iterator benchmark we dicussed
> > yesterday. It basically iterates over a paint device without doing
> memcpys.
> > The results are as we expected:
> >
> > -HLine- and VLineIterator perform quite similar.
> > -the rect iterator about 10% faster than hline
> > -the random accesor is about 40% slower than hline
> I think it would be worth it to also do a test that advanced by the maximum
> number of consecutive pixels. I think that's one of the things that make
> bitblt nice and fast in KisPainter.

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).
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the kimageshop mailing list