From: Darrin Thompson Date: 2001-11-14T22:58:54+09:00 Subject: [ruby-talk:25175] Re: Profiling Code Robert Feldt wrote: >Thanks for the feedback, > >Well, now it uses Process.times.utime like profile.rb but you can have >wallclock if you want. How should it work/where reported? > >/Robert > Is it appropriate to just be reported in the same way as process time and controlled by a switch? You could just substitute in the different measurement method (wallclock time) into your current implementation. Then all the reporting mechanisms could be reused. The idea is to help identify bottlenecks that are IO related, i.e. database programs. So a high degree of accuracy isn't all that important and a line profiler is probably most useful. Darrin