[MLton-devel] cvs commit: source-level profiling

Matthew Fluet fluet@CS.Cornell.EDU
Fri, 3 Jan 2003 20:17:14 -0500 (EST)


> Anyways, you can cause everything to be tracked by having shouldPush
> always return true.  With that, I think all source functions in the
> final .ssa should make it into the @MLton show-prof list.

Thanks.  I'll experiment with that.  Should help me a little at least with
the stuff I'm looking at.

> >    Related, I don't understand why some "obvious" source level functions
> >    never even make it to the first .ssa file.
>
> I suspect it's due to inlining.

That seems reasonable.  In the wc-input1.sml benchmark, all the IO
functors are instantiated exactly once, and all of those functions I
mentioned are used exactly once, so they would be prime candidates for
(S)XML inlining.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel