bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow


From: Gary Wong
Subject: Re: [Bug-gnubg] GTK+ 2.2 Win32 build: display much too slow
Date: Tue, 21 Jan 2003 15:43:01 -0500
User-agent: Mutt/1.3.28i

Could you please try running the attached trivial GTK+ program?  It lets you
pop up a window with a 64x64 table (very similar to gnubg's MET window).  On
my system, running this and opening and closing the table once uses from
1.41 to 1.75 seconds of CPU time, depending which theme is selected and
whether GDK_USE_XFT is set.  (I consider this performance to be poor... it
seems that at least under GTK+ 2.2, widgets are sufficiently heavyweight
that creating 4096 of them is sluggish.  Perhaps it is worth looking into
another approach for gnubg's MET.)

If this test program runs in ~2 seconds on your system, then presumably
gnubg is doing something to trigger the performance problem.

If this program is also slow, GTK+ itself appears to be the problem.  I
find it hard to believe that it would be released in this state.  Searching
the gimpwin-dev group at

    http://groups.yahoo.com/group/gimpwin-dev/

for "slow" gives a few leads... for example, 

    http://groups.yahoo.com/group/gimpwin-dev/message/3043

suggests setting the environment variable PANGO_WIN32_NO_UNISCRIBE to
something.  Does that make much difference, or are any of the other
messages in the archive any use?

Cheers,
Gary.
-- 
   Gary Wong           address@hidden           http://www.cs.arizona.edu/~gary/

Attachment: gtkspeedtest.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]