[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] running C-c C-c very slow
From: |
Jannis |
Subject: |
Re: [AUCTeX] running C-c C-c very slow |
Date: |
Fri, 10 Oct 2014 15:58:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 |
On 10.10.2014 15:08, Tassilo Horn wrote:
Jannis <address@hidden> writes:
Hi Jannis,
thanks for your reply. Here comes the requested output:
TeX-save-document 1 14.690720819 14.690720819
TeX-check-files 2 14.690422432 7.3452112164
Ok, I've guessed that. `TeX-check-files' has deeply nested loops, but
nothing that should take that long. What is the value of
`TeX-check-path' on your system?
("." "/var/lib/texmf/tex/" "/usr/share/texmf/tex/"
"/usr/share/texlive/texmf-dist/tex/"
"/usr/share/texlive/texmf-dist/bibtex/bst/")
Hm, one thing which could explain the slowness is that file existence
checks are very slow on your system, and `TeX-check-files' does some
thousands of them. Is some directory in `TeX-check-path' located on,
e.g., an NFS mount?
Please try
M-x benchmark RET (dotimes (i 10000) (file-exists-p "/some/file")) RET
and report the printed runtime.
Elapsed time: 0.114470s (0.018289s in 1 GCs)
Does not seem to be too much ...
If your `TeX-check-path' contains
directories residing on, e.g., NFS mounts, then be sure to use
/path/to/network-drive.
See above. Could this also be related to the location of the *.tex file?
I mount some remote samba share via VPN to my file system and all the
files Latex uses are located there. Maybe the change in speed that i
noticed is not due to me updating my system but due to me changing my
physical location. Before I worked at a place where these files were
located in the local network and were not acessed over the internet.
Cheers
Jannis
On my system with an SSD, that's
Elapsed time: 0.268643s (0.084832s in 1 GCs)
so it might be slower for you, but at least is shouldn't be orders of
magnitude slower.
Bye,
Tassilo
_______________________________________________
auctex mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/auctex
- [AUCTeX] running C-c C-c very slow, Jannis, 2014/10/10
- Re: [AUCTeX] running C-c C-c very slow, Tassilo Horn, 2014/10/10
- Re: [AUCTeX] running C-c C-c very slow, Jannis, 2014/10/10
- Re: [AUCTeX] running C-c C-c very slow, Tassilo Horn, 2014/10/10
- Re: [AUCTeX] running C-c C-c very slow,
Jannis <=
- Re: [AUCTeX] running C-c C-c very slow, Jannis, 2014/10/14
- Re: [AUCTeX] running C-c C-c very slow, Tassilo Horn, 2014/10/14
- Re: [AUCTeX] running C-c C-c very slow, Lars Madsen, 2014/10/15
- Re: [AUCTeX] running C-c C-c very slow, Tassilo Horn, 2014/10/15
- Re: [AUCTeX] running C-c C-c very slow, Lars Madsen, 2014/10/15
- Re: [AUCTeX] running C-c C-c very slow, Jannis, 2014/10/15
- Re: [AUCTeX] running C-c C-c very slow, David Kastrup, 2014/10/15
- Re: [AUCTeX] running C-c C-c very slow, Jannis, 2014/10/15
- Re: [AUCTeX] running C-c C-c very slow, Tassilo Horn, 2014/10/15