[erlang-questions] beam.smp startup time regression

Dan Gudmundsson dangud@REDACTED
Fri Apr 4 17:01:00 CEST 2014


Doesn't rebar compile erlang files in parallel?
If so you want async threads..



On Fri, Apr 4, 2014 at 4:49 PM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:

> 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?
> _______________________________________________
> 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/20140404/17c76dc6/attachment.htm>


More information about the erlang-questions mailing list