Posted by chaose
on November 12, 2008 at 7:29 AM PST
I am currently developing a software for 3D visualization (and segmentation) of DICOM data. The project grows bigger over time (hopefully big enough to publish it as open source soon), however I would like to look into one issue more closely before. At the current time, the program takes about 3-5 seconds to start, depending on the computer, before the intial window is opened. Any ideas how I can analyse what it does in that time?
There is a complex GUI to build (using nimbus look and feel takes almost 2 seconds longer btw), several static objects to initialize, some look up tables to fill ... how can I profile which method takes the longest time (before the window opens), so that I can see if it can be optimized? Any suggestions (unless its based on manual System.currentTimeMillis() calls) is welcome!
Thanks in advance;