guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VM] Should `compile' always be visible?


From: Andy Wingo
Subject: Re: [VM] Should `compile' always be visible?
Date: Thu, 26 Feb 2009 13:53:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On Wed 25 Feb 2009 22:16, address@hidden (Ludovic Courtès) writes:

>> The 1.8 results were against the Fedora guile, and the vm results
>> against libguile/.libs/lt-guile, run inside pre-inst-guile-env.
>
> The issue is that `pre-inst-guile-env' adds overhead, which may not be
> negligible when measuring startup time.

Perhaps I was unclear. They were run as:

address@hidden:~/src/guile/vm$ ./pre-inst-guile-env bash
address@hidden:~/src/guile/vm$ time for i in 0 1 2 3 4 5 6 7 8 9; do 
libguile/.libs/lt-guile -c 1; done

real    0m0.098s
user    0m0.059s
sys     0m0.026s

I don't think there's overhead here. There certainly is if you time
./pre-inst-guile instead:

address@hidden:~/src/guile/vm$ time for i in 0 1 2 3 4 5 6 7 8 9; do 
./pre-inst-guile -c 1; done

real    0m0.307s
user    0m0.164s
sys     0m0.120s

Andy
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]