[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java code profiler and optimizer recommendations.



Ed, 

You could check out hprof, which is built into sun JVMs.  To
find command line parameters related to hprof, run 'java -X'. 
Here is the relevant line:
    -Xrunhprof[:help]|[:<option>=<value>, ...]
     perform JVMPI heap, cpu, or monitor profiling

hprof will output a large text file, and there are some open
source tools you can use to analyze the output file.  This
provide some useful performance profiling info, and it's free.

On the commercial side, I haven't worked with recent versions of
JProbe, it used to be difficult to use IMHO.  I much prefer
OptimizeIt, but havn't used it since borland bought them out.

good luck.

Paul

--- Ed Elud <edelud@yahoo.com> wrote:
> Hi all.
> 
> I'm looking for Java code profiler and optimizer
> recommendations - particularly anything of value in
> the open source realm.  Additionally, perhaps a
> pluggin for Eclipse for this same purpose.
> 
> I typically use the debugger in NetBeans to step
> through each line of code and all other
> classes/methods being called in the stack, however,
> would like to do better.
> 
> Thank you in advance.
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com