lilypond-devel
[Top][All Lists]
Advanced

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

Re: TeX-related things are very slow when I have lots of files


From: Joe Neeman
Subject: Re: TeX-related things are very slow when I have lots of files
Date: Sat, 14 Apr 2007 17:45:08 +1000
User-agent: KMail/1.9.5

On Saturday 14 April 2007 14:29, Werner LEMBERG wrote:
> > Now lets create some files:
> > $ make -C Documentation/user web
> > # Ctrl-C after a minute or so
> > $ time mf-nowin -progname=mf "\mode:=ljfour; mode_setup; end."
> > real    0m32.998s
> > user    0m28.638s
> > sys     0m4.336s
>
> Try this for both cases:
>
>   KPATHSEA_DEBUG=-1 mf-nowin -progname=mf "\mode:=ljfour; mode_setup; end."

Thanks for the quick reply. I've tried this and attached the (heavily snipped) 
output. The main thing I noticed is that it is scanning paths 
like 
/home/joe/programming/lilypond/Documentation/user/out-www/source/user/out-www/source/user/out-www/lily-3c5cc96107.pdf.
 
Since "source" is a symbolic link to "../..", could it be getting trapped in 
a loop? Anyway, I don't really know how to interperet the output, so I'll 
attach it. If you want to see a less abbreviated version, I can do that too.

> and press Ctrl-C after, say, two seconds, if necessary.  The
> comparison of the output should help identify the `hot spots'.  [I
> assume that you are running a distribution like tetex or TeXLive which
> uses the kpathsea library for searching files.]

In case it makes a difference, I am using tetex on gentoo.

> What you describe shouldn't happen.  Maybe your TeX distribution is
> somehow screwed up.  If everything fails, reinstall it or upgrade to a
> newer version.  On my platform (using GNU/Linux with TeXLive 2007)
> everything is just fine.

I tried "emerge -e world" to reinstall/upgrade every program on my computer 
but it didn't change anything. My current version of tetex is 
tetex-3.0_p1-r3, which is the latest version available on this distribution.

Thanks,
Joe

Attachment: texdump.txt
Description: Text document


reply via email to

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