From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#895: slow processing of process output Date: Fri, 8 Jan 2016 01:24:08 +0000 Message-ID: References: <200809051543.m85FhWHV008307@sallyv1.ics.uci.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1452216323 4365 80.91.229.3 (8 Jan 2016 01:25:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2016 01:25:23 +0000 (UTC) To: 895@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 08 02:25:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aHLnj-0006KL-83 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jan 2016 02:25:11 +0100 Original-Received: from localhost ([::1]:33565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHLni-00022J-IU for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jan 2016 20:25:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHLne-00022C-Ql for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 20:25:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHLnZ-0002H6-Od for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 20:25:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHLnZ-0002Gn-L7 for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 20:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aHLnZ-0000N8-Hf for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2016 20:25:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <200809051543.m85FhWHV008307@sallyv1.ics.uci.edu> Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jan 2016 01:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 895 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 895-submit@debbugs.gnu.org id=B895.14522162851403 (code B ref 895); Fri, 08 Jan 2016 01:25:01 +0000 Original-Received: (at 895) by debbugs.gnu.org; 8 Jan 2016 01:24:45 +0000 Original-Received: from localhost ([127.0.0.1]:42092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aHLnI-0000MZ-TZ for submit@debbugs.gnu.org; Thu, 07 Jan 2016 20:24:45 -0500 Original-Received: from mail-yk0-f175.google.com ([209.85.160.175]:35967) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aHLnH-0000MJ-77 for 895@debbugs.gnu.org; Thu, 07 Jan 2016 20:24:43 -0500 Original-Received: by mail-yk0-f175.google.com with SMTP id v14so254005791ykd.3 for <895@debbugs.gnu.org>; Thu, 07 Jan 2016 17:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=SrWmehT8P6pJPqmwSlutCaSmui+aEYYdGgAoSZmP4rM=; b=NHX0e0za2Eq3hwkC5ybMwfHCSCWgxC3LDdlgwo3y2oo5IGIAPwm09RttVaKrnxWFOF URWQKwDYu02rd4vXFMpIRBS6ahxxzQRdcdw4ZTYVofgr95HNmRjDGYbucMLSgoSQ1Dyr +YDZLR9NCubCr41RF91Xj4FcoiExqAIGDD+C0x7z/ExnQqGVGJf2KYhOTUff7VHyZ8gS q3VgcwpVWvCe3sqmJjWSIPAHe10t4ksCIhLN5Hg2LTyA3JwMKTDYi+GN8ukF1g3AiKE6 X2NZhtJh0Ro8xl30JzC0GZQy9y8XRVC1sPbXKWeJ49WF4a2y9utL1HlD9ZfQ7am+HeDT /Djw== X-Received: by 10.13.218.198 with SMTP id c189mr87179816ywe.165.1452216277667; Thu, 07 Jan 2016 17:24:37 -0800 (PST) Original-Received: by 10.37.207.214 with HTTP; Thu, 7 Jan 2016 17:24:08 -0800 (PST) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111345 Archived-At: I tested in current master with mingw-w64 on Windows. The rgrep command given in the OP takes 29 s in Emacs, but the corresponding shell command[1] takes over a minute in Windows cmd.exe (at a guess, that's because cmd.exe scrolls line-by-line so has to push a lot of pixels). Likewise, building Emacs is faster with "M-x compile" than it is on the shell (from a clean checkout on my configuration it takes 7 min 43 seconds in Emacs and 9 minutes 15 seconds in cmd.exe). I'm tempted to conclude that this bug has been fixed. [1] G:\usr\bin\find.exe . -type d "(" -path "*/SCCS" -o -path "*/RCS" -o -path "*/CVS" -o -path "*/MCVS" -o -path "*/.src" -o -path "*/.svn" -o -path "*/.git" -o -path "*/.hg" -o -path "*/.bzr" -o -path "*/_MTN" -o -path "*/_darcs" -o -path "*/{arch}" ")" -prune -o ^"^!^" -type d "(" -name ".#*" -o -name "*.o" -o -name "*~" -o -name "*.bin" -o -name "*.bak" -o -name "*.obj" -o -name "*.map" -o -name "*.ico" -o -name "*.pif" -o -name "*.lnk" -o -name "*.a" -o -name "*.ln" -o -name "*.blg" -o -name "*.bbl" -o -name "*.dll" -o -name "*.drv" -o -name "*.vxd" -o -name "*.386" -o -name "*.elc" -o -name "*.lof" -o -name "*.glo" -o -name "*.idx" -o -name "*.lot" -o -name "*.fmt" -o -name "*.tfm" -o -name "*.class" -o -name "*.fas" -o -name "*.lib" -o -name "*.mem" -o -name "*.x86f" -o -name "*.sparcf" -o -name "*.dfsl" -o -name "*.pfsl" -o -name "*.d64fsl" -o -name "*.p64fsl" -o -name "*.lx64fsl" -o -name "*.lx32fsl" -o -name "*.dx64fsl" -o -name "*.dx32fsl" -o -name "*.fx64fsl" -o -name "*.fx32fsl" -o -name "*.sx64fsl" -o -name "*.sx32fsl" -o -name "*.wx64fsl" -o -name "*.wx32fsl" -o -name "*.fasl" -o -name "*.ufsl" -o -name "*.fsl" -o -name "*.dxl" -o -name "*.lo" -o -name "*.la" -o -name "*.gmo" -o -name "*.mo" -o -name "*.toc" -o -name "*.aux" -o -name "*.cp" -o -name "*.fn" -o -name "*.ky" -o -name "*.pg" -o -name "*.tp" -o -name "*.vr" -o -name "*.cps" -o -name "*.fns" -o -name "*.kys" -o -name "*.pgs" -o -name "*.tps" -o -name "*.vrs" -o -name "*.pyc" -o -name "*.pyo" ")" -prune -o -type f "(" -iname "*.el" ")" -exec G:\usr\bin\grep.exe --color=always -i -nH -e "emacs" {} + In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2016-01-02 built on MACHINE Repository revision: 372d00a981942a5da868a33372eb29d5806f2ab3 Windowing system distributor 'Microsoft Corp.', version 10.0.10586 Configured using: 'configure --prefix /c/emacs/emacs-20160101-122333 --without-imagemagick --disable-dependency-tracking --enable-locallisppath=%emacs_dir%/../site-lisp 'CFLAGS=-Og -g -ggdb'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify dbusbind w32 multi-tty make-network-process emacs) Memory information: ((conses 16 83465 5112) (symbols 56 19008 0) (miscs 48 36 86) (strings 32 14081 5015) (string-bytes 1 386417) (vectors 16 11288) (vector-slots 8 408630 5027) (floats 8 139 4) (intervals 56 239 22) (buffers 976 11))