[erlang-questions] Erlang Cost Model

Theepan vasdeveloper@REDACTED
Wed Sep 16 21:03:48 CEST 2015

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.

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


On Wed, Sep 16, 2015 at 8:33 PM, Eric des Courtis <
eric.des.courtis@REDACTED> wrote:

> What is the cost model of all operations in Erlang 18?
> For example Python has this cost model
> http://scripts.mit.edu/~6.006/fall07/wiki/index.php?title=Python_Cost_Model
>  .
> I either want a link to a single source for this information or I would
> like to crowd source the information here now.
> Thanks for your cooperation.
> Eric des Courtis
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150917/c3bbffb8/attachment.htm>

More information about the erlang-questions mailing list