Subject: Re: Monitoring time spent running classes and methods
From: Alex Fenton <aff28 deleteme.cam.ac.uk>
Date: Tue, 24 Feb 2009 20:54:24 +0900
References: 329276
In-reply-to: 329276
Mario Ruiz wrote:
> So... my question is... how can I know the running time for every single
> method and class?
Run the script you're interested in tracing with -rprofile
ruby -rprofile how_long_does_this_stuff_take.rb
a