[OS X TeX] Time penalty when using kpsewhich on mac os x?
jfbu
jfbu at free.fr
Sat Oct 11 14:10:31 EDT 2014
Le 11 oct. 2014 à 20:08, Adam R. Maxwell <amaxwell at mac.com> a écrit :
>
>> On Oct 11, 2014, at 11:03 , jfbu <jfbu at free.fr> wrote:
>>
>> I still get the feeling from Karl Berry's reply quoted in my previous
>> mail that 0.5s is somehow unexpected.
>
> I should try running tlmgr on one of my Linux boxes
> at work; I'd probably find that stuff that takes
> seconds in TLU is instant there :/.
>
> The usual Mac OS bottleneck is the filesystem, and
> this doesn't surprise me at all. I might mess around
> with profiling it anyway.
>
> Adam
>
Thanks Adam
for info here is what I go a few days back on a Dell connected to some dual processor machine with Fedora:
> for what it's worth, on a Linux box with TL2010:
>
> $ time kpsewhich -var-value TEXMFLOCAL
> /---/texlive2010/texlive/2010/../texmf-local
>
> real 0m0.069s
> user 0m0.057s
> sys 0m0.003s
>
> $ time kpsewhich hyperref.sty
> /home/---/texmf/tex/latex/hyperref/hyperref.sty
>
> real 0m0.087s
> user 0m0.058s
> sys 0m0.005s
>
> $ time kpsewhich graphics.sty
> /---/texlive2010/texlive/2010/texmf-dist/tex/latex/graphics/graphics.sty
>
> real 0m0.103s
> user 0m0.055s
> sys 0m0.010s
>
> (the "real" times fluctuate but "user" are more stable)
>
> This is with
> $ kpsewhich --version
> kpathsea version 6.0.0
> Copyright 2010 Karl Berry & Olaf Weber.
>
> TexLive 2010 on a Fedora box,
> server is a dual processor Intel Core Duo CPU E8400 @3.00GHz
> with 3.4Gi of memory
Best,
Jean-Francois
More information about the MacOSX-TeX
mailing list