all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: slow processing of process output when it's huge
Date: Mon, 28 Jul 2008 00:52:22 +0200	[thread overview]
Message-ID: <488CFC26.4020106@gmail.com> (raw)
In-Reply-To: <200807272236.m6RMaCtR015237@sallyv1.ics.uci.edu>

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	other threads:[~2008-07-27 22:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-27 22:36 slow processing of process output when it's huge Dan Nicolaescu
2008-07-27 22:52 ` Lennart Borgman (gmail) [this message]
2008-07-28  1:49 ` Stefan Monnier
2008-07-28  2:20   ` Dan Nicolaescu
2008-07-28  2:53 ` Sean O'Rourke
2008-07-28  3:08   ` Dan Nicolaescu
2008-07-29 15:48 ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=488CFC26.4020106@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.