This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

looking for performance tuning tool for java  RSS feed

 
CFTang
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all:
Can anyone tell me is there any kind of software
I can use in the Window NT environment for java performance tuning?
I am looking for some kind of program it can tell me how much time was spending on each method call when the application start to run.
Thank You
cftang@ptc.com
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, you can do that with a simple timer utility you can create yourself or probably find on the internet.
Alternatively, you can use a profiler. Search for my posts in this forum looking for the key word "profiler" for more info.
--Mark
 
Morten Moeller
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Optimizeit is a simple memory debugger and profiler that should work for you. Costs money though. www.optimizeit.com
 
allwin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u can use Jprobe too!. Download the trail version.
You got to start your application along with this tool. Have a look at thier doc's, would be really helpful.
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"CFTang" and "allwin",
PROPER NAMES ARE NOW REQUIRED
Please look carefully at official naming policy at javaranch & reregister yourself with proper first & last name, with a space between them. Please adhere to official naming policy & help maintain the decorum of the forum. The naming policy can be found at http://www.javaranch.com/name.jsp

--Mark
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search the javasoft website for PerfAnal.jar and/or jprof. testing like this is built into the Java debugger.
 
Thomas Smets
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would advise you two things :
  • JProbe, or any software like that are really a good thing to have at hand but they only allow you to measure... You are often better off knowing how to code properly straight away !
  • Software Performance Unit tests.

  • Have always on critical part of the code (potential critical part of the code), like the LDAP calls ... If the people have a software test suite they made them selves they will be aware of the problem.

    Look the following two
  • Jakarta : Jakarta is an apache project that groups a set of tools & AFAIK there is smthg like that there to measure performances
  • Junit extension : JUnit is a Unit test framework. There is an extension called JunitPerf, you should look on the main page


  • Good luck,
    [ April 19, 2002: Message edited by: Thomas SMETS ]
     
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!