<div dir="ltr">I am trying to compare Erlang and Haskell based on compile time, execution time, memory usage and cpu usage for a set of 10 programs. I am not fluent in either of them and this is my first time trying benchmarking. <br></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 23, 2018 at 8:05 PM Paul Peregud <<a href="mailto:paulperegud@gmail.com">paulperegud@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>To profile CPU time, you can use fprof (part of OTP distribution).<br></div><div><br></div><div>Why would you want to profile CPU usage during compilation? Are you planning working on Erlang compilator (erlc)?<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 23, 2018 at 12:12 AM Awsaf Rahman <<a href="mailto:awsafrahman1704@gmail.com" target="_blank">awsafrahman1704@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br>I want to profile a few Erlang programs I wrote. Basically, I want to find out the following: </div><div>1) CPU and memory usage during compilation</div><div>2) CPU and memory usage during execution</div><div><br></div><div>Is there anyway I can do this? </div><div><br></div><div>Kind regards</div><div>Awsaf</div></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="m_-2630241764259418436gmail_signature" data-smartmail="gmail_signature">Best regards,<br>Paul Peregud<br>+48602112091</div>
</blockquote></div>