Hi Phil,

This looks cool. We should incorporate this into the built-in
profiler, I think. Any idea how to do that without breaking tail call
optimization?

Slava

On Tue, Jul 8, 2008 at 2:54 PM, Phil Dawes <[EMAIL PROTECTED]> wrote:
> Hi Slava, Hi Factor List,
>
> I made a vocab for time-profiling words. It works by annotating words
> with code to record accumulated time in microseconds.
>
> git pull http://phildawes.net/2008/factor.git/ wordtimer
>
> example usage:
> "myvocab" [ run-some-code ] profile-vocab
>
> ... <runs code and prints timings and number of calls>
>
> N.B. it isn't by any means perfect or even especially accurate, but
> handy in the absence of a better accumulated time profiler.
>
> Hope it's useful to someone,
>
> Phil
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to