Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / June 2004

Tip: Looking for answers? Try searching our database.

Need a recommendation for a Java profiler

Thread view: 
Jonathan Taub - 27 May 2004 08:11 GMT
I'm using Sun's SDK 1.4.2_02 on a Redhat linux 9.
The application server being used is JBoss 3.21.
Recently, I've been assigned a task to improve performance of our
application
(web + EJB). I'll use a Java profiler for locating bottlenecks.

I've done a little survey, and came up with the following profilers:
- JProfiler
- JProbe
- OptimizeIt

I'd like to hear you experiences with these products and comparisons
if you've used more than one (plus pricing).

Two other things:
- Our bottlenecks are probably around database access.
- Integration with Eclipse is nice but not mandatory.
Robert Klemme - 27 May 2004 12:16 GMT
> I'm using Sun's SDK 1.4.2_02 on a Redhat linux 9.
> The application server being used is JBoss 3.21.
[quoted text clipped - 6 lines]
> - JProbe
> - OptimizeIt

Of these I prefer Optimizeit because it runs smooth and has a lot nice
memory profiling features.  JProbe may have improved in the meantime, but
the version I have used two years ago wasn't so nice.  Optimzeit is not
really what I'd call "cheap" but it's worth the money, especially if you
want to do memory profiling (number of created instances per method and
stuff like that).

For performance measurements I use the built in profiler:
java -Xrunhprof:help will give you help on this.  There are free tools to
view the output, namely:

HP's JMeter  http://www.hp.com/products1/unix/java/hpjmeter/
PerfAnal
http://java.sun.com/developer/technicalArticles/Programming/perfanal/

PerfAnal is better at helping you finding the execution branch that is
responsible for most of a method's invocations, while JMeter can show
different metrics.  Above that JMeter can compare statistics of two runs
to identify where things have changed.

> I'd like to hear you experiences with these products and comparisons
> if you've used more than one (plus pricing).
>
> Two other things:
> - Our bottlenecks are probably around database access.

Then you'll need a database specific profiling tool.  DB vendors usually
ship one with the db.

> - Integration with Eclipse is nice but not mandatory.

There is a profiler plugin:
http://eclipsecolorer.sourceforge.net/index_profiler.html

IMHO this does not run as smooth as OptimizeIt and thus I still prefer the
standalone method with -Xrunhprof.

Regards

   robert
Scott Ellsworth - 27 May 2004 18:34 GMT
> I've done a little survey, and came up with the following profilers:
> - JProfiler

Used it, bought a license.  What it does, it does very well.  Further,
there is a trial, so you can see if its strengths match your problem set.

> - JProbe

Have not used, as it does not run on my Mac.

> - OptimizeIt

Their support has gone way downhill since Borland bought them.  A nice
profiler, but not one I would invest in unless I had to.

Of course, if your bottlenecks are database access, a profiler will not
help a lot beyond identifying that fact.  That said, it is worth using
it just to confirm.  I had one serious problem that turned out to be
hitting the same table over and over again, several hundred thousand
times during a run, when a slightly better query and a simple cache
dropped us to one hit every five minutes.

Scott
Vladimir Kondratyev - 01 Jun 2004 20:06 GMT
Hello  Jonathan,

take a look at YourKit Java Profiler (http://www.yourkit.com). This is
outstanding CPU and memory profiler. It's specially designed to
profile application server memory without any performance overhead.

Best regards,
Vladimir Kondratyev
Bob Kranson - 18 Jun 2004 15:02 GMT
http://www.compuware.com/products/devpartner/java.htm

> I'm using Sun's SDK 1.4.2_02 on a Redhat linux 9.
> The application server being used is JBoss 3.21.
[quoted text clipped - 13 lines]
> - Our bottlenecks are probably around database access.
> - Integration with Eclipse is nice but not mandatory.
Stephen Kellett - 18 Jun 2004 23:32 GMT
>http://www.compuware.com/products/devpartner/java.htm

http://www.softwareverify.com

Its in beta. Its easy to get on the beta program, just be honest about
who you are.

Stephen
Signature

Stephen Kellett
Object Media Limited    http://www.objmedia.demon.co.uk
RSI Information:        http://www.objmedia.demon.co.uk/rsi.html



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.