[erlang-questions] beam.smp startup time regression

Tuncer Ayaz tuncer.ayaz@REDACTED
Fri Apr 4 16:49:11 CEST 2014


In addition to "erl -eval 'halt(0).'", I tried "rebar --version", and
the results (ignoring extreme outliers) with R16B03-1 +A0 are
promising.

$ time rebar --version
low:
real    0m0.280s
user    0m0.240s
sys     0m0.053s

high:
real    0m0.375s
user    0m0.313s
sys     0m0.063s

$ export ERL_FLAGS=+A0
$ time rebar --version
low:
real    0m0.244s
user    0m0.200s
sys     0m0.037s

high:
real    0m0.262s
user    0m0.217s
sys     0m0.033s

Egil, would you advise against adding +A0 to rebar's escript emu_args
in the header? I mean, is it generally important to have async threads
for any kind of erlang code running on R16 and later?



More information about the erlang-questions mailing list