Re: Performance regression in GTK 2.0 compared to 1.2?
- From: Ralph Walden <rwalden tripos com>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: gtk-list gnome org
- Subject: Re: Performance regression in GTK 2.0 compared to 1.2?
- Date: Tue, 21 May 2002 11:12:17 -0500
I have also noticed that Gtk2.0 seems visibly slower and clunkier than
1.2. This is so noticeable even in the simplest dialogs, that I am
hesitant to port my application to 2.0, especially since I really don't
need any of the new gtk2.0 features.
What's going on here? Can anything be done?
ERDI Gergo wrote:
> [please CC replies to cactus cactus rulez org, thanks]
> Since GTK+ 2.0 has been released for more than a month, I decided to get
> up-to-date with GTKmm and other related packages to fix Gnomoku which has
> surely bit-rotten in the last months. Back when I first ported it to GTK+
> 1.3, it was very slow, but that was before 2.0 so I guessed it had al
> kinds of debug code and unoptimized code paths and whatnot.
> However, now I see the same performance problems compared to GTK+ 1.2:
> Gnomoku uses a 15x15 grid of GtkButtons (which should be a good
> stress-test), and with GTK+ 1.2 the redrawing occurs instantly (when
> raising it from below another window or resizing it for example), but with
> GTK+ 2.0 it takes a visible amount of time for the updating to occur,
> especially for the resizing case. I've also tried gconf-editor: when the
> window is maximized and I drag the vertical separator handle, huge gray
> areas can be seen flickering.
> I've installed the GTK+ 2.0 and related packages from Debian so they
> aren't compiled with debug flags; the exact version is 2.0.2.
> So I'm looking for ideas where I should look for finding misconfiguration
> in my setup. I don't use GDK's XFT support, the theme is the default one.
> I'd say everything related to GTK+ 2 is set to the default, so I have no
> idea what's causing this.
> Any ideas welcome,
> .--= ULLA! =---------------------. `We are not here to give users what
> \ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
> `---= cactus cactus rulez org =---'
> Szabadság, szerelem -- ext2 kell nekem
> gtk-list mailing list
> gtk-list gnome org
Ralph E. Walden
rwalden tripos com
] [Thread Prev