Iterator benchmark
Boudewijn Rempt
boud at valdyas.org
Mon Jun 8 23:30:15 CEST 2009
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.
--
Boudewijn Rempt | http://www.valdyas.org
More information about the kimageshop
mailing list