Iterator benchmark

Sven Langkamp sven.langkamp at
Mon Jun 8 22:46:32 CEST 2009


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 tried callgrind on it, but for some reason it doesn't work that good
(maybe because of the unit test) and it's really slow. Any idea if it's
possible to speed it up a bit?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the kimageshop mailing list