From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11657: 24.1.50; Byte compiler is a lot slower now, when run interpreted Date: Mon, 11 Jun 2012 19:53:48 +0300 Message-ID: <83y5ntzt5v.fsf@gnu.org> References: <83pq98u3h8.fsf@gnu.org> <83y5nvswfs.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1339433678 4674 80.91.229.3 (11 Jun 2012 16:54:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2012 16:54:38 +0000 (UTC) Cc: 11657@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 11 18:54:37 2012 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 1Se7sw-0003Cf-T3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jun 2012 18:54:35 +0200 Original-Received: from localhost ([::1]:55027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se7sw-0004Z3-JG for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jun 2012 12:54:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se7sp-0004Yb-LI for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 12:54:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se7sn-0001jT-QG for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 12:54:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se7sn-0001jF-Ms for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 12:54:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Se7vK-0005P8-9y for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jun 2012 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11657 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11657-submit@debbugs.gnu.org id=B11657.133943378220729 (code B ref 11657); Mon, 11 Jun 2012 16:57:02 +0000 Original-Received: (at 11657) by debbugs.gnu.org; 11 Jun 2012 16:56:22 +0000 Original-Received: from localhost ([127.0.0.1]:38099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se7uf-0005OI-WD for submit@debbugs.gnu.org; Mon, 11 Jun 2012 12:56:22 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:59632) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se7uc-0005O7-Iw for 11657@debbugs.gnu.org; Mon, 11 Jun 2012 12:56:20 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M5G00800OP5QK00@a-mtaout23.012.net.il> for 11657@debbugs.gnu.org; Mon, 11 Jun 2012 19:53:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5G008ORPLER220@a-mtaout23.012.net.il>; Mon, 11 Jun 2012 19:53:39 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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 (newer, 2) 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:60863 Archived-At: > From: Stefan Monnier > Cc: 11657@debbugs.gnu.org > Date: Sun, 10 Jun 2012 21:10:07 -0400 > > > Another would be to add some instrumentation code to the `pcase' macro, > > to output a message everytime the cache misses. E.g. use the patch below. > > I tried that and found that the `pcase-let' macro was not memoized (it > goes through `pcase' but pcase's memoization fails in that case). > I added explicit memoization to pcase-let, which should > help significantly. > > Please try it and tell me if it was the only source of slowdown. Unfortunately, I see no improvement at all, with trunk revision 108559: I still get the same 16.5 sec compiling org.el. Thanks.