Re: in need of swing performance advice
- From: Thomas Weidenfeller <nobody@xxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 09:22:57 +0200
Dave Brown wrote:
I've hit a point in my app when I first call .validate() when loading a new panel (it is fairly complex), it takes up to 5 seconds to load..
Attach a profiler to the application and measure where the 5 second delay happens. Once you know where it happens optimize that part.
Guesses about a performance bottleneck are almost always wrong. Even programmers with decades of experience usually get those guesses wrong. You have to measure it.
/Thomas -- The comp.lang.java.gui FAQ: ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/ .
- Follow-Ups:
- Re: in need of swing performance advice
- From: Dave Brown
- Re: in need of swing performance advice
- References:
- in need of swing performance advice
- From: Dave Brown
- in need of swing performance advice
- Prev by Date: Re: How to get Memory Status?
- Next by Date: Re: TextListener Event
- Previous by thread: in need of swing performance advice
- Next by thread: Re: in need of swing performance advice
- Index(es):
Relevant Pages
|