Performance improvement shown by x11perf not reflected in GtkPerf

Vincent Torri vtorri at univ-evry.fr
Thu Dec 3 07:38:45 PST 2009



On Thu, 3 Dec 2009, Arnaud Mouiche wrote:

> I think gtkperf is more a tool to test gtk non-regression or optimization (on 
> a same X server), than a tool to test X.
>
> I tried to use it to see if EXA optimizations that optimize everything by 
> doing nothing (screen stay black), makes Gtkperf more efficient.
> the result was that xorg without EXA management overhead (so without any 
> optmization) gives better results than xorg with a EXA optimization that 
> can't be more efficient...
>
> Indeed, gtkperf ony creat pixmap, but doesn't try to move / blit / compose... 
> all the thing a acceleration can be used for.
>
> so what you need is a perf tool more usefull that measure the user experience 
> feeling (scrolling, transparency, move, composition).
>
> Does somebody know one ? I'm also interested.

you can try render_bench, written by Carsten Haitzler:

http://www.rasterman.com/files/render_bench.tar.gz

it mesures some operations, maybe not all you want though.

Vincent Torri

> arnaud
>
> Alan Coopersmith wrote:
>> prudhvi raj wrote:
>> 
>>> My question is why is the performance improvement shown through x11perf
>>> is not getting reflected when we run gtkperf??
>>> 
>> 
>> x11perf is a wonderful way to make you optimize code that no one ever 
>> calls.
>> 
>> Notice that all the x11perf tests are single color, and use the Xlib 
>> drawing
>> routines, while gtk is multicolor and usually does not use Xlib drawing.
>>
>> 
>
>


More information about the xorg-devel mailing list