lilypond-devel
[Top][All Lists]
Advanced

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

Re: [RFC] Moving to Guile 2.2 and away from GUB


From: Jean Abou Samra
Subject: Re: [RFC] Moving to Guile 2.2 and away from GUB
Date: Wed, 24 Nov 2021 21:16:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Le 24/11/2021 à 20:54, Carl Sorensen a écrit :
IIRC, it has some start-up overhead, but runs almost as fast as 1.8 if you 
discount the overhead.   The current major problem with 2.2 as far as I 
understand it is that it is very slow in building docs, because the start-up 
overhead happens for every snippet.  I think the biggest risk for this is a 
bigger likelihood for developers to skip the make doc step, which used to be 
the gold standard for committing.

To the contrary, now that Guile 2 byte-compilation
has been fixed I see *faster* startup time with
Guile 2. To wit:


- Official 2.23.4 binary with Guile 1:

$ time echo "" | ~/lilypond2.23.4/bin/lilypond -s -

real    0m0,445s
user    0m0,401s
sys    0m0,047s

- Self-compiled LilyPond with Guile 2:
$ time echo "" | out/bin/lilypond -s -

real    0m0,247s
user    0m0,233s
sys    0m0,019s


Also remember that the doc build processes all snippets
in as many LilyPond processes as the number of processes
requested in total with -j and CPU_COUNT. We don't start
up LilyPond once per process.

Best,
Jean



reply via email to

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