Set the environment variable PLTSTDERR=debug to get more verbose output.

Startup involves traversing all the bytecode files that comprise the base 
environment. How fast is filesystem access on the Note 4 compared to PC? You 
could use strace to find the latency on different system calls made during 
startup.

> On Sep 14, 2015, at 8:55 PM, John Carmack <jo...@oculus.com> wrote:
> 
> I am experimenting with running racket natively on Android to compare with my 
> current embedded Chibi scheme implementation.  It would be convenient to just 
> leave racket as a separate process and communicate over sockets/pipes so it 
> exactly mimics my remote development case.
>  
> The startup time to run a trivial console program is very long.  A one line 
> program with #lang racket/base takes over seven seconds:
>  
> root@trlte:/mnt/shell/emulated/0/Oculus/racket/bin # time ./racket 
> cmdline2.rkt
> cmdline2.rkt                                                                 <
> line 1
> line 2
> line 3
> line 4
> line 5
> line 6
> line 7
> line 8
> line 9
>     0m7.96s real     0m7.04s user     0m0.65s system
>  
> My first test, which still had the default #lang racket, took almost a minute 
> to start:
>  
> root@trlte:/mnt/shell/emulated/0/Oculus/racket/bin # time ./racket cmdline.rkt
> cmdline.rkt                                                                  <
> line 1
> line 2
> line 3
> line 4
> line 5
> line 6
> line 7
> line 8
> line 9
>     0m54.16s real     0m48.68s user     0m4.83s system
>  
> On a PC, it only takes a fraction of a second.  This was on a Note 4, which 
> should not be 100x slower than a PC.  Could it not be using the compiled 
> library bytecode somehow?  I didn’t see any command line options for verbose 
> output on startup, is there any way to force some extra information?
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com 
> <mailto:racket-users+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to