[Larceny-users] load time for SRFI 19
Eduardo Cavazos
wayo.cavazos at gmail.com
Wed Apr 15 17:48:24 EDT 2009
Eduardo Cavazos wrote:
> ~ # time echo '(import (srfi :19))' | larceny -err5rs
> Larceny v0.97a4 (alpha test) (Apr 15 2009 05:42:48, precise:Linux:unified)
> larceny.heap, built on Wed Apr 15 05:48:18 CDT 2009
> ERR5RS mode (no libraries have been imported)
>
> > Autoloading (srfi :19)
>
> >
>
> real 0m9.517s
> user 0m9.265s
> sys 0m0.104s
>
> I think 9 seconds is a little long eh? It is compiled:
Hmmm... Well, the SRFI-19 library is just doing a require of the R5RS
implementation, which isn't compiled... And that in turn does a require
of 'time'. That by itself takes around 4 seconds:
> (time (require 'time))
Words allocated: 19921570
Words reclaimed: 0
Elapsed time...: 3955 ms (User: 3828 ms; System: 24 ms)
Elapsed GC time: 84 ms (CPU: 80 in 19 collections.)
#t
Ed
More information about the Larceny-users
mailing list