File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Performance and the fly likes I just don't get this JProfiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "I just don Watch "I just don New topic

I just don't get this JProfiler

ashwin bhawsar
Ranch Hand

Joined: Mar 16, 2011
Posts: 62

I have been trying to figure out how to use JProfiler.The manual is too big, too confusing and I don't know where to start. I just want to do a simple thing, i have written a very basic java program and i want to check how efficient it is.

I just want to know the following things in my program :

  • how much heap/stack memory each variable is taking
  • How much time its taking to execute a loop.
  • How much time it takes to execute a method.
  • How much heap memory my array is taking.
  • How much time it is taking to read/write to a file is taking.
  • Has the explicit casting that i use in my program making any difference or not .

  • I could not find any tutorials for Jprofiler.
    Someone please guide me in the right direction.
    steve souza
    Ranch Hand

    Joined: Jun 26, 2002
    Posts: 862
    I haven't used jprofiler, but visualvm comes with the jdk and does a lot of what you are asking. It is relatively straightforward too. - a fast, free open source performance tuning api.
    JavaRanch Performance FAQ
    steve souza
    Ranch Hand

    Joined: Jun 26, 2002
    Posts: 862
    You could also try appdynamics lite which is free:
    I agree. Here's the link:
    subject: I just don't get this JProfiler
    It's not a secret anymore!