views:

33

answers:

2

Is there a free callgrind equivalent for java? basically, i just need anything that gives me cycle counts or time spent for each method and function of my java code.

i suppose i should mention i'm using mac, which means the eclipse thing below doesn't work for me, i believe.

+1  A: 

Is this what you mean?

http://eclipsecolorer.sourceforge.net/index_profiler.html

Marc van Kempen
i'm on a mac so i don't think this will work for me
hatorade
+2  A: 

Well you could start with Sun's Java VisualVM application profiling.

Stephen C
where do you DL that?
hatorade
It's part of the Java6 JDK distribution
Donal Fellows