What are the good processor end profiles that exist for Java?
A quick list of things I'm looking for:
- Offline profiling - no user interaction or graphical interface is required during program execution. Dumping profile data to a file, and then requiring viewing later using the graphical interface, I just don't want him to nurse him when the job is done
- End recording - The profiler should be able to start recording immediately after entering the main call for the J2SE application. It should stop recording just before the JVM exits.
- Call generation generation. After profiling, it would be nice to turn the data into a visual call schedule.
Google has a good profiler for C / C ++ - http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
If the Java equivalent of this exists, this will be exactly what I'm looking for.
I don’t include HProf in the list of potential profilers because it doesn’t work well compared to other commercial profilers that I looked at when you use accurate CPU profiling (usually done byte injection of code, which is slow, but HProf is at least an order of magnitude slower than other profilers, and when one sampling profile works for 1-2 hours, it is unacceptable to wait more than one day for the same run)
java profiling
Tulenian
source share