1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
.TH RUBY-PROF 1 "14 October 2006"
.SH NAME
ruby-prof \- A fast ruby profiler
.SH SYNOPSIS
\fBruby-prof\fP [\fBoptions\fP] <\fIscript.rb\fP> [ \fBscript-options\fP ]
.SH DESCRIPTION
ruby-prof is a fast profiler for ruby. It can be used as a stand-alone program
(that this man page documents) or as a ruby library.
Simply run the ruby program you want to profile using ruby-prof :
\fBruby-prof script.rb\fP
At the end of execution the time spent in each method is displayed.
.SH OPTIONS
.TP
\fB-p, --printer=printer\fP
Select a printer:
flat - Prints a flat profile as text (default).
graph - Prints a graph profile as text.
graph_html - Prints a graph profile as html.
call_tree - format for KCacheGrind
.TP
\fB-m, --min_percent=min_percent\fP
The minimum percent a method must take before being included in output reports.
This option is not supported for call tree.
.TP
\fB-f, --file=path\fP
Output results to a file instead of standard out.
.TP
\fB--mode=measure_mode\fP
Select what ruby-prof should measure
process - Use process time (default).
wall - Use wall time.
cpu - Use the CPU clock counter (only supported on Pentium and PowerPCs).
.TP
\fB--replace-progname\fP
Replace $0 when loading the ruby source file.
.TP
\fB-h, --help\fP
Show help message.
.TP
\fB-v, --version\fP
Show version.
.SH SEE ALSO
The ruby-prof website, http://ruby-prof.rubyforge.org/
.SH AUTHOR
ruby-prof was written by Shugo Maeda <shugo@ruby-lang.org>.
.PP
This manual page was written by Arnaud Cornet <arnaud.cornet@gmail.com>
for the Debian project (but may be used by others).
|