emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slow processing of process output when it's huge


From: Lennart Borgman (gmail)
Subject: Re: slow processing of process output when it's huge
Date: Mon, 28 Jul 2008 00:52:22 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Dan Nicolaescu wrote:
I run by mistake vc-print-log at the top of the tree of a Linux git
tree.  After 15 minutes of running I gave up and killed it.  The command
does finish after a while, I left it running overnight.

For that particular tree, the "git log" output is 44MB, 1146946 lines.

Maybe it is 2 * 1 146 946 process switches?

The time to run the "git log" command is about 3.5 seconds.
The interesting thing is that when saving the "git log" output to
FILE.gitlog and doing C-x C-f FILE.gitlog takes only a 3-4 seconds, even
when enabling font-locking.

So the problem seems to occur when running "git log" from vc-print-log.

Not sure this is a very interesting test case, but maybe someone wants
to take a look at what could be wrong...







reply via email to

[Prev in Thread] Current Thread [Next in Thread]