Profile

Jamis Buck ha scritto:

Stephen Kellett wrote:

Are you going to leave us in suspense, then, or are you going to tell us how we can get our hands on this profiler of yours? :slight_smile: Or is it not available outside of ArachnoRuby?

Took me about 30 seconds to find it with Google.

http://www.ruby-ide.com/download_ruby.php

Clever, but I was looking for just the profiler, not the IDE. I was curious as to whether the profiler was available separately.

IIRC there was a patch to ruby on the site from arachno ruby aimed at speeding up debugging (maybe profiling too).
There is a little text about it on http://www.ruby-ide.com/ruby_faq.php
(I have the impression that it was downloadable but I may be wrong)

···

In message <41ADDA1C.9090300@byu.edu>, Jamis Buck <jamis_buck@byu.edu> >> writes

I wasn't trying to be clever, and as I found out when I installed ArachnoRuby, the help is non-existent and if there is a profiler with it, I couldn't find it. Your mileage may vary...

Stephen

···

In message <41ADE65A.9040204@byu.edu>, Jamis Buck <jamis_buck@byu.edu> writes

Clever, but I was looking for just the profiler, not the IDE. I was curious as to whether the profiler was available separately.

--
Stephen Kellett
Object Media Limited http://www.objmedia.demon.co.uk
RSI Information: http://www.objmedia.demon.co.uk/rsi.html

I think benchmarking (and testing) are good way to make sure your "speed ups" are really doing what they are suppose to do.... you can't really do that with the profiler, because it distorts a scripts elapsed time so much.

-Charlie

···

On Dec 1, 2004, at 8:08 AM, Michael Neumann wrote:

Or just use 'benchmark' (sorry, I've currently no Ruby reference here, look up ri Benchmark or lib/benchmark.rb for reference).

Hello gabriele,

Jamis Buck ha scritto:

Stephen Kellett wrote:

Are you going to leave us in suspense, then, or are you going to tell
us how we can get our hands on this profiler of yours? :slight_smile: Or is it
not available outside of ArachnoRuby?

Took me about 30 seconds to find it with Google.

http://www.ruby-ide.com/download_ruby.php

Clever, but I was looking for just the profiler, not the IDE. I was
curious as to whether the profiler was available separately.

IIRC there was a patch to ruby on the site from argr> achno ruby aimed at
speeding up debugging (maybe profiling too).

No profiling available at the moment. The idea is simple: just record
line number and pointer to the file name and the clock value in the C
code that calls the trace function before the binding is created
(which is the most expensive operation when executing the trace function).

This gathered data is then analysed later, when the buffer is full or
at end of the program.

The current pure ruby profiler tries to analyse the profiler data always
on the fly which reduces speed even more.

There is a little text about it on
http://www.ruby-ide.com/ruby_faq.php
(I have the impression that it was downloadable but I may be wrong)

http://www.ruby-ide.com/downloads/diff-against-ruby-1.8.1.txt

···

In message <41ADDA1C.9090300@byu.edu>, Jamis Buck <jamis_buck@byu.edu> >>> writes

--
Best regards, emailto: scholz at scriptolutions dot com
Lothar Scholz http://www.ruby-ide.com
CTO Scriptolutions Ruby, PHP, Python IDE 's