Just mention timer:tc(M,F,A) as the ultimate beginners profiling tool, before you venture into anything more advanced. Took a while for me when I was a beginner to find that out. Fprof, cprof, eprof etc are mentioned before this in the efficiency guide which in my opinion is the wrong way around.
<br><br>Cheers,<br>Adam<br><br><div class="gmail_quote">On Dec 14, 2007 11:01 AM, Joel Reymont <<a href="mailto:joelr1@gmail.com">joelr1@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm gathering information for an extensive chapter on efficiency<br>optimization. I will also try benchmarking various approaches in other<br>chapters, e.g. straight binary work vs. pickler combinators, different<br>types of interaction with a linked-in driver or gb_trees vs ets.
<br><br>Do you have any tips or suggestions apart from those given in the<br>Efficiency Guide?<br><br> Thanks, Joel<br><br>--<br><a href="http://wagerlabs.com" target="_blank">http://wagerlabs.com</a><br><br><br><br>
<br><br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">
http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>