Subject: bug#895: closed (Re: bug#895: slow processing of process output)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 05 Jun 2016 01:52:02 +0000

Your bug report

#895: slow processing of process output

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
895: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=895
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#895: slow processing of process output
From: Noam Postavsky <[email-masked]>
To: [email-masked]
Date: Sat, 4 Jun 2016 21:51:26 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Dmitry Gutov <dgutov <at> yandex.ru> wrote:
>
> Looks fixed:
>
> With warm cache, the original commands takes 4 seconds in Emacs, also 4
> seconds in my shell (fish inside terminator), and produces the output of
> 17000 lines.
>
> It's still <1 second when redirected to a file, but that's to be
> expected, I think.

Closing.

>From [email-masked] Fri Sep  5 08:44:26 2008
From: Dan Nicolaescu <[email-masked]>
To: bug-gnu-emacs <[email-masked]>
Subject: slow processing of process output
Lines: 11
Date: Fri, 05 Sep 2008 08:43:32 -0700
Sender: [email-masked]

emacs -Q -nw
M-x rgrep RET emacs RET *.el RET PATH_TO_EMACS_SOURCE_TREE/lisp RET

takes a few minutes.  The output is about 9000 lines.

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 *.el \) -print0 | xargs -0 -e grep -i -nH -e emacs

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