Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » How to profile a webapp startup?
How to profile a webapp startup? [message #126240] Thu, 13 March 2008 05:09 Go to next message
Mariano Eloy Fernández Osca is currently offline Mariano Eloy Fernández Osca
Messages: 16
Registered: July 2009
Junior Member
Hi,

Currently I'm working on a webapp that is taking too long to start on a
Tomcat 4.1 server. So I thought it was time to try TPTP to see some
execution time stats. However, profiling only start gathering info once
the webapp is started.
So, how can I (profile) see execution time stats related to this webapp
startup?

Thanks,

Mariano.
Re: How to profile a webapp startup? [message #126739 is a reply to message #126240] Tue, 18 March 2008 11:05 Go to previous message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Mariano,

To collect the trace information of startup time, try start the
application with profiling JVM options in Controlled mode, see detail
information here >
http://www.eclipse.org/tptp/platform/documents/tutorials/jvm ti/Java_Application_Profiling_using_TPTP-v2.0.html#3.3
In Controlled mode, server process is suspended from starting until its
profiling agent is attached by TPTP and it will continue to start. That
will allow collection of trace event from the beginning of server startup.
By default, TPTP-WTP profile on server feature supports only Enabled mode
profiling. In order to support your use case, you will have to insert the
JVM argument for Controlled mode profiling in the server launch
configuration manually.

Eugene
Previous Topic:ACServer: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No s
Next Topic:ARM data collection not working
Goto Forum:
  


Current Time: Sat Aug 23 01:32:54 EDT 2014

Powered by FUDForum. Page generated in 0.05663 seconds