• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Performance Anaylsis Tool

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JAMon is popular for this sort of thing. It is free and well supported.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic