[Top][All Lists]

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

Re: startup times

From: Dale P. Smith
Subject: Re: startup times
Date: Thu, 05 Jul 2001 13:31:50 -0400

"Neil W. Van Dyke" wrote:
> I just noticed that Guile startup time gets noticeably slow once
> you start loading packages.
> Here's the best times for three separate "time guile -c" commands,
> on my P5-166 Linux laptop:
>   (display "X")                            0.960u 0.010s 0:01.02
>   (use-modules (oop goops)) (display "X")  2.230u 0.050s 0:02.35
>   (use-modules (net http))  (display "X")  3.280u 0.060s 0:03.44
> Plain Guile with HTTP library (which also loads GOOPS) takes over
> 3 seconds to load before loading application code.
> Will any startup speed improvements make it into 1.6?

This is on my T21 thinkpad (850Mhz pIII) with 2.4.5 kernel and cvs

address@hidden:~/src/net-http$ time guile -c '(use-modules (net http))
(display "X")'
real    0m0.307s
user    0m0.270s
sys     0m0.030s
address@hidden:~/src/net-http$ time guile -c '(use-modules (net http))
(display "X")'
real    0m0.308s
user    0m0.300s
sys     0m0.000s
address@hidden:~/src/net-http$ time guile -c '(use-modules (net http))
(display "X")'
real    0m0.310s
user    0m0.280s
sys     0m0.020s

The machines are very different, but not enough to account for a greater
than 10 speed improvement.

The new guile is fast even without all the fancy compilers and jit code

Give the cvs guile a try.

Dale P. Smith
Treasurer, Cleveland Linux Users Group
Senior Systems Consultant, Altus Technologies Corporation
440-746-9000 x309

reply via email to

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