[erlang-questions] How to enhance runtime and reduce memory usage

Bengt Kleberg <>
Thu Dec 1 13:16:45 CET 2016


Greetings,

For finding CPU time consumption you can start here: 
http://erlang.org/doc/efficiency_guide/profiling.html


bengt

On 12/01/2016 12:31 PM, Mohamed Khalfella wrote:
> Hi,
>
> I am new to Erlang. I was solving one of the exercises in 
> hackerrank.com <http://hackerrank.com> 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:
>
> How to pin point code that excessively eats memory?
> How to pin point code that consumes CPU time?
>
> http://pastebin.com/NaeHihYx
>
> -- 
> BR,
> Mohamed A. Khalfella
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161201/b2f44355/attachment.html>


More information about the erlang-questions mailing list