GNU bug report logs - #7069
Compilation from within emacs becomes slower and slower until Emacs is restarted

Previous Next

Package: emacs;

Reported by: Lars Hamren <hamren <at> sdu.se>

Date: Sun, 19 Sep 2010 00:53:02 UTC

Severity: normal

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 7069 <at> debbugs.gnu.org (full text, mbox):

From: Lars Hamren <hamren <at> sdu.se>
To: 7069 <at> debbugs.gnu.org
Subject: Clarification
Date: Sun, 19 Sep 2010 20:32:02 +0200
The problem, as far as I can determine, is not that the compilation
process takes longer, but that buffer/window update is slow.

For long compilations, with output more than a few kB, output is
"chunky". Updates seem to be in multiples of 4 kB, with delays
between them. Running strace supports this assumption.

I tried this as a "compilation":

     time find /path/to/somewhere -ls

With "compile" (slow, chunky buffer update)

	real	0m30.488s
	user	0m0.032s
	sys	0m0.036s

With "shell-command" (immediate buffer update)

	real	0m0.027s
	user	0m0.020s
	sys	0m0.008s

From Bash, not within emacs

	real    0m0.028s
	user    0m0.016s
	sys     0m0.012s

User and system times are effectively the same, but real
time differs by a factor of 1000.

/Lars Hamrén




This bug report was last modified 14 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.