I have to also point out: https://caml.inria.fr/pub/docs/manual-ocaml/spacetime.html -- Best, Zhenya On Mon, Jan 30, 2017 at 11:42 AM, Van Chan Ngo wrote: > Hello Umair, > > One option is using a profiling tool, for example the following one > http://memprof.typerex.org > > Best, > Van Chan Ngo > > On Jan 30, 2017, at 11:39 AM, Umair Siddique wrote: > > Dear All, > > > I am wondering what is the best way to find the time and memory usage (in > words or bytes) of an Ocaml function, e.g., Factorial) on MAC? > > > Thanks > > > Umair > > >