From: Dan Nicolaescu <dann@ics.uci.edu>
To: 895@emacsbugs.donarmstrong.com
Subject: bug#895: slow processing of process output
Date: Thu, 2 Oct 2008 02:29:12 -0700 (PDT) [thread overview]
Message-ID: <200810020929.m929TCiH016508@mothra.ics.uci.edu> (raw)
In-Reply-To: <200809051543.m85FhWHV008307@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Fri, 05 Sep 2008 08:43:32 -0700")
Dan Nicolaescu <dann@ics.uci.edu> writes:
> 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.
One more data point:
emacs -Q -nw
M-x lgrep RET emacs RET *.el RET PATH_TO_EMACS_SOURCE_TREE/lisp RET
takes 33 seconds. It runs the command: grep -i -nH -e emacs *.el
M-x shell RET time grep -i -nH -e emacs *.el
0.087u 0.020s 0:01.60 6.2% 0+0k 0+0io 0pf+0w
^^^^^^^
A lot less than 33 seconds.
next prev parent reply other threads:[~2008-10-02 9:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-05 15:43 bug#895: slow processing of process output Dan Nicolaescu
2008-10-02 9:29 ` Dan Nicolaescu [this message]
2012-02-21 22:05 ` bug#895: slow processing of process output on Mac mh origin
2016-01-08 1:24 ` bug#895: slow processing of process output Richard Copley
2016-01-08 9:30 ` Eli Zaretskii
2016-01-08 9:53 ` Alexis
2016-01-08 10:00 ` Eli Zaretskii
2016-01-08 10:07 ` Dmitry Gutov
2016-01-08 10:54 ` Eli Zaretskii
2016-01-08 1:26 ` Richard Copley
2016-06-05 1:51 ` Noam Postavsky
-- strict thread matches above, loose matches on Subject: below --
2009-03-01 14:33 Markus Triska
2011-06-30 1:10 ` Lars Magne Ingebrigtsen
2011-07-06 15:07 ` Stefan Monnier
2011-07-06 15:51 ` Lars Magne Ingebrigtsen
2011-07-06 15:57 ` Lars Magne Ingebrigtsen
2011-07-06 17:58 ` Drew Adams
2011-07-06 18:50 ` Lars Magne Ingebrigtsen
2011-07-06 19:15 ` Stefan Monnier
2011-07-06 15:32 ` Dan Nicolaescu
2011-07-06 19:17 ` Stefan Monnier
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=200810020929.m929TCiH016508@mothra.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=895@emacsbugs.donarmstrong.com \
/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.