Iterator benchmark

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


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 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?


Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20090608/13eded3b/attachment.htm 


More information about the kimageshop mailing list