Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance Anaylsis Tool

 
Saurabh Agrawal
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
In my project there are few performance bottle necks due to crappy code written by some ex-developers.

So I am hereby looking forward for some performance analysis tool which can integrated with eclipse and is available free as well.

Majorly i want to know follow things:
1) Which part of taking more time to execute ?
2) If possible some suggestive measures to work on the same.
3) Performance statitcs for each executable line of code or method in time taken ,etc.

Any help in this regard would be appreciated.I had a look at JProfiler but its not free.

Please let me know if someone has used it.
Saurabh
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAMon is popular for this sort of thing. It is free and well supported.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try http://www.eclipse.org/tptp/index.html
 
Saurabh Agrawal
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ilja Preuss:
Try http://www.eclipse.org/tptp/index.html


Hey Ilja,
I have downloaded and installed TPTP in my eclipse.But i dont find much of help from it.

I cant see the profiling running.I get the profiling option but it says :

"IWAT0284E The agent controller is not available on localhost" .

Do i need to install the agent controller seperately or what ? I simply installed TPTP in my eclipse.

If you have any idea of how i can make this work, it would be of great help.

Saurabh
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a link to many java performance tuning resources including tools. It is a bit overwhelming as there are so many choices.

http://www.javaperformancetuning.com/resources.shtml

Are you tuning a web app? If so, I suggest you use the jamon servlet filter. You can look at statistics of your app without chaning any application code, and installing and viewing these stats only takes about 5 minutes. (Note: In fullness of disclosure I wrote JAMon).

Here are some directions on how to get the filter installed: http://jamonapi.sourceforge.net/#ServletFilter
 
Akshay Kiran
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
look out for the intel VTune, I just had a workshop on this by the intel people, and it sure is a greeaaat tool, you dont need to integrate it with your IDE, it just works with your java code, shows you which portions of your code takes how much time, gives you the statistics using sampling methods, generates call-graphs, and allows you to dive right into the code with a single click and offers heaps of ways to resolve the problem., the thing is ofcourse, its a 30 day trial.
If its for ur business, your company could consider buying it, it is an amazing tool.
but hey, it works only on intel architectures.
have fun!
here's the link
http://www.intel.com/cd/software/products/asmo-na/eng/vtune/index.htm
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're working with Wily Introscope. It's very big $ and monitors more general health than code coverage and individual method bottlenecks so it may not be what you need. For example I'm watching real time right now: invocation count, concurrent calls and response time for servlets, JSPs, EJBs, SQL calls, plus memory, cpu and stalled methods for a cluster of six servers. Any kind of problem, say a runaway query that is table scanning millions of rows, shows up pretty quickly.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Saurabh Agrawal:
Do i need to install the agent controller seperately or what ?


In http://www.eclipse.org/tptp/home/downloads/installguide/InstallGuide41.html it sounds like that's how it works, yes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic