Meaningless Drivel is fun!
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 Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Profiling during stress testing of application" Watch "Profiling during stress testing of application" New topic

Profiling during stress testing of application

sandeep mk

Joined: Mar 31, 2011
Posts: 3

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.

Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

Try using App Dynamics, they claim that the overhead is very low (2-3 %)
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:
subject: Profiling during stress testing of application
It's not a secret anymore!