<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Greetings,</p>
<p>For finding CPU time consumption you can start here:
<a class="moz-txt-link-freetext" href="http://erlang.org/doc/efficiency_guide/profiling.html">http://erlang.org/doc/efficiency_guide/profiling.html</a></p>
<p><br>
</p>
bengt<br>
<br>
<div class="moz-cite-prefix">On 12/01/2016 12:31 PM, Mohamed
Khalfella wrote:<br>
</div>
<blockquote
cite="mid:CAMaOPvYqm0nWEgihcSc4ydPCA_T+Tq0AatfiPmyw16mKGAJqsA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I am new to Erlang. I was solving one of the exercises in <a
moz-do-not-send="true" href="http://hackerrank.com">hackerrank.com</a>
and I faced an issue where my solution is terminated because
it takes long to process the test case. Attached to this email
the problem definition. You can access my solution as below.
My questions are:</div>
<div><br>
</div>
<div>How to pin point code that excessively eats memory?</div>
<div>How to pin point code that consumes CPU time?</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://pastebin.com/NaeHihYx">http://pastebin.com/NaeHihYx</a><br>
</div>
<div><br>
</div>
<div>-- <br>
<div class="gmail_signature">
<div dir="ltr">BR,
<div>Mohamed A. Khalfella</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>