ruby-prof

Path: bin/ruby-prof
Last Update: Wed Jun 21 02:27:11 Mountain Standard Time 2006

Synopsis

Profiles a Ruby program.

Usage

ruby_prof [options] <script.rb> [options-for-script]

Options:

    -p, --printer=printer            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.
    -f, --file=path                  Output results to a file instead of standard out.
    -c, --clock-mode=clock_mode      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).
    -h, --help                       Show help message
        --version                    Show version

See also: flat profiles, graph profiles, html graph profiles

Required files

ostruct   optparse   ruby-prof  

[Validate]