From: Eric Hodel Date: 2006-05-26T04:47:07+09:00 Subject: Re: How use Profiling, a Quick Guide. On May 25, 2006, at 8:37 AM, Victor Shepelev wrote: > From: Robert Klemme [mailto:shortcutter@googlemail.com] >> Note that a similar thing can be achieved with set_trace_func > > Drawbacks of set_trace_func was discussed in the original topic here: > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/192294 Use event_hook instead. Its faster than both. See zenprofile in ZenHacks for an example. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com