Performance tests

Casper Boemann cbr at boemann.dk
Wed Jan 19 17:14:39 CET 2005


yes, this goes to show that the bulk of the time is spent in copying or
writing data. My idea of providing the number of scanline pixels available
should speed up this by an order of 64 in the erasing case. Or 32 on average
when blitting.

From: "Sven Langkamp" <longamp at reallygood.de>
> On Wednesday 19 January 2005 09:51, Boudewijn Rempt wrote:
> > * (rectangluar) Filling is very slow, too -- this is noted in the
> > tileddatamanager code; we shouldn't use iterators here, but just create
> > tiles in the new colour and save the old tiles for undo.
> I tested erase 1000x1000 layer 3 times with KisHLineIterator and
> KisRectIterator.
> Result:
> KisHLineIterator 817ms
> KisRectIterator 823ms
>
> It would be interesting to know why the KisRectIterator isn't faster.



More information about the kimageshop mailing list