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