RE: GtkTreeView - why so SLOW?



unsubcribe

-----Original Message-----
From: Olivier Fourdan [mailto:fourdan xfce org]
Sent: mercredi 26 juin 2002 14:09
To: S. Eken
Cc: Olaf Fraczyk; gtk-app-devel-list gnome org; gtk-list gnome org
Subject: Re: GtkTreeView - why so SLOW?


Could this be related to double buffering in GTK+-2.0 ?

The fact that the CPU is taken on the X server machine might be because
the X server has to manage the buffering.

You might try to disable double buffering for GTK+-2.0 and see if things
improve.

Just my 2 Euro cents.

Cheers,
Olivier.

On Wed, 2002-06-26 at 13:13, S. Eken wrote:


Hi Olaf,
as I already posted under the subjects "Strange behaviour of
scrollbars in GTK 2.0" and "GTK 2.0 5 times slower than 1.2" in
gtk-devel-list I experienced a dramatic decrease in performace and a
similar increase in CPU usage, BUT (!!!) the CPU time is eaten up by the X
server (which, in my case is on a different (slower) machine as the one
running the application).

It would very interesting to know if your application uses the 60% CPU
time or if it is also the X server. Er, that is if you ARE using a
system with X. 

Regards

Sebastian Eken
eken bfw-online de

On 24 Jun 2002, Olaf [iso-8859-2] Fr±czyk wrote:

Hi All,
Inserting rows in TreeView takes much time, and eats a lot of processor
time.
The TreeView is inserted into a scrolled Window. When I use the ruler to
go up to the list and down, the CPU usage is about 50-60 percent on
Duron 1GHz.
I use ListStore, and I'm inserting about 5000 rows and I have 8 columns.

The same thing using CList inserts in a fraction of second (including
fetching data from database - in TreeView I was only inserting some data
not getting them from database).
And moving the list up and down is much smoother and eats about 2-3
percent CPU.

How can I get performance similar to CList? I use gtk 2.0.5.

Regards,

Olaf Fraczyk






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


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

-- 
Olivier               <fourdan xfce org>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems.
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org

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

This e-mail is confidential and may well also be legally privileged. If you have received it in error, you 
are on notice of its status.  Please notify us immediately by reply e-mail and then delete this message from 
your system.  Please do not copy it or use it for any purposes, or disclose its contents to any other person: 
 to do so could be a breach of confidence.  Thank you for your co-operation.  Please contact our
IT Helpdesk on +44 (0) 20 7936 4000 Ext.2000 or email ITHelp freshfields com if you need assistance.









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