File: ruby-prof.1

package info (click to toggle)
ruby-prof 0.4.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 348 kB
  • ctags: 275
  • sloc: ruby: 990; ansic: 939; makefile: 20
file content (44 lines) | stat: -rw-r--r-- 1,417 bytes parent folder | download
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
.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.
.TP
\fB-m, --min_percent=min_percent\fP
The minimum percent a method must take before being included in output reports.
.TP
\fB-f, --file=path\fP
Output results to a file instead of standard out.
.TP
\fB-c, --clock-mode=clock_mode\fP
Select a clock mode:
  process - Use process time (default).
  wall - Use wall time.
  cpu - Use the CPU clock counter (only supported on Pentium and PowerPCs).
.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).