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: Re: slow processing of process output when it's huge
Date: Tue, 29 Jul 2008 08:48:52 -0700	[thread overview]
Message-ID: <200807291548.m6TFmqRj018784@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <200807272236.m6RMaCtR015237@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 27 Jul 2008 15:36:12 -0700")


One more data point that shows that this problem can actually occur for
much smaller process output sizes (less than 10k lines).

emacs -Q -nw
M-: (setq-default case-fold-search nil) RET
M-x rgrep RET emacs RET PATH_TO_EMACS_SOURCE_TREE/lisp RET

this takes a few minutes.

Running the correspondind command:

find . \( -path \*/SCCS -o -path \*/RCS -o -path \*/CVS -o -path \*/MCVS -o -path \*/.svn -o -path \*/.git -o -path \*/.hg -o -path \*/.bzr -o -path \*/_MTN -o -path \*/_darcs -o -path \*/\{arch\} \) -prune -o  -type f \( -name \* \) -print0 | xargs -0 -e grep -i -nH -e emacs 

from a shell (and redirecting the output to a file) takes less than one second.




      parent reply	other threads:[~2008-07-29 15:48 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)
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 [this message]

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=200807291548.m6TFmqRj018784@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.