On 09/12, Han-Wen Nienhuys wrote: > >>> Well, I have it both ways. It's slow if I use cygwin, it's slow > >>>if I run it from cmd.exe prompt or drag a .ly file on its icon. > >>That's not the question. My question is whether you're using the > >>"Native" 2.6 binary (available from lilypond.org/web/install/ for the > >>"windows" platform). > if you run > lilypond --verbose <myfile.ly> > is there a place where it seems to hang?
Ugh... it's a problem to get that output. Remember I wrote about being unable to get stdout output in 2.5.x? Well, this problem persists in 2.6.0. Anyway if I do tail -f moon.log (source moon.ly) in other window every string appears after delay. One string, delay... another string, delay... etc. But I think moon.log output is buffered, so it's no help in debugging. BTW, it takes several seconds before moon.log is created, about half of the whole run. I erased moon.log and compiled it again and it took 18 seconds total and during first 8 seconds moon.log wasn't even created. The file is simple, one-page (and the problem exists when I compile any file, simple or complicated). $ time lily.sh --verbose --pdf --png moon.ly real 0m18.177s user 0m0.050s sys 0m0.060s After about 7-8 seconds of waiting during the run I get this output in another window: $ tail -f moon.log # -*-compilation-*- Processing `moon.ly' Parsing...[j:/lilypond/usr/share/lilypond/2.6.0/ly/init.ly[j:/lilypond/usr/share/lilyp ond/2.6.0/ly/declarations-init.ly[j:/lilypond/usr/share/lilypond/2.6.0/ly/music-functi ons-init.ly][j:/lilypond/usr/share/lilypond/2.6.0/ly/nederlands.ly][j:/lilypond/usr/sh are/lilypond/2.6.0/ly/drumpitch-init.ly][j:/lilypond/usr/share/lilypond/2.6.0/ly/chord -modifiers-init.ly][j:/lilypond/usr/share/lilypond/2.6.0/ly/script-init.ly][j:/lilypon d/usr/share/lilypond/2.6.0/ly/scale-definitions-init.ly][j:/lilypond/usr/share/lilypon d/2.6.0/ly/grace-init.ly][j:/lilypond/usr/share/lilypond/2.6.0/ly/midi-init.ly[j:/lily pond/usr/share/lilypond/2.6.0/ly/performer-init.ly]][j:/lilypond/usr/share/lilypond/2. 6.0/ly/paper-defaults.ly[j:/lilypond/usr/share/lilypond/2.6.0/ly/titling-init.ly]][j:/ lilypond/usr/share/lilypond/2.6.0/ly/engraver-init.ly][j:/lilypond/usr/share/lilypond/ 2.6.0/ly/dynamic-scripts-init.ly][j:/lilypond/usr/share/lilypond/2.6.0/ly/spanners-ini t.ly][j:/lilypond/usr/share/lilypond/2.6.0/ly/property-init.ly]][moon.ly[copyright.ly] ] Interpreting music... [j:/lilypond/usr/share/lilypond/2.6.0/fonts/otf/emmentaler-20.ot f][8][16][24][29] elapsed time: 0.88 seconds Element count 939 (spanners 48) Preprocessing graphical objects... Grob count 1599[j:/lilypond/usr/share/lilypond/2.6.0/fonts/otf/emmentaler-11.otf][j:/l ilypond/usr/share/lilypond/2.6.0/fonts/otf/emmentaler-13.otf][j:/lilypond/usr/share/li lypond/2.6.0/fonts/otf/emmentaler-14.otf][j:/lilypond/usr/share/lilypond/2.6.0/fonts/o tf/emmentaler-16.otf][j:/lilypond/usr/share/lilypond/2.6.0/fonts/otf/emmentaler-18.otf ][j:/lilypond/usr/share/lilypond/2.6.0/fonts/otf/emmentaler-23.otf][j:/lilypond/usr/sh are/lilypond/2.6.0/fonts/otf/emmentaler-26.otf] Calculating line breaks... Global shortest duration is 1/8 [feta-alphabet26_9.13671875][century_schoolbook_l__bold_5.0244140625][3][6][9][12][15] [18][21][24][27] Optimal demerits: 5.055508 Element count 974.[0][[century_schoolbook_l__3.98828125]1][2][3][[feta-alphabet16_5.75 68359375]4][century_schoolbook_l__bold_7.9765625][century_schoolbook_l__bold_5.6396484 375][century_schoolbook_l__5.0244140625] Calculating page breaks... Layout output to `moon.ps'...[j:/lilypond/usr/share/gs/fonts/c059016l.pfb][j:/lilypond /usr/share/gs/fonts/c059013l.pfb][j:/lilypond/usr/share/lilypond/2.6.0/fonts/type1/PFA emmentaler-26.pfa][j:/lilypond/usr/share/lilypond/2.6.0/fonts/type1/feta-alphabet16.pf a][j:/lilypond/usr/share/lilypond/2.6.0/fonts/type1/feta-alphabet26.pfa][j:/lilypond/u sr/share/lilypond/2.6.0/ps/music-drawing-routines.ps][j:/lilypond/usr/share/lilypond/2 .6.0/ps/lilyponddefs.ps] Converting to `moon.pdf'... Invoking `gs -dCompatibilityLevel#1.4 -sPAPERSIZE#"a4" -dNOPAUSE -dBATCH -r1200 - sDEVICE#pdfwrite -sOutputFile#"moon.pdf" -c .setpdfwrite -f "moon.ps"'... Converting to PNG...] If I run 2.6.0 with nonexistant file as input file, it takes 8 seconds before it opens lilypad window with "warning: can't find file: `nonexistant.ly'" $ time lily.sh --verbose --pdf --png nonexistant.ly real 0m8.153s user 0m0.050s sys 0m0.070s (I just closed lilypad window as soon as it came up). PDF and PNG conversions (two dos windows) run very quickly at the end. -- Roman V. Isaev http://www.soprano-recorder.ru Moscow, Russia _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user