all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: emacs-devel@gnu.org
Subject: slow processing of process output when it's huge
Date: Sun, 27 Jul 2008 15:36:12 -0700	[thread overview]
Message-ID: <200807272236.m6RMaCtR015237@sallyv1.ics.uci.edu> (raw)


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.
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:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-27 22:36 Dan Nicolaescu [this message]
2008-07-27 22:52 ` slow processing of process output when it's huge Lennart Borgman (gmail)
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=200807272236.m6RMaCtR015237@sallyv1.ics.uci.edu \
    --to=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.