Re: in need of swing performance advice
- From: Dave Brown <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 09:41:08 +0100
Hi,
I used JProfiler and tracked it down to the .validate() line.
Rgds,
Dave
Thomas Weidenfeller wrote:
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
.
- Follow-Ups:
- Re: in need of swing performance advice
- From: Thomas Weidenfeller
- Re: in need of swing performance advice
- References:
- in need of swing performance advice
- From: Dave Brown
- Re: in need of swing performance advice
- From: Thomas Weidenfeller
- in need of swing performance advice
- Prev by Date: Re: class included in JApplet ?
- Next by Date: Re: in need of swing performance advice
- Previous by thread: Re: in need of swing performance advice
- Next by thread: Re: in need of swing performance advice
- Index(es):
Relevant Pages
|