lilypond-user
[Top][All Lists]
Advanced

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

Re: Long Compile time with version 2.19.44


From: tisimst
Subject: Re: Long Compile time with version 2.19.44
Date: Thu, 7 Jul 2016 13:44:16 -0700 (MST)



On Thu, Jul 7, 2016 at 2:25 PM, BGM [via Lilypond] <[hidden email]> wrote:
Recently I updated my lilypond from 2.18 to 2.19.44.  I am using Frescobaldi for the GUI.
It used to take only a few seconds to compile a score, but now it takes at least 28 seconds every time.
This is the case even if I don't create a midi.

Am I missing something, or is this the case for everyone?

Even for this minimal example without any compile errors, it took 28.3 seconds - which is my new average time.

\version "2.19.44"
\header {
    title = "Minimal Example"
}

verses = \new Voice = "verses" \relative c'' {
    \time 4/4
    \key c \major
    a4 b4 c4 d4 | e4 d4 f2  \bar "||"
}

wordsOne = \new Lyrics  \lyricsto "verses" {
 Here are some wo -- rds to sing
}
wordsTwo = \new Lyrics  \lyricsto "verses" {
And line up wi -- th them -- selves
}
wordsThree = \new Lyrics \lyricsto "verses" {
See the stanz -- as line up in place
}

\score {
        <<
        \new Staff{   \verses }
       \wordsOne
        \wordsTwo
       \wordsThree
        >>
    \layout {

    }
}

Here is my output:

Starting lilypond-windows.exe 2.19.44 [Untitled]...

Processing `c:/users/brgabr~1/appdata/local/temp/frescobaldi-a08kr0/tmplcpzp0/document.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `./tmp-lilypond-TVi8uT'...

Converting to `document.pdf'...

Deleting `./tmp-lilypond-TVi8uT'...

Success: compilation successfully completed

Completed successfully in 28.3".


I can confirm a very similar looooooong compilation time on 2.19.36 (over a minute for me, actually). Re-factoring the code to put all the \new statements inside the \score block then made the compilation time to 2 seconds:

%%%%%%%%%%%

\version "2.19.36"
\header {
    title = "Minimal Example"
}

verses = \relative c'' {
    \time 4/4
    \key c \major
    a4 b4 c4 d4 | e4 d4 f2  \bar "||"
}

wordsOne = \lyricmode {
 Here are some wo -- rds to sing
}
wordsTwo = \lyricmode {
And line up wi -- th them -- selves
}
wordsThree = \lyricmode {
See the stanz -- as line up in place
}

\score {
        <<
        \new Staff { \new Voice = "verses" \verses }
        \new Lyrics \lyricsto "verses" \wordsOne
        \new Lyrics  \lyricsto "verses" \wordsTwo
        \new Lyrics  \lyricsto "verses" \wordsThree
        >>
    \layout { }
}

%%%%%%%%%%%

So, no explanation from me, only an observation.

HTH,
Abraham


View this message in context: Re: Long Compile time with version 2.19.44
Sent from the User mailing list archive at Nabble.com.

reply via email to

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