Reasons for slow applikation startup?

Tom Tromey tromey@redhat.com
Mon Nov 1 16:51:00 GMT 2004


>>>>> "Clemens" == Clemens Eisserer <linuxhippy@web.de> writes:

Clemens> I profiled the applikation with gprof, however I do not really
Clemens> understand the output.

Clemens>     org::eclipse::swt::internal::image::LZWCodec::decode()
Clemens>  12.50      0.04     0.01       13     0.38     0.38

Clemens> Any ideas how startup could be improved?

Micro-optimizing the LZW decoder may help a little.  Or, better,
arrange for it to be called less often.

Clemens> Can gprof tell me by which
Clemens> methods LZWCodec was called?

Yes, gprof generates a flat profile and also a call-graph profile.
You want to look at the latter.  This is documented in the gprof
manual somewhere...

Tom



More information about the Java mailing list