The new version of Eclipse now has a new option to start the application server: Start the server in profiling mode.
My personal use is tomcat6.0.
But when I first clicked on this button, I was prompted with an error message: Could not launch in profiling mode because no profilers are.
After searching for a request to install TPTP (Test and Performance Tools Platform), let me briefly list my installation steps as follows:
1, download, the latest version of TPTP is 4.6.0, download address: http://www.eclipse.org/tptp/home/downloads/?ver=4.6.0#tptp-plugins. Here are two parts: Runtime and SDK, if you just run profile analysis and do not extend any tptp, just download the runtime. Download can download the corresponding platform (such as: Windows) or download the entire platform of the compression package. I chose to download the runtime and the SDK two for all platforms,
2, installation. Install TPTP is very simple, the download of the compressed package into the Eclipse installation directory on the line
3, in addition to the above runtime/sdk, also need to install Agent Controller, the first step is of course still download, address: Http://www.eclipse.org/tptp/home/downloads/?ver=4.6.0#rac
Again, there are runtime and SDK parts, and the choice is the same as step 1.
4, the download of the two compression is also extracted into the Eclipse installation directory.
5, there are some other optional steps, such as: Native Logging/generic Log Adapter, and so on, I did not download the installation.
6, restart Eclipse, click Start Server in profiling mode, OK, successful, there is a dialog box, let you choose the type of monitoring, is to monitor the thread, or memory, select a, and then browse your site, you can get a list.
Overall, the process is not complex and very smooth.