Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Performance Problem
Performance Problem [message #214030] Wed, 12 April 2006 14:24 Go to next message
Eclipse UserFriend
Originally posted by: Albrecht-web.arcor.de

Hi,

I have a medium performance problem. My Gef-Editor loads a File with about
3000 nodes and again about 3000 connections between these nodes. The
Editor needs a long time to render or display the diagram. When zooming
the diagram it takes also a long time to display the new diagram.

There is also a Gef TreeViewer coupled to the Editor. When clicking a node
somewhere down the Editor synchronise an checks the same node. But the
Editor-Pane scrolls ans scrolls like a slideshow.

I don't know how to improve the performance. Any hints? I' pleased to all
replys.

Thanks,
Albrecht
Re: Performance Problem [message #214089 is a reply to message #214030] Wed, 12 April 2006 18:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Have you enabled antialiasing?

"Albrecht" <Albrecht-web@arcor.de> wrote in message
news:498c41c4f3f015d538482115e43e7b02$1@www.eclipse.org...
> Hi,
>
> I have a medium performance problem. My Gef-Editor loads a File with about
> 3000 nodes and again about 3000 connections between these nodes. The
> Editor needs a long time to render or display the diagram. When zooming
> the diagram it takes also a long time to display the new diagram.
>
> There is also a Gef TreeViewer coupled to the Editor. When clicking a node
> somewhere down the Editor synchronise an checks the same node. But the
> Editor-Pane scrolls ans scrolls like a slideshow.
>
> I don't know how to improve the performance. Any hints? I' pleased to all
> replys.
>
> Thanks,
> Albrecht
>
Re: Performance Problem [message #214146 is a reply to message #214089] Thu, 13 April 2006 05:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Albrecht-web.arcor.de

No, because several Win2000 Workstation do not support this. A 4000 Nodes
Diagram takes 2-3 Minutes until displayed.

Randy Hudson wrote:

> Have you enabled antialiasing?

> "Albrecht" <Albrecht-web@arcor.de> wrote in message
> news:498c41c4f3f015d538482115e43e7b02$1@www.eclipse.org...
>> Hi,
>>
>> I have a medium performance problem. My Gef-Editor loads a File with about
>> 3000 nodes and again about 3000 connections between these nodes. The
>> Editor needs a long time to render or display the diagram. When zooming
>> the diagram it takes also a long time to display the new diagram.
>>
>> There is also a Gef TreeViewer coupled to the Editor. When clicking a node
>> somewhere down the Editor synchronise an checks the same node. But the
>> Editor-Pane scrolls ans scrolls like a slideshow.
>>
>> I don't know how to improve the performance. Any hints? I' pleased to all
>> replys.
>>
>> Thanks,
>> Albrecht
Re: Performance Problem [message #214170 is a reply to message #214030] Thu, 13 April 2006 18:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Perhaps you are using the shortestpathconnectionrouter? When zooming, the
connections think that the anchor has moved, and every connection in your
diagram is re-routed. The logic example is optimized to ignore this type of
coordinate event.


"Albrecht" <Albrecht-web@arcor.de> wrote in message
news:498c41c4f3f015d538482115e43e7b02$1@www.eclipse.org...
> Hi,
>
> I have a medium performance problem. My Gef-Editor loads a File with about
> 3000 nodes and again about 3000 connections between these nodes. The
> Editor needs a long time to render or display the diagram. When zooming
> the diagram it takes also a long time to display the new diagram.
>
> There is also a Gef TreeViewer coupled to the Editor. When clicking a node
> somewhere down the Editor synchronise an checks the same node. But the
> Editor-Pane scrolls ans scrolls like a slideshow.
>
> I don't know how to improve the performance. Any hints? I' pleased to all
> replys.
>
> Thanks,
> Albrecht
>
Re: Performance Problem [message #214357 is a reply to message #214170] Mon, 17 April 2006 06:41 Go to previous message
Eclipse UserFriend
Originally posted by: Albrecht-web.arcor.de

You are right... I'm using the Shortpathrouter. As soon as possible I will
inspect the Logic Examble and report my outcomes. Thanks so far.

Randy Hudson wrote:

> Perhaps you are using the shortestpathconnectionrouter? When zooming, the
> connections think that the anchor has moved, and every connection in your
> diagram is re-routed. The logic example is optimized to ignore this type of
> coordinate event.


> "Albrecht" <Albrecht-web@arcor.de> wrote in message
> news:498c41c4f3f015d538482115e43e7b02$1@www.eclipse.org...
>> Hi,
>>
>> I have a medium performance problem. My Gef-Editor loads a File with about
>> 3000 nodes and again about 3000 connections between these nodes. The
>> Editor needs a long time to render or display the diagram. When zooming
>> the diagram it takes also a long time to display the new diagram.
>>
>> There is also a Gef TreeViewer coupled to the Editor. When clicking a node
>> somewhere down the Editor synchronise an checks the same node. But the
>> Editor-Pane scrolls ans scrolls like a slideshow.
>>
>> I don't know how to improve the performance. Any hints? I' pleased to all
>> replys.
>>
>> Thanks,
>> Albrecht
>>
Previous Topic:How to create a second IEditorInput
Next Topic:menu in draw2d ??
Goto Forum:
  


Current Time: Wed Sep 18 20:02:40 GMT 2024

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

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

Back to the top