<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Try<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>#!/usr/bin/env escript<br>%% This is an -*- erlang -*- file.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">%%! -mode embedded<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">main(...<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br><br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>/HÃ¥kan</div></div></div></div>
<br><div class="gmail_quote">On Mon, May 15, 2017 at 11:11 AM, Oliver Korpilla <span dir="ltr"><<a href="mailto:Oliver.Korpilla@gmx.de" target="_blank">Oliver.Korpilla@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello.<br>
<br>
Can I somehow stimulate an escript to preload all its modules?<br>
<br>
Like "erl -mode embedded" basically.<br>
<br>
Is this feasible/doable?<br>
<br>
Can I force preload of code manually as an alternative? I have time-sensitive processing to do and processing of first request seems to be impacted by code-loading.<br>
<br>
Thank you!<br>
Oliver<br>
______________________________<wbr>_________________<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/<wbr>listinfo/erlang-questions</a><br>
</blockquote></div><br></div>