jprof usage
jprof READMEExample usages
Pause functionality (sspitzer):# Don't start profiling until it gets the SIGPROF signal. setenv JPROF_FLAGS JP_DEFER # run mozilla, and get ready to do your stuff... ./mozilla # start profiling... # # if you use JP_REALTIME in JPROF_FLAGS, use `kill -ALRM {mozilla-bin pid}` here # ./jprofsig start # kill -PROF {mozilla-bin pid} # do your stuff... # pause profiling... # ./jprofsig stop # kill -USR1 {mozilla-bin pid} # exit mozilla # Post-process jprof output to HTML format. ./jprof ./mozilla-bin jprof-log > jprof.html
Tweaks
- Suggestions to lower JP_PERIOD default to 0.0015; reports of better data for lower values JP_PERIOD (dbaron, sspitzer).
Chris McAfee Last modified: Wed Feb 14 18:53:27 PST 2001