Xprof output to file

I am running java with the -Xprof option. I am wondering if there is a way to output the profiler information to a file, and not to stdout.

+3
source share
1 answer

When starting from the command line, you can try >, that is:

java -Xprof YourClass > output.txt

Not sure what kind of profiling you are doing and what the nature of your application is, but you might consider a slightly more friendly profiler like Eclipse TPTP or JProfiler .

+4
source

All Articles