How can I use my sml code?

Can someone tell me how can I use my sml code?

I implemented several different versions of the same algorithm and would like their time and maybe even know the memory?

+5
source share
1 answer

The Timer module is what you want. It can either give you processor time (gives you user time, sys and gc), or wall clock time.

For example, how to use it, see the Benchmark MyLib module .

, , profiling MLton. , , , , :

, , .

+5

All Articles