From: Stefan Kaes Date: 2005-12-08T01:05:02+09:00 Subject: Re: profiling question Yukihiro Matsumoto wrote: >Hi, > >In message "Re: profiling question" > on Thu, 8 Dec 2005 00:17:28 +0900, Stefan Kaes writes: > >|During profiling some code using ruby 1.8.2 and standard profiler, I >|have discovered that class method execution time doesn't get attributed >|to the class where the method is defined. Instead it gets attributed to >|the class of the object issuing the call. This differs from the way >|instance methods are attributed. I'd expect that time gets attributed to >|the defining class instead. >| >|I wonder whether this is by design and expected behavior, or a bug. > >It's a bug. I have checked in the fix to the CVS repository. >Thank you. > > matz. > > > > Wow. That was quick. Thanks very much. -- stefan kaes http://railsexpress.de/blog