Re: in need of swing performance advice



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/
.



Relevant Pages

  • Re: Slow startup of Deployed Application
    ... You could try writting a simple single form applicaton and add the ... this way the delay will only happen when the OS starts. ... I don't think the issue is the .NET framework but probably the JIT ... the same time to load for the client as does the production application we ...
    (microsoft.public.dotnet.languages.vb)
  • Re: 30 second delay once i get to desktop in XP-why?
    ... Not that I think the post-desktop appearance delay is a real failure ... I suspect it's trying to load ... system tray shorten the delay. ...
    (microsoft.public.windowsxp.general)
  • Re: Slow startup of Deployed Application
    ... the same time to load for the client as does the production application we ... it is the first time they experience the delay ... ... It opens in 1 maybe 1.5 seconds. ... Yes it is slower than VB6, but not 10 seconds slower or even 4 seconds ...
    (microsoft.public.dotnet.languages.vb)
  • Re: What is involved with upgrading 150A service to 200A?
    ... When the basement is complete I will have a three story home with approx 3000 sq ... to the people who say that I will never have that kind of demand at ... consideration the fact that you aren't pulling the entire load all the time. ... What brand 150A panel do you have? ...
    (alt.home.repair)
  • Re: Determine which app handles a URL
    ... "Dave Brown" wrote in message ... >> helper app when loading a url? ... >> least detect when it's a non-HTML page and cancel the load ?? ... a file download box:( ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)