Lilypond slowness on Leopard (not snow)

2009-10-11 Thread Alberto Simões
Dear friends,

I am having a big slowness on Lilypond under Leopard (not the snow one,
latest update).

I compiled git version just now (2.13.6) and it is taking too much time
compiling a simple one page document (check attach for it). Compilation
transcription bellow.

THanks for any hint
Alberto

[a...@rachmaninoff 0064]$ time lilypond piano+voz.ly
GNU LilyPond 2.13.6
Processing `piano+voz.ly'
Parsing...
Interpreting music... [8]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `piano+voz.midi'...
Solving 1 page-breaking chunks...[1: 1 pages]
Drawing systems...
Layout output to `piano+voz.ps'...
Converting to `./piano+voz.pdf'...

real0m54.085s
user0m52.691s
sys 0m0.461s

-- 
Alberto Simões
\version 2.12.2

\header {
  title = Louvado seja o meu Senhor
  composer = J. Santos
  tagline = Transcrita por Alberto Simões

  ocasioes = accaodegracas
  seccao   = accaodegracas

  meter = Andante Religioso
}

 Revista 30

global = {
  \key f \major
  \time 2/4
}

melodyA = \relative c' {
  \autoBeamOff
  \voiceOne

  \partial 8*3
  c8\mf f g 
  a a bes a

  \time 3/4
  g4. g8 a g
  f4 f8 c^\markup{\italic{cresc.}} a' bes

  \break
  \time 2/4
  c8 c d c
  \time 3/4
  bes4. bes8 c bes
  a4 a2 \fermata

  \bar |.

  \set Score.measureLength = #(ly:make-moment 15 8)
  g8\p a f1 e8 d2
  \set Score.measureLength = #(ly:make-moment 15 8)
  c8 d f1 g8 a2
  

  \bar ||

}

melodyB = \relative c' {
  \autoBeamOff
  \partial 8*3 s4. s2
  \time 3/4
  s2. s2 f8 g

  \time 2/4
  a8 a bes a
  \time 3/4
  g4. g8 a g 
  f4 f2
}

melody = {
  \global \clef treble
   \new Voice = mel \melodyA \\ \melodyB 
}

text = \lyricmode {
  Lou- va- do se- ja_o meu Se- nhor, Lou- va- do se- ja.
  Lou- va- do se- ja_o meu Se- nhor, Lou- va- do se- ja.

  Pe- los
  \once \override LyricText #'self-alignment-X = #LEFT
  povos de to- da_a terra,
  Pe- los
  \once \override LyricText #'self-alignment-X = #LEFT
  Anjos do Céu.
  
}

upperA = \relative c' {
  \partial 8*3
  c8\([ f g]
  a4 bes8[ a]

  \time 3/4
  g4.\) g8\([ a g]
  f4~ f8\) c\([ f a g bes]

  \time 2/4
  a c4 bes d8[ a c]
  \time 3/4
  g bes4.\) g bes8\([ a c g bes]
  f a2.\) \fermata

  \set Score.measureLength = #(ly:make-moment 15 8)
  g8\([ a]  f1 e8 d2\)

  \set Score.measureLength = #(ly:make-moment 15 8)
  c8\([ d] f1 g8 a2\)
}

upperB = \relative c' {
  \partial 8*3
  r8\mf r4
  r8 f,8\([ c' d]

  \time 3/4
  e4\) ees\( d
  c8[ bes] a\) r r4

  \time 2/4
  r8 a8\([ d e]
  \time 3/4
  f4\) e\( d 
  c8[ bes]\ c2\)\!

  \set Score.measureLength = #(ly:make-moment 15 8)
  r4_\p bes1\( s8 bes8[\) c]( a4)
  \set Score.measureLength = #(ly:make-moment 15 8)
  r4 c1\( s8 c8[\) d]( e4)

}

upper = {
  \global
  \clef treble
   \upperA \\ \upperB 
}

lower = \relative c, {
  \global
  \clef bass

  \stemDown

  \partial 8*3 r8 r4
  r2
  \time 3/4
  r4 r8 f8\([ bes c]
  d4~d8\) r8 r4

  \time 2/4
  r2 
  \time 3/4
  r4 r8 a8\([ d e]
  f2.\)_\fermata

  \set Score.measureLength = #(ly:make-moment 15 8)
r4 d1\( s8 d2\)
  \set Score.measureLength = #(ly:make-moment 15 8)
r4 a1\( s8 a2\)
}

\score {
  
\new Staff = melody \melody
\new PianoStaff 
  \new Staff = upper \upper
  \new Staff = lower \lower

\new Lyrics \with { alignAboveContext = upper }
{ \lyricsto mel \text}
  
  \layout {
\context {
  \RemoveEmptyStaffContext   
  % \override VerticalAxisGroup #'remove-first = ##t
}
  }
  \midi {
\context {
  \Score
  tempoWholesPerMinute = #(ly:make-moment 75 4)
}
  }
}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond slowness when invoking with *.ly

2008-01-13 Thread Michael Käppler

Hi all,
when processing a number of files, it takes on my machine much more time 
calling Lily with: lilypond *.ly than lilypond a.ly  lilypond b.ly 
 

Is this a general issue with Lily's memory managment?

Regards,
Michael


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond slowness?

2007-12-01 Thread Helge Kruse

True! but only in Windows. In Linux it is almost instantaneous.

Maybe true, but this doesn't help any Windows user.

/Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond slowness?

2007-12-01 Thread Han-Wen Nienhuys
2007/11/30, Simon Dahlbacka [EMAIL PROTECTED]:

 didn't find anything 2.7 at
 (http://download.linuxaudio.org/lilypond/binaries/mingw/)
 2.8.0-1 exhibits the same behavior ( i.e. is buggy)

I know that there have been instances of this behavior in the past.
Can anyone confirm for me that the current version doesn't do the
double font caching in XP with these versions?

 ps. what funky business is the uninstaller up to, given that it seems to be
 a magnitude slower to uninstall the files than install them ?

I don't know. Maybe it's a windows thing.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond slowness?

2007-12-01 Thread Mats Bengtsson

Quoting Han-Wen Nienhuys [EMAIL PROTECTED]:


2007/11/30, Simon Dahlbacka [EMAIL PROTECTED]:


didn't find anything 2.7 at
(http://download.linuxaudio.org/lilypond/binaries/mingw/)
2.8.0-1 exhibits the same behavior ( i.e. is buggy)


I know that there have been instances of this behavior in the past.
Can anyone confirm for me that the current version doesn't do the
double font caching in XP with these versions?


Version 2.11.35-2 doesn't seem to rerun the font caching on my XP machine
(haven't tried to remove any old cache files, though).

  /Mats



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond slowness?

2007-12-01 Thread Han-Wen Nienhuys
2007/12/1, Mats Bengtsson [EMAIL PROTECTED]:
 Quoting Han-Wen Nienhuys [EMAIL PROTECTED]:

  2007/11/30, Simon Dahlbacka [EMAIL PROTECTED]:
 
  didn't find anything 2.7 at
  (http://download.linuxaudio.org/lilypond/binaries/mingw/)
  2.8.0-1 exhibits the same behavior ( i.e. is buggy)
 
  I know that there have been instances of this behavior in the past.
  Can anyone confirm for me that the current version doesn't do the
  double font caching in XP with these versions?

 Version 2.11.35-2 doesn't seem to rerun the font caching on my XP machine
 (haven't tried to remove any old cache files, though).

Where do the cache files end up on XP? (I think they should be in
$HOME/.lilypond-fontsomething - forgot where that is on windows).

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: lilypond slowness?

2007-12-01 Thread Trevor Daniels

It seems to be in C:\WINDOWS\System32\FNTCACHE.DAT on my XP system.

Trevor D

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:lilypond-user-bounces+t.daniels=treda.co.u
 [EMAIL PROTECTED] Behalf Of
 Han-Wen Nienhuys
 Sent: 01 December 2007 15:48
 To: Mats Bengtsson
 Cc: lilypond-user
 Subject: Re: lilypond slowness?
 
 
 2007/12/1, Mats Bengtsson [EMAIL PROTECTED]:
  Quoting Han-Wen Nienhuys [EMAIL PROTECTED]:
 
   2007/11/30, Simon Dahlbacka 
 [EMAIL PROTECTED]:
  
   didn't find anything 2.7 at
   
 (http://download.linuxaudio.org/lilypond/binaries/mingw/)
   2.8.0-1 exhibits the same behavior ( i.e. is buggy)
  
   I know that there have been instances of this 
 behavior in the past.
   Can anyone confirm for me that the current 
 version doesn't do the
   double font caching in XP with these versions?
 
  Version 2.11.35-2 doesn't seem to rerun the 
 font caching on my XP machine
  (haven't tried to remove any old cache files, though).
 
 Where do the cache files end up on XP? (I think 
 they should be in
 $HOME/.lilypond-fontsomething - forgot where that 
 is on windows).
 
 -- 
 Han-Wen Nienhuys - [EMAIL PROTECTED] - 
http://www.xs4all.nl/~hanwen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: lilypond slowness?

2007-12-01 Thread Trevor Daniels
 
 It seems to be in 
 C:\WINDOWS\System32\FNTCACHE.DAT on my XP system.
 

Sorry, that's the standard XP font cache.  The LP
font cache is hidden:-

C:\Documents and Settings\[username]\ contains
  .lilypond-2.8.6-font.cache-1   12/8/2006
  .lilypond-2.8.3-font.cache-1   21/5/2006
  .fonts.cache-1 14/3/2006

but I can't see any cache relating to LP 2.10 or 2.11.34 - my latest
installed version.

Trevor D
 
 Trevor D
 
  -Original Message-
  From: 
 [EMAIL PROTECTED]
  [mailto:lilypond-user-bounces+t.daniels=treda.co.u
  [EMAIL PROTECTED] Behalf Of
  Han-Wen Nienhuys
  Sent: 01 December 2007 15:48
  To: Mats Bengtsson
  Cc: lilypond-user
  Subject: Re: lilypond slowness?
  
  
  2007/12/1, Mats Bengtsson [EMAIL PROTECTED]:
   Quoting Han-Wen Nienhuys [EMAIL PROTECTED]:
  
2007/11/30, Simon Dahlbacka 
  [EMAIL PROTECTED]:
   
didn't find anything 2.7 at

  
 (http://download.linuxaudio.org/lilypond/binaries/mingw/)
2.8.0-1 exhibits the same behavior ( i.e. is buggy)
   
I know that there have been instances of this 
  behavior in the past.
Can anyone confirm for me that the current 
  version doesn't do the
double font caching in XP with these versions?
  
   Version 2.11.35-2 doesn't seem to rerun the 
  font caching on my XP machine
   (haven't tried to remove any old cache files, though).
  
  Where do the cache files end up on XP? (I think 
  they should be in
  $HOME/.lilypond-fontsomething - forgot where that 
  is on windows).
  
  -- 
  Han-Wen Nienhuys - [EMAIL PROTECTED] - 
 http://www.xs4all.nl/~hanwen
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond slowness?

2007-11-30 Thread Francisco Vila
2007/11/30, Simon Dahlbacka [EMAIL PROTECTED]:
 ps. what funky business is the uninstaller up to, given that it seems to be
 a magnitude slower to uninstall the files than install them ?

True! but only in Windows. In Linux it is almost instantaneous.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond slowness?

2007-11-30 Thread Simon Dahlbacka
Ok, I did some further testing ...

Test setup:
install versions one at a time to C:\lilypond and issue
c:\lilypond\usr\bin\lilypond.exe -V file.ly twice and see if it halts at
Building font database both times

2.6.5 seemed to work properly
didn't find anything 2.7 at (
http://download.linuxaudio.org/lilypond/binaries/mingw/)
2.8.0-1 exhibits the same behavior (i.e. is buggy)

This thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg10945.htmlseems
to talk about the same behavior..
I can also provide a FC_DEBUG=255 log if need be, but as the log file is
17.5MB ! I would need to know what to look for in order for me to find
something useful from it..

anything more you would need to solve this issue?

regards,

Simon


ps. what funky business is the uninstaller up to, given that it seems to be
a magnitude slower to uninstall the files than install them ?

On Nov 30, 2007 4:13 AM, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:

 2007/11/29, Simon Dahlbacka [EMAIL PROTECTED]:
  I have had a break working with lilypond, but I just downloaded 2.11.35
  (running on Vista x86), and find it *very* slow compared to my
 recollection.
 
  We're talking close to thee digit numbers for a simple monophonic score
 with
  less than 20 bars.. This cannot be right? What am I missing here?
 
  running with -V seems to indicate that it's Building font database
 every
  time, how can I avoid this? ..and yes, I have installed it to a
 directory
  that does not require admin privileges.

 Unfortunately, I don't have a vista machine handy to test this.

 Can you check if older versions (2.7, 2.8, 2.9, 2.10, etc.) exhibit
 the same behavior?  If no, can you use bisection to figure out which
 version introduced the slowness?

 --
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
 http://www.xs4all.nl/%7Ehanwen

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lilypond slowness?

2007-11-29 Thread Simon Dahlbacka
I have had a break working with lilypond, but I just downloaded
2.11.35(running on Vista x86), and find it *very* slow compared to my
recollection.

We're talking close to thee digit numbers for a simple monophonic score with
less than 20 bars.. This cannot be right? What am I missing here?

running with -V seems to indicate that it's Building font database every
time, how can I avoid this? ..and yes, I have installed it to a directory
that does not require admin privileges.

regards,
Simon
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond slowness?

2007-11-29 Thread Han-Wen Nienhuys
2007/11/29, Simon Dahlbacka [EMAIL PROTECTED]:
 I have had a break working with lilypond, but I just downloaded 2.11.35
 (running on Vista x86), and find it *very* slow compared to my recollection.

 We're talking close to thee digit numbers for a simple monophonic score with
 less than 20 bars.. This cannot be right? What am I missing here?

 running with -V seems to indicate that it's Building font database every
 time, how can I avoid this? ..and yes, I have installed it to a directory
 that does not require admin privileges.

Unfortunately, I don't have a vista machine handy to test this.

Can you check if older versions (2.7, 2.8, 2.9, 2.10, etc.) exhibit
the same behavior?  If no, can you use bisection to figure out which
version introduced the slowness?

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user