Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » filter performance in tree viewers
filter performance in tree viewers [message #440504] Tue, 03 August 2004 15:35 Go to next message
Bob is currently offline BobFriend
Messages: 44
Registered: July 2009
Member
Hi,
I have created a tree viewer that displays tree model that is very large
and flat. The tree model is only several layers deep (shallow) but very
wide. Some nodes have over 1000-5000 children. When I add one or more
filters to the tree viewer, the performance is extremely slow. Some times
to the point of where I have to kill the eclipse session. It seems that
the more children that are added to a node in the tree, the longer it
takes to expand and/or run filters.

I have tried adding filters to filter out some of the tree nodes, but the
filters are taking a terrible performance hit. Especially if there are one
or more added in conjunction.

Any suggestions/inputs on the problem? Has anyone found ways to get around
this?

Thanks, Bob
Re: filter performance in tree viewers [message #440687 is a reply to message #440504] Fri, 06 August 2004 09:10 Go to previous messageGo to next message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
Bob <bob.donovan@ugs.com> wrote:

1. Optimize your filters.
2. Try to split on more layers, or example split long list into [0..100],
[100..200], etc.

> Hi,
> I have created a tree viewer that displays tree model that is very large
> and flat. The tree model is only several layers deep (shallow) but very
> wide. Some nodes have over 1000-5000 children. When I add one or more
> filters to the tree viewer, the performance is extremely slow. Some times
> to the point of where I have to kill the eclipse session. It seems that
> the more children that are added to a node in the tree, the longer it
> takes to expand and/or run filters.
>
> I have tried adding filters to filter out some of the tree nodes, but the
> filters are taking a terrible performance hit. Especially if there are one
> or more added in conjunction.

> Any suggestions/inputs on the problem? Has anyone found ways to get around
> this?

> Thanks, Bob


--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)


Konstantin Scheglov,
Google, Inc.
Re: filter performance in tree viewers [message #440819 is a reply to message #440687] Fri, 06 August 2004 22:27 Go to previous message
Thomas  Mäder is currently offline Thomas MäderFriend
Messages: 46
Registered: July 2009
Member
It is a well known problem that the tree viewe is slow when you have a
large number of children per node. You'll have to work around it.

Thomas

Konstantin Scheglov wrote:
> Bob <bob.donovan@ugs.com> wrote:
>
> 1. Optimize your filters.
> 2. Try to split on more layers, or example split long list into [0..100],
> [100..200], etc.
>
>
>>Hi,
>>I have created a tree viewer that displays tree model that is very large
>>and flat. The tree model is only several layers deep (shallow) but very
>>wide. Some nodes have over 1000-5000 children. When I add one or more
>>filters to the tree viewer, the performance is extremely slow. Some times
>>to the point of where I have to kill the eclipse session. It seems that
>>the more children that are added to a node in the tree, the longer it
>>takes to expand and/or run filters.
>>
>>I have tried adding filters to filter out some of the tree nodes, but the
>>filters are taking a terrible performance hit. Especially if there are one
>>or more added in conjunction.
>
>
>>Any suggestions/inputs on the problem? Has anyone found ways to get around
>>this?
>
>
>>Thanks, Bob
>
>
>


--
Eclipse Committer looking for work! Read my resume at

http://homepage.hispeed.ch/t.s.maeder/Resume.html
Previous Topic:Tab order in JFace Dialog
Next Topic:[ANNOUNCE]Visual Editor Milestone 2 Available
Goto Forum:
  


Current Time: Fri Apr 26 07:53:28 GMT 2024

Powered by FUDForum. Page generated in 0.02902 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top