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