<div dir="ltr">Oh, right.<div><br></div><div>And your numbers are 4-5x better than mine, (presumably because linux's filesystem is faster than mac os x's).</div><div><br></div><div>Robby</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Feb 12, 2014 at 11:19 AM, Sam Tobin-Hochstadt <span dir="ltr"><<a href="mailto:samth@cs.indiana.edu" target="_blank">samth@cs.indiana.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think you mean `racket/init` in the second version, right?<br>
<br>
For me, I get (slightly edited for clarity):<br>
<br>
$ echo '(exit)' | time racket -vl racket/base -e '(read-eval-print-loop)'<br>
Welcome to Racket v6.0.0.2.<br>
><br>
0.02user 0.01system 0:00.03elapsed<br>
<br>
vs<br>
<br>
$ echo '(exit)' | time racket -vl racket/init -e '(read-eval-print-loop)'<br>
Welcome to Racket v6.0.0.2.<br>
><br>
0.14user 0.04system 0:00.18elapsed<br>
<span class="HOEnZb"><font color="#888888"><br>
Sam<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, Feb 12, 2014 at 12:12 PM, Robby Findler<br>
<<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>> wrote:<br>
> On Tue, Feb 11, 2014 at 9:11 AM, Neil Van Dyke <<a href="mailto:neil@neilvandyke.org">neil@neilvandyke.org</a>> wrote:<br>
>><br>
>><br>
>> The Racket VM startup time is longer than it used to be, and I no longer<br>
>> use it often as a quick command-line calculator. (If filesystem and<br>
>> libraries aren't in Linux caches, it's almost 4 seconds before REPL prompt<br>
>> on my workstation.) That might not have to be a problem for an<br>
>> onion-router, however, even if you're starting up lots of processes (since<br>
>> you might be able to start worker processes before they're needed).<br>
>><br>
><br>
> No on topic, I know, but this is probably because of a different amount of<br>
> code loaded (I'm not sure which version we're comparing against, tho).<br>
><br>
> You could probably try this if you wish to return those days:<br>
><br>
> racket -vl racket/base -e '(read-eval-print-loop)'<br>
><br>
> For me that starts up about 4x faster (.1 second vs .4 seconds, but on a<br>
> machine that has warm caches) than this:<br>
><br>
> racket -vl racket/base -e '(read-eval-print-loop)'<br>
><br>
> which is roughly an explicated version of the no-command-line arguments<br>
> "racket".<br>
><br>
> Robby<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
</div></div></blockquote></div><br></div>