From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "WAROQUIERS Philippe" Newsgroups: gmane.emacs.bugs Subject: RE: M-x grep significantly slower in emacs 22 (compared to emacs 21) Date: Fri, 28 Sep 2007 22:12:59 +0200 Message-ID: <1B2B2EF98D55CB41BD16F13B18B9B0080303EF48@FFBRUE001.cfmu.corp.eurocontrol.int> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1191010421 25467 80.91.229.12 (28 Sep 2007 20:13:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2007 20:13:41 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 28 22:13:36 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IbMDG-0000NA-BN for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 22:13:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbMDC-0005ue-QL for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 16:13:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbMD9-0005uU-Ty for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 16:13:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbMD7-0005tc-NO for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 16:13:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbMD7-0005tO-G4 for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2007 16:13:17 -0400 Original-Received: from exprod8og55.obsmtp.com ([64.18.3.92]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IbMCz-0007sz-03; Fri, 28 Sep 2007 16:13:09 -0400 Original-Received: from source ([193.221.170.179]) by exprod8ob55.obsmtp.com ([64.18.7.12]) with SMTP; Fri, 28 Sep 2007 13:13:04 PDT Original-Received: from HHBRUE007.hq.corp.eurocontrol.int (hhbrue007.hq.corp.eurocontrol.int [193.221.160.203]) by biscuit.eurocontrol.int (8.12.10/8.12.7) with ESMTP id l8SKD0dP021240; Fri, 28 Sep 2007 22:13:00 +0200 (MEST) Original-Received: from FFBRUE001.cfmu.corp.eurocontrol.int ([193.58.25.51]) by HHBRUE007.hq.corp.eurocontrol.int with Microsoft SMTPSVC(6.0.3790.2499); Fri, 28 Sep 2007 22:12:59 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: M-x grep significantly slower in emacs 22 (compared to emacs 21) Thread-Index: AcgCApbJJ5D/4uuyRWuS8dw/h4jE5gACBrHQ X-OriginalArrivalTime: 28 Sep 2007 20:12:59.0923 (UTC) FILETIME=[F76F6E30:01C8020B] X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16652 Archived-At: >If you turn off fontification in Emacs 22, in addition to setting >process-adaptive-read-buffering optimally, how does the time compare >with Emacs 21? note: it was not directly straightforward how to turn off font-lock for grep: using global-font-lock-mode had no effect. I finally managed to turn it off in grep-mode by adding a grep setup hook. comparing emacs 21 grep=20 with emacs 22 grep (no font-lock, process-adaptive-read-buffering set to nil) the figures are now more comparable: emacs 21 takes about 13 seconds emacs 22 takes about 16 seconds. (grep on the same file, measured 2 times, emacs started with -q). In summary: without font-lock and with optimal process-adaptive-read-buffering, emacs 22 grep is about 20% slower than emacs 21. Thanks ____ This message and any files transmitted with it are legally privileged and= intended for the sole use of the individual(s) or entity to whom they ar= e addressed. If you are not the intended recipient, please notify the sen= der by reply and delete the message and any attachments from your system.= Any unauthorised use or disclosure of the content of this message is str= ictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitme= nt on the part of EUROCONTROL, unless it is confirmed by appropriately si= gned hard copy. Any views expressed in this message are those of the sender. =0D