<div dir="ltr">Maybe the Erlang community in collaboration with the larger massive concurrency community should to come up with (or has and I don't know about them) some standard concurrency benchmarks? Such an effort may be somewhat (maybe only slightly) analogous to the various transaction processing benchmarks that the relational database community developed.<div><br></div><div>Just as a starting point, here is some work specific to Scala in that direction:</div><div><br></div><div><a href="http://www.infoq.com/articles/benchmarking-jvm">http://www.infoq.com/articles/benchmarking-jvm</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 12:03 PM, Theepan <span dir="ltr"><<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
















<p class="MsoNormal">I have never heard of such a cost model for Erlang’s basic
operations, but most of the time I profiled the code to find out the cost of a
code-segment, using tools and functions provided by Erlang/OTP. The Erlang
documents list do-s and don’t-s, and from the engineering school I know good
programing practices. And most of the time I use common sense of how to write a
good piece of code. This is my story, and wrote it to give my one cent on the
crowd sourcing part.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">At an Erlang process level operations can be timed, as they
directly map to the operations at the underlying OS. And then you will have to
add some extra cost for the process management by the OTP. This extra cost is a
function of many variables like number of cores, configuration of schedulers,
yielding frequency, length of process queue, GC and so on. There is no straightforward
way, but through a deeper analysis they can be determined.</p><span class="HOEnZb"><font color="#888888">

<p class="MsoNormal"> </p>

<p class="MsoNormal"> Theepan</p>

</font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Sep 16, 2015 at 8:33 PM, Eric des Courtis <span dir="ltr"><<a href="mailto:eric.des.courtis@benbria.ca" target="_blank">eric.des.courtis@benbria.ca</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">What is the cost model of all operations in Erlang 18?<div><br></div><div>For example Python has this cost model <a href="http://scripts.mit.edu/~6.006/fall07/wiki/index.php?title=Python_Cost_Model" target="_blank">http://scripts.mit.edu/~6.006/fall07/wiki/index.php?title=Python_Cost_Model</a> .</div><div><br></div><div>I either want a link to a single source for this information or I would like to crowd source the information here now.</div><div><br></div><div>Thanks for your cooperation.</div><span><font color="#888888"><div><br></div><div>Eric des Courtis</div></font></span></div>
<br></div></div><span class="">_______________________________________________<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>
<br></span></blockquote></div><br></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">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>
<br></blockquote></div><br></div></div>