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: Dan Nicolaescu
Subject: Re: slow processing of process output when it's huge
Date: Tue, 29 Jul 2008 08:48:52 -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.




reply via email to

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