Profiling short-lived Java applications

Posted by ejel on Stack Overflow See other posts from Stack Overflow or by ejel
Published on 2010-04-16T20:54:12Z Indexed on 2010/04/16 21:13 UTC
Read the original article Hit count: 287

Filed under:
|
|
|
|

Is there any Java profiler that allows profiling short-lived applications? The profilers I found so far seem to work with applications that keep running until user termination. However, I want to profile applications that work like command-line utilities, it runs and exits immediately. Tools like visualvm or NetBeans Profiler do not even recognize that the application was ran.

I am looking for something similar to Python's cProfile, in that the profiler result is returned when the application exits.

© Stack Overflow or respective owner

Related posts about java

Related posts about profiling