Performance Opening Design Page

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

Performance Opening Design Page

Postby chrisR » Tue Nov 10, 2009 4:14 am

When opening the Design Page or press the refresh button
the progress information points out
Parsing...
Refreshing..
and
Loading palette (maybe slow immediately after product update)...

The last item always appears. Independent of an product update
and it always costs time.

Is it possible to improve the performance, espacially of palette loading?

Kind regards
chrisR
chrisR
 
Posts: 19
Joined: Thu Jul 23, 2009 5:07 am

Re: Performance Opening Design Page

Postby Eric Clayberg » Tue Nov 10, 2009 5:38 am

chrisR wrote:Is it possible to improve the performance, espacially of palette loading?

How long do you see that message? The standard palette is cached and rebuilt just once after an update. I would expect to see it take a couple of seconds the first time, but then be very quick if you were to close and re-open a class (well under a second). About the only thing that would affect that would be a large number of custom components and/or customizations added to the palette.

As to general optimization, send us complete examples of classes that are taking a long time to open, and we can profile them and look for additional optimization opportunities.
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

Re: Performance Opening Design Page

Postby chrisR » Wed Nov 11, 2009 10:09 am

O.K. here are some details.

I see the message for about 20 seconds, in does not depend if it's the first or the second time I open the design page of my class.
We use about 40 custom components and/or customizations added to the palette.
We'll try to check this.

Thanks chrisR
chrisR
 
Posts: 19
Joined: Thu Jul 23, 2009 5:07 am

Re: Performance Opening Design Page

Postby Eric Clayberg » Thu Nov 12, 2009 1:15 pm

Give the latest build a try. We have added some optimizations that should help with populating the palette (especially when there are lots of customizations).
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


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest