1.2.4 Performance Problems Revisited..

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

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

1.2.4 Performance Problems Revisited..

Postby Hansz » Wed Apr 28, 2004 12:31 am

Since I'm suffering from the same problem ( degrading Performance), i've gone over the forum, and I've seen some issues raised on this subject before. However, none of the 'solutions' presented in them seem to have helped or improved my situation, and i'm not in a situation that I my work is effectively slowed down and almost is coming to a grinding hold due to slooooooooooow response times in the form designer.

First of all, let me say that I'm prettye sure that the performance degradation is taking place as more and more controls are dropped into a container ( in my case a "Composite", containing approx 87 controls at the moment, but in total it will be approx 110 ). Whenever I'm doing something on the form, I notice the CPU hitting 100% for a while.

I'm using WebSphere Application Studio 5.1.1 on the following computer:

My Computer Specs:
- Processor : AMD 1.1 GHz Athlon
- Memory : 1.2Gb internal memory (WSAD seems to like it)
- OS : Win2K Pro SP4

WSAD gets started with this commandline at the moment: "D:\IBM\WebSphere Studio\Application Developer\v5.1\wsappdev.exe" -vmargs -Xms128M -Xmx256M

I've had a look at the log file(s) .. there's no huge amount of exceptions or anything, in fact nothing weird at all .

What can I do... ??? Is there any files I can send to someone ? Is there anybody with some suggestions maybe ???

Thanx in advance for your time and efforts ...

Hansz
Even the smallest person can change the course of the future - Galadriel
Hansz
 
Posts: 18
Joined: Thu Jan 15, 2004 12:45 am
Location: Hoofddorp, Netherlands

Re: 1.2.4 Performance Problems Revisited..

Postby Eric Clayberg » Wed Apr 28, 2004 9:18 am

Hansz wrote:What can I do... ??? Is there any files I can send to someone ? Is there anybody with some suggestions maybe ???

The first thing I would suggest is giving v2.0.0 a try. It includes a lot of bug fixes to v1.2.4.

If the problem still exists, please send us (support@swt-designer.com) a sample windiw that illustrates the problem so that we can analyze it on our end.
Last edited by Eric Clayberg on Thu Apr 29, 2004 3:43 am, edited 1 time in total.
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

Postby Hansz » Wed Apr 28, 2004 10:53 pm

O.k..

I've tried v2.0.0 ... alas .. no performance increase ...

I've send my file in question to your support department,

For referenceive also send another form with the same controls spread over multiple containers that is handled ok by SWT-Designer...

Thanx for your time and efforts so far.
Even the smallest person can change the course of the future - Galadriel
Hansz
 
Posts: 18
Joined: Thu Jan 15, 2004 12:45 am
Location: Hoofddorp, Netherlands

Postby Eric Clayberg » Fri Apr 30, 2004 1:29 am

Hansz wrote:I've send my file in question to your support department

Please resend to support@swt-designer.com.
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

Postby Hansz » Sun May 02, 2004 11:48 pm

Resend mail is on it's way :D
Even the smallest person can change the course of the future - Galadriel
Hansz
 
Posts: 18
Joined: Thu Jan 15, 2004 12:45 am
Location: Hoofddorp, Netherlands

Postby Eric Clayberg » Mon May 03, 2004 11:02 pm

Hansz wrote:Resend mail is on it's way :D

I never received anything. :-(
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

Postby Hansz » Tue May 04, 2004 10:07 pm

Still no banana ???

I (re)checked my mail to you...

It was send to support@swt-designer.com and It didn't bounce

I'll re-re-send it .. just to make sure

Hansz.
Even the smallest person can change the course of the future - Galadriel
Hansz
 
Posts: 18
Joined: Thu Jan 15, 2004 12:45 am
Location: Hoofddorp, Netherlands

Postby Eric Clayberg » Tue May 04, 2004 10:59 pm

Hansz wrote:I'll re-re-send it .. just to make sure

I got it this time. Thanks!
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

Postby Eric Clayberg » Wed May 05, 2004 12:54 pm

Hansz wrote:I've tried v2.0.0 ... alas .. no performance increase ...
I've send my file in question to your support department,
For referenceive also send another form with the same controls spread over multiple containers that is handled ok by SWT-Designer...


It turns out that this has nothing to do with Designer. It is caused by a known Eclipse/SWT problem in Eclipse 2.x (which has been fixed in Eclipse 3.0). Basically, SWT can't handle large, complex form layouts very well under Eclipse 2.x. Even testing your window and resizing it takes a very, very long time under Eclipse 2.x while it is nearly instantaneous under Eclipse 3.0. Using a different layout manager (like GridLayout) or switching to Eclipse 3.0 will eliminate the problem. There really isn't anything we can do within Designer to fix the problem under Eclipse 2.x.
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

Postby Hansz » Thu May 06, 2004 4:15 am

Well .. first of all, let me say that i'm fairly new to the Java/SWT/Eclipse world (coming from Delphi/Windows background) and although it's probably a known problem, it wasn't known to me until now...

The Solution you present is indeed working for us. We've installed Eclipse 3.0 to work in designing SWT forms, and it's working smoothly as ever before. unfortunately our main platform for development is WSAD 5.1.1 at the moment so we will have to wait for IBM to update WSAD to eclipse 3.0.

For the time being we'll use "plain vanilla" Eclipse to do the form authoring.

Thanx again for your time and efforts. You guys have been most helpfull.
Even the smallest person can change the course of the future - Galadriel
Hansz
 
Posts: 18
Joined: Thu Jan 15, 2004 12:45 am
Location: Hoofddorp, Netherlands


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest