jQuery in Action, 3rd edition
The moose likes Performance and the fly likes What is the best profiler in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "What is the best profiler in java" Watch "What is the best profiler in java" New topic

What is the best profiler in java

Ashraf Abu-Aisheh
Ranch Hand

Joined: Apr 17, 2009
Posts: 88
Hi Ranchers,

I am working on a big application "Banking System" and I am suffering from the performance, memory, heap ,... etc problems
Therefor, am searching for the best java Profiler to know where are the problems in my code.

your suggestions would be high appreciated.

SCJP 5 - 79%
SCWCD 5 - 100%
Dipanjan Kailthya

Joined: Jul 04, 2009
Posts: 20
As with a lot of other things. I don't think there's a 'best' java profiler out there. You need to look at what your needs are, read the specs of a given profiler and balance that with your budget.

Within commercial profilers, a lot of people use JProbe, JProfiler or OptimizeIt. If you google them, you get more information.

For open source profilers, here's a handy list

steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 862
I agree with the previous poster. These are some considerations. Is it a web app? A desktop app? Does the system involve a database? Also, being as it is an application for a 'big bank' does that mean you have money to spend? Is ease of use more important than features and power?

We could help more if you gave a little more info about your application type and some of your performance problems.

http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
Khp Virajith
Ranch Hand

Joined: May 01, 2006
Posts: 85
NetBeans IDE has an integrated profiler which was evolved with the NetBeans IDE itself and it is an awesome profiler. And JProfiler is another profiler with lots of handy features nad it has an extreme support for remote server profiling, etc. but it is a commercial product.

syed Imran

Joined: Mar 20, 2007
Posts: 5
You can use firebug profiler or Yslow in your browser to know which part is reducing your speed and etc.............
Mithun Kulkarni

Joined: Jul 06, 2009
Posts: 9
I have used Jprofiler and its really worth buying. It has different views (memory, CPU, Threads) which will help you identify performance problems.
You can also configure the tool to profile from memory perspective or from the performance perspective.
If you are looking for open source profilers, now many IDEs come with their own profilers so you can give it a try to profile using the one which comes with your
IDE or select one from the link posted earlier.

Niranjan Bhat

Joined: Nov 15, 2009
Posts: 5
Hey, you should check the yourkit profiler, it's very handy when you are running your software in a lab and want to connect the profiling tool and check the status of your java/j2ee application from a remote IP. Also i have nice and user friendly UI for check the app status in terms of memory, threads, etc.
However, I can't compare the tools here because I haven't used the other profiling tools.
You can get an evaluation version of yourkit and checkout.
Ove Lindström
Ranch Hand

Joined: Mar 10, 2008
Posts: 326

I second YourKit. If your big banking application is a JEE-based app, my experience is that YourKit is slightly better.

Edit: Also, if you application behaves badly under pressure, try using LoadUI.
Rojan punn

Joined: Nov 29, 2011
Posts: 17

JDK has a built in profiler JConsole.It is a very good tool .I have used it in my project which has a big performance problems.Takes some time to get used to it.
Also Eclipse has some plugin for TPTP and so on.I dodnt use this much.If you need more info abot JConsole(configuring ) please let me know
Tim Moores

Joined: Sep 21, 2011
Posts: 2413
VisualVM is much more powerful than JConsole, and comes with a number of plugins that take it even farther. It has been part of the JDK for a couple of years now.
Winston Gutkowski

Joined: Mar 17, 2011
Posts: 8942

Ashraf Abu-Aisheh wrote:I am working on a big application "Banking System" and I am suffering from the performance, memory, heap ,... etc problems
Therefor, am searching for the best java Profiler to know where are the problems in my code.

The only thing I'd add to the good advice you've been given is that you shouldn't expect a profiler to solve your problems. If (as it sounds) you've got lots of such problems, then it may indicate more fundamental issues with the code than just what you see; and trying to solve them piecemeal (which is what a profiler will help you do) may not in fact solve anything at all.

A profiler is a diagnostic tool: it will help you find symptoms; it won't help find the underlying cause (or causes).


Bats fly at night, 'cause they aren't we. And if we tried, we'd hit a tree -- Ogden Nash (or should've been).
Articles by Winston can be found here
I agree. Here's the link: http://aspose.com/file-tools
subject: What is the best profiler in java
It's not a secret anymore!