[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    [Fwd: Re: GTK+ 2 speed]
From:       Daniel Campos <danielcampos () netcourrier ! com>
Date:       2005-07-28 9:18:36
Message-ID: 42E8A2EC.1090409 () netcourrier ! com
[Download RAW message or body]

["Re: GTK+ 2 speed" (message/rfc822)]

Message-ID: <42E8A2C6.5050801@tiscali.es>
Date: Thu, 28 Jul 2005 11:17:58 +0200
From: Daniel Campos <daniel.campos@tiscali.es>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050322)
X-Accept-Language: es-es, es
MIME-Version: 1.0
To: Robert Thorpe <Robert.Thorpe@antenova.com>
Subject: Re: GTK+ 2 speed
References: <062347F5EA06184999273868C1B4FD7F5C4AAF@server.Antenova.local>
In-Reply-To: <062347F5EA06184999273868C1B4FD7F5C4AAF@server.Antenova.local>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi:

Based on my experience with GTK+, widgets drawing could be more slow because
all widgets are double-buffered, however, if you're not interested in 
that feature,
you can always use gtk_widget_set_double_buffered() to disable it.

Pango is very slow, and I don't know any way to improve speed. May be 
the new
Pango libraries with cairo support would help, but I'm not sure at all. 
You could
directly use Xlib font drawing.

However, not all is "slowliness" with GTK+, some operations with glib, 
and some
GTK+ widgets perform better than, for example the equivalent QT ones.

Depending on the kind of project you want to develop, you will find 
advantages or
disadvantages using GTK+.

Regards,

D. Campos


Robert Thorpe escribió:

>Users of PCB are attempting to find out why parts of the GTK+ version
>gPCB are slower than the Athena version.  Also, I'm beginning to write a
>graphical program and deciding which widget set to use, so I'm
>interested in the same issue.
>
>To help us both, it would be useful if anyone knowledgable on this list
>could answer a couple of questions: -
>
>* Are there any general reasons why GTK is slower than other widget
>libraries?
>- Is it in fact slower, or is it just common mis-configurations?
>- What if Pango is not extensively used?
>
>* Also, is it true that GTK must handle many events by performing long
>string comparison operations?  Does this cause a slowdown?
>
>Thanks
>_______________________________________________
>gtk-list mailing list
>gtk-list@gnome.org
>http://mail.gnome.org/mailman/listinfo/gtk-list
>
>  
>




_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic