pan-devel
[Top][All Lists]
Advanced

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

Re: [Pan-devel] Performance problems with GtkTreeView


From: Jacob Ilsø Christensen
Subject: Re: [Pan-devel] Performance problems with GtkTreeView
Date: 23 Sep 2002 17:54:34 +0200

Hi.

Yeah, I found out too that it is in the rendering the performance is
lost. The idea of building it like a tree sounds quite nice. It will
take some more work though, but also it will help enormously when
browsing the list of all groups.

Has any work been done on this, or shall I look at it?

/Jacob

On Mon, 2002-09-23 at 17:46, Charles Kerr wrote:
> On Sun, Sep 22, 2002 at 05:30:23PM +0200, Jacob Ilsø Christensen wrote:
> > Hi.
> > 
> > I started working on converting the grouplist to use GtkTreeView instead
> > of GtkCList. I am almost done but have discovered some serious
> > performance problems with the GtkTreeView compared to the GtkCList.
> > 
> > Loading around 70000 groups using the GtkCList takes about 1 second on
> > my machine but using the GtkTreeView takes around 40 seconds. Has anyone
> > observed similar behaviour using the GtkTreeView?
> > 
> > /Jacob
> 
> Yes.  I filed a bug report for this back in April[1], but it
> looks like as of 2.0.6 the list widget is still not fast enough
> to handle it.
> 
> I tried making a custom TreeModel with arrays instead of
> GSLists, so that lookup would be faster, but it didn't help.
> IIRC most of the hit was in treeview's rendering.
> 
> One thing we could do is make grouplist into a tree, with
> alt, comp, rec, sci, etc. as the root nodes.  IIRC GtkTreeView
> peforms alright in this kind of a setting; it's only in pathological
> cases, like 70,000 items all in a row, where it performs badly.
> 
> cheers,
> Charles
> 
> [1] http://bugzilla.gnome.org/show_bug.cgi?id=71968.
>     I see it's been marked as NEEDINFO, so I should probably
>     go rerun the benchmarks with gtk 2.0.6 and attach them.
> 
> 
> _______________________________________________
> Pan-devel mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/pan-devel
> 






reply via email to

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