From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13369: 24.1; compile message parsing slow because of omake hack Date: Tue, 08 Jan 2013 20:47:09 -0500 Message-ID: References: <672E6DB1-196D-491C-BE42-F29CF1C7F1A5@bredband.net> <3FB0B562-759B-4486-90F4-789BF6CEA07F@bredband.net> <0AEEF1C6-8150-4E39-9CD9-30EC963D64D6@bredband.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357696079 7885 80.91.229.3 (9 Jan 2013 01:47:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2013 01:47:59 +0000 (UTC) Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 13369@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 09 02:48:15 2013 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 1Tskm7-0001Xg-2n for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Jan 2013 02:48:15 +0100 Original-Received: from localhost ([::1]:45926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsklq-0002XX-Ol for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Jan 2013 20:47:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsklo-0002XP-Hl for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 20:47:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tskln-0003ye-Bd for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 20:47:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tskln-0003yY-8I for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 20:47:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tsklt-0006j1-J7 for bug-gnu-emacs@gnu.org; Tue, 08 Jan 2013 20:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jan 2013 01:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13369 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13369-submit@debbugs.gnu.org id=B13369.135769604625798 (code B ref 13369); Wed, 09 Jan 2013 01:48:01 +0000 Original-Received: (at 13369) by debbugs.gnu.org; 9 Jan 2013 01:47:26 +0000 Original-Received: from localhost ([127.0.0.1]:57522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsklK-0006i3-3r for submit@debbugs.gnu.org; Tue, 08 Jan 2013 20:47:26 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:41829) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsklH-0006hp-Bx for 13369@debbugs.gnu.org; Tue, 08 Jan 2013 20:47:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAG6Zu0+4rw8T/2dsb2JhbABEgXuyFoEIghUBAQQBViMQCw4mEhQYDSSIHAW6CZBEA4hCmnGBWIMH X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212102756" Original-Received: from 184-175-15-19.dsl.teksavvy.com (HELO pastel.home) ([184.175.15.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Jan 2013 20:47:10 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0CBE759230; Tue, 8 Jan 2013 20:47:09 -0500 (EST) In-Reply-To: (Glenn Morris's message of "Tue, 08 Jan 2013 17:40:57 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:69530 Archived-At: >>> Thanks. Could you also give the numbers for >>> compilation-error-regexp-alist containing only `gnu' (assuming that is >>> the one that is relevant for your test case)? >> These times are with a slightly different compilation buffer: >> all no omake gnu only >> 32.7 3.4 0.3 standard code >> 6.8 3.4 0.3 repaired regexp (escaped ^) >> 3.4 3.4 0.3 COND expression removed > OK, thank you. So having fixed the omake ^ issue, basically to me it > just seems to be the case that the more entries are in > compilation-error-regexp-alist, the slower things get. > Maybe we should encourage people to prune it to only the entries they > use, or maybe some less common elements should not be there by default. Yes, every entry costs time, which is why I've been resisting adding more entries and would rather push the problem upstream to convince the tools's authors to stick to the standard GNU message format. I think compile.el would benefit from a different regex engine where we could do a lex-style union of all regexp into a single automaton. Stefan