[tex-k] speed of kpsewhich to get value of TEXMFLOCAL

jfbu jfbu at free.fr
Wed Oct 8 10:32:58 CEST 2014


le 08/10/2014 08:21 selon jfbu:
> ah! this is good to know, because I only have access to one other 
> machine, which is under Linux/Fedora, and did not yet
> check the issue there yet. I will do it soon.

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

Jean-Francois




More information about the tex-k mailing list