Re: speeding up GtkTreeView?
- From: Olaf Frączyk <olaf cbk poznan pl>
- To: Joop Stakenborg <pa3aba xs4all nl>
- Cc: GTK App Development list <gtk-app-devel-list gnome org>
- Subject: Re: speeding up GtkTreeView?
- Date: 13 Feb 2003 13:28:15 +0100
On Tue, 2003-02-11 at 19:38, Joop Stakenborg wrote:
I have done a comparison between the deprecated GtkCList widget and the
new GtkTreeView in gtk+-2.0. Loading 10.000 rows consisting of 3 columns
each takes 0.3 seconds with GtkClist and 4.8 second with GtkTreeView.
Hi,
I have the same problem.
Tried gtk 2.2 but no difference.
So, at now I use CList, and I know that in future I'll have to rewrite
it :((
BTW, compare processor load during scrolling CList with 5000 entries
between gtk-1.2 and gtk-2.x.
Below are results from my mail sent at 26 Jun 2002 to gtk-app-devel:
So from my point of view:
CList:
loads very fast on GTK 1.2 and 2.0.
Scrolling takes a few CPU with gtk 1.2 but a lot with gtk 2.0
TreeView:
Loads very slow on GTK 2.0.
Eats a lot of CPU when scrolling.
Below are results.
They are for the same application compiled with GTK 2.0.5.
------------------------------
With TreeView:
Scrolling up and down list.
CPU:
user: 60 %
system: 8 %
Processes:
X: 10 %
application: 50 %
When loading list:
CPU:
user: 97%
system: 2%
Processes:
X: 0.1 - 3 %
application: up to 99 %
------------------------------
With CList:
Scrolling up and down list:
CPU:
user: 60 %
system: 8 %
Processes:
X: 22 %
application: 43 %
When loading list:
Not enough time to check with top :)
Below 3% X and 3% application.
----------------------------------
Gtk 1.2 CList
Scrolling up and down list:
Processes:
X: 9 %
application: 4 %
When loading list:
Not enough time to check with top :)
Below 3% X and 3% application.
Regards,
Olaf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]