On Fri, Jun 6, 2008 at 12:29 PM, Justin To <tekmc / hotmail.com> wrote:
> Hello, I'm looking for a program to profile my non-rails ruby program...
> I found ruby-prof, can that do the job? if it does, I have no idea how
> to install and run it to profile my programs =(

ruby-prof is excellent and can do the job for you.

Quick start:
  gem install ruby-prof
  ruby -runprof mycode.rb

(unprof.rb is a wrapper script that profiles your code and drops
profiling output in the current directory)

jeremy