Sluggish Performance When Form Contains Many Components

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Sluggish Performance When Form Contains Many Components

Postby reconway » Thu May 26, 2005 8:36 am

I'm getting VERY sluggish performance from the IDE when I have large numbers of components on the form (ie, 50-100 labels & fields). Every change to a component's location or property results in a pause of 3-5 seconds before it takes effect and the editor is ready for another operation.

I'm using eclipse 3.1M7 with Swing Designer build from 25 May 2005.
reconway
 
Posts: 7
Joined: Wed Mar 23, 2005 9:19 am
Location: Miami, FL

CPU Utilization Seems To Go Through The Roof

Postby reconway » Thu May 26, 2005 8:45 am

It looks like the CPU goes crazy after every action - causing the slow response. I have plenty of RAM and the eclipse is started with -vmargs -Xmn250M -Xms500M -Xmx500M. I'm going to roll back to the previous snapshot of Designer and see if I still have this problem.
reconway
 
Posts: 7
Joined: Wed Mar 23, 2005 9:19 am
Location: Miami, FL

Re: Sluggish Performance When Form Contains Many Components

Postby Eric Clayberg » Thu May 26, 2005 9:11 am

reconway wrote:I'm getting VERY sluggish performance from the IDE when I have large numbers of components on the form (ie, 50-100 labels & fields). Every change to a component's location or property results in a pause of 3-5 seconds before it takes effect and the editor is ready for another operation. I'm using eclipse 3.1M7 with Swing Designer build from 25 May 2005.

Any exceptions in your Eclipse .log file?

What layout manager are you using?

Can you send us a test case so that we can reproduce the behavior on our end?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Sluggish Performance When Form Contains Many Components

Postby reconway » Thu May 26, 2005 11:39 am

I'm using JGoodies FormLayout - but I have the same performance problems with other forms using <null> layout. I will forward an example form with required libraries for your review.

Thanks!
reconway
 
Posts: 7
Joined: Wed Mar 23, 2005 9:19 am
Location: Miami, FL

Sluggish Performance When Form Contains Many Components

Postby reconway » Fri May 27, 2005 7:22 am

No exceptions in the log file. I've also noticed that search & replace is sluggish as well. If I switch to the standard eclipse Java editor it is very fast, so I'm guessing that the slowdown has something to do with the round-tripping between the code and the gui.
reconway
 
Posts: 7
Joined: Wed Mar 23, 2005 9:19 am
Location: Miami, FL

Re: Sluggish Performance When Form Contains Many Components

Postby Eric Clayberg » Sat May 28, 2005 7:41 pm

This problem has been confirmed and fixed in the latest v4.0.1 build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Sluggish Performance When Form Contains Many Components

Postby reconway » Tue May 31, 2005 4:20 am

That fixed it. Thanks again for the excellent/fast support!
reconway
 
Posts: 7
Joined: Wed Mar 23, 2005 9:19 am
Location: Miami, FL


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest