Re: profile_time in win32 euphoria
- Posted by "Christian Cuvier" <Christian.CUVIER at agriculture.gouv.fr> Oct 21, 2004
- 605 views
> Date: Thu, 21 Oct 2004 16:18:53 +1000 > From: Patrick Barnes <mrtrick at gmail.com> > Subject: Re: profile_time in win32 euphoria > > > On Wed, 20 Oct 2004 23:14:35 -0700, Robert Craig > <guest at rapideuphoria.com> wrote: > >>> approach to time profiling. I could measure the total >>> time spent in each subroutine. Measuring individual statements >>> might be too fine-grained. > > > Well, I agree that to-the-statement profiling might be too > fine-grained, but it would certainly be useful to see time spent in > loop constructs (for, while) as well as the time for the entire > subroutine. > > -- MrTrick Plus the time the return statement takes when a lot of local vars are being freed. So, even if strict to-the-statement timing is overkill, blocks (as you said) or specific statements may deserve it. CChris