ZhenyaI have to also point out: https://caml.inria.fr/pub/docs/manual-ocaml/spacetime. html Best,
--On Mon, Jan 30, 2017 at 11:42 AM, Van Chan Ngo <chan.ngo2203@gmail.com> wrote:Hello Umair,One option is using a profiling tool, for example the following oneBest,Van Chan NgoOn Jan 30, 2017, at 11:39 AM, Umair Siddique <umair.hvg@gmail.com> 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?ThanksUmair