File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes I just don't get this JProfiler Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Performance
Reply Bookmark "I just don Watch "I just don New topic
Author

I just don't get this JProfiler

ashwin bhawsar
Ranch Hand

Joined: Mar 16, 2011
Posts: 45

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: 851
    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.


    http://www.jamonapi.com/ - a fast, free open source performance tuning api.
    JavaRanch Performance FAQ
    steve souza
    Ranch Hand

    Joined: Jun 26, 2002
    Posts: 851
    You could also try appdynamics lite which is free: http://litedocs.appdynamics.com/display/ADLite/Get+started+With+AppDynamics+Lite
     
     
    subject: I just don't get this JProfiler
     
    Threads others viewed
    High memory consumption, but empty heap
    How to take memory heap dump snapshot in java
    java heap size error
    JProfiler Help Needed
    Using profiling tool while load testing the appication
    developer file tools