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

jfbu jfbu at free.fr
Tue Oct 7 10:24:03 CEST 2014

Le 7 oct. 2014 à 10:01, jfbu <jfbu at free.fr> a écrit :

> What can I do to get TEXMFLOCAL ?
> It is not `shell` the culprit as for example
> one can test with $(shell ls -l Makefile) to
> get execution time without kpsewhich.

and more directly, simply 

$ time kpsewhich -var-value TEXMFLOCAL

real	0m0.490s
user	0m0.476s
sys	0m0.011s

I realize that some other operations of kpsewhich 
have that overhead:
$ time kpsewhich hyperref.sty

real	0m0.499s
user	0m0.484s
sys	0m0.011s

This is on mac os x mavericks, up-to-date TL2014


More information about the tex-k mailing list