简体   繁体   中英

java webapplication profiling with JProfiler (7.0.1) & Execution time review

any one can help me setup a java profiling with the 设置Java 配置文件
I have searching on net but i have found only for the application that contain main calss in it.
give me any link or doc that give step-by-step idea for setting profiling with java web-application.


Thanks all for your reply..
i have successfully integrate JProfiler with my application..
But i have not find any execution time description for the particular method can anyone know how to see the execution time for the request or any method..

The easiest way to configure a standalone server for profiling (whether running locally or remotely) is by invoking

Session->Integration Wizards->New Server Integration

from JProfiler's main menu. In the integration wizard you can select your server and then you follow the steps in the integration wizard.

在此处输入图片说明

Get a look at this, you'll find all the explanations about profiling a webapp:

http://resources.ej-technologies.com/jprofiler/help/doc/helptopics/profiling/remote.html

You should create a new question for your "edited" part.
However, I'll try to answer it here:

If you really need the execution times, you must profile in "instrumentation mode" (which will slow down profiling significantly) But in the most cases, a percentage value (sampling mode, CPU Call Tree/Hotspots) is enough for finding the bottleneck.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM