Performance enhancement

Michael Thaler michael.thaler at ph.tum.de
Sat Feb 5 19:54:34 CET 2005


On Saturday 05 February 2005 15:04, Boudewijn Rempt wrote:

> But is it slower than the old tiles code? You might be able to test by
> uninstalling KOffice and running the binary I've got at
> http://www.xs4all.nl/~bsarempt/krita-cvs-current.tar.bz2, which is still
> based on the old code.

Krita from today:

* bitBlt test
  Testing blitting on CMYK
   100 blits of rectangles < tilesize with opacity 255 and composite op 0: 7ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 0: 
45ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 0: 
3042ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 0: 1345ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 0: 7ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 0: 
45ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 0: 
3036ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 0: 1354ms
   100 blits of rectangles < tilesize with opacity 255 and composite op 12: 
3ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 12: 
15ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 12: 
675ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 12: 472ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 12: 
3ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 12: 
15ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 12: 
679ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 12: 468ms
  Testing blitting on GRAYA
   100 blits of rectangles < tilesize with opacity 255 and composite op 0: 
10ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 0: 
70ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 0: 
4479ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 0: 1927ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 0: 
10ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 0: 
71ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 0: 
4480ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 0: 1925ms
   100 blits of rectangles < tilesize with opacity 255 and composite op 12: 
4ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 12: 
15ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 12: 
660ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 12: 435ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 12: 
4ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 12: 
14ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 12: 
666ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 12: 431ms
  Testing blitting on RGBA
   100 blits of rectangles < tilesize with opacity 255 and composite op 0: 8ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 0: 
58ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 0: 
3675ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 0: 1609ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 0: 8ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 0: 
57ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 0: 
3678ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 0: 1611ms
   100 blits of rectangles < tilesize with opacity 255 and composite op 12: 
3ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 12: 
15ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 12: 
712ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 12: 478ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 12: 
3ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 12: 
15ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 12: 
695ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 12: 474ms

Krita from 10.01.2005 (before the new tilemanager was merged):

* bitBlt test
  Testing blitting on CMYK
   100 blits of rectangles < tilesize with opacity 255 and composite op 0: 6ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 0: 
137ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 0: 
2354ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 0: 619ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 0: 6ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 0: 
136ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 0: 
2354ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 0: 616ms
   100 blits of rectangles < tilesize with opacity 255 and composite op 12: 
3ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 12: 
12ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 12: 
261ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 12: 86ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 12: 
2ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 12: 
12ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 12: 
261ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 12: 85ms
  Testing blitting on CMYKA
   100 blits of rectangles < tilesize with opacity 255 and composite op 0: 8ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 0: 
186ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 0: 
3215ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 0: 833ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 0: 8ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 0: 
186ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 0: 
3212ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 0: 833ms
   100 blits of rectangles < tilesize with opacity 255 and composite op 12: 
2ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 12: 
12ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 12: 
319ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 12: 102ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 12: 
3ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 12: 
12ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 12: 
320ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 12: 102ms
  Testing blitting on GRAYA
   100 blits of rectangles < tilesize with opacity 255 and composite op 0: 8ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 0: 
182ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 0: 
3136ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 0: 797ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 0: 8ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 0: 
182ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 0: 
3139ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 0: 802ms
   100 blits of rectangles < tilesize with opacity 255 and composite op 12: 
2ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 12: 
7ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 12: 
144ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 12: 49ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 12: 
2ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 12: 
7ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 12: 
147ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 12: 49ms
  Testing blitting on RGBA
   100 blits of rectangles < tilesize with opacity 255 and composite op 0: 8ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 0: 
180ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 0: 
3090ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 0: 806ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 0: 8ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 0: 
181ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 0: 
3084ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 0: 805ms
   100 blits of rectangles < tilesize with opacity 255 and composite op 12: 
3ms
   100 blits of rectangles 3 * tilesize with opacity 255 and composite op 12: 
12ms
   100 blits of rectangles 800 x 800 with opacity 255 and composite op 12: 
257ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 255 and composite 
op 12: 87ms
   100 blits of rectangles < tilesize with opacity 127 and composite op 12: 
3ms
   100 blits of rectangles 3 * tilesize with opacity 127 and composite op 12: 
12ms
   100 blits of rectangles 800 x 800 with opacity 127 and composite op 12: 
257ms
   100 blits of rectangles 500 x 500 at 600,600 with opacity 127 and composite 
op 12: 85ms

Take care,
Michael


More information about the kimageshop mailing list