wood burning stoves 2.0*
The moose likes Performance and the fly likes Profiling during stress testing of application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Profiling during stress testing of application" Watch "Profiling during stress testing of application" New topic
Author

Profiling during stress testing of application

sandeep mk
Greenhorn

Joined: Mar 31, 2011
Posts: 3
Hi,

I am testing my application using webload for stress testing. During the same i came across issue's which were not there during few runs like API taking too much time or queries taking too much. So now am planning to check these things using profiling tool like jprofiler. But jprofiler crashed when started recording CPU data with JDBC and method statistics. This happened multiple times. Am using weblogic app server. After so many tries i thought profiling tool cannot be attached during stress testing.

Any suggestion would help in great deal.


Thanks,
Sandeep
Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

Try using App Dynamics, they claim that the overhead is very low (2-3 %) http://www.appdynamics.com/products-free-download.php.
In case you are using the Jrockit JVM, you can also use a tool called Jrockit Mission Control, which also (as claimed by Oracle) has a low overhead.
Another option is that you could connect to JVM using Visual VM to see how threads are executing under stress, is there contention, which can be figured out by seeing if thread are waiting, (will show in red color) or is executing fine (all green). In case you are seeing lot of reds taking a thread dump might be useful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Profiling during stress testing of application