From: Jano Svitok Date: 2008-06-10T20:54:34+09:00 Subject: Re: Ruby Profiler On Mon, Jun 9, 2008 at 18:05, Justin To wrote: > pat eyler wrote: >> On Fri, Jun 6, 2008 at 1:29 PM, Justin To 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 =( >> >> I wrote a series of short articles about using ruby-prof a while ago, >> and they still seem pretty popular. Perhaps these will help: >> >> http://on-ruby.blogspot.com/2006/08/profile-and-ruby-prof.html >> http://on-ruby.blogspot.com/2006/08/profile-and-ruby-prof-getting-specific.html >> http://on-ruby.blogspot.com/2006/08/ruby-prof-and-call-graphs.html > > I'm sorry to say that those articles didn't help...I'm trying to run > ruby-prof on a program saved onto the desktop... where do I go to type > in the command(s) and what commands should I type? > > Thanks Create shortcut on desktop, answer the first question with "cmd" (without quotes). Name it as you wish. When created, open its properties, and replace %windir% with %homedrive%%homepath% (no spaces between %%). Save. Now you can click on it and a dos/cmd window appears. Alternative way is Start menu, Accessories, command prompt, (window appears), %homedrive% cd %homepath%\Desktop or replace %homedrive% and %homepath% with actual values (C:, \documents and settings\) J.