From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#15294: 24.3.50; js2-mode parser is several times slower in lexical-binding mode Date: Fri, 04 Oct 2013 05:38:20 +0300 Message-ID: <524E2A1C.7000909@yandex.ru> References: <871u51ll93.fsf@yandex.ru> <87y56p78u5.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1380854360 19113 80.91.229.3 (4 Oct 2013 02:39:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2013 02:39:20 +0000 (UTC) Cc: 15294@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 04 04:39:22 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 1VRvIY-0003MZ-Li for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2013 04:39:22 +0200 Original-Received: from localhost ([::1]:46012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRvIX-0005ps-R2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 22:39:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRvIO-0005pi-7I for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:39:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRvIE-0001A5-Vv for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:39:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRvIE-0001A1-Rv for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VRvIE-0007zg-MK for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Oct 2013 02:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15294 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15294-submit@debbugs.gnu.org id=B15294.138085430730686 (code B ref 15294); Fri, 04 Oct 2013 02:39:02 +0000 Original-Received: (at 15294) by debbugs.gnu.org; 4 Oct 2013 02:38:27 +0000 Original-Received: from localhost ([127.0.0.1]:52828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRvHf-0007ys-8o for submit@debbugs.gnu.org; Thu, 03 Oct 2013 22:38:27 -0400 Original-Received: from mail-ee0-f44.google.com ([74.125.83.44]:41983) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRvHd-0007yj-Ch for 15294@debbugs.gnu.org; Thu, 03 Oct 2013 22:38:25 -0400 Original-Received: by mail-ee0-f44.google.com with SMTP id b47so1496404eek.3 for <15294@debbugs.gnu.org>; Thu, 03 Oct 2013 19:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=i2pisEj72v4hU6ry6owDZEc18v50oP08FPeLEz0Ya2I=; b=ESq8S01cZKGNGqmVf828lUyXQE0allTI3vlMGh2D67MZxD23GJDJYGK/pVy9OYkf/D JGRB0jmlpZkSH1LQynuzwBixxPkAiz610S7ub/1tuP+BTRGxnDRdzCP7x6JXCELSFvQ4 1FgHhCBhVJS0GwQBUiP3GeFljzpba2Wds3y3YbPWwRsNeoq54xdPLVCXu362J1wkW9a+ eJc+WTsQVjFGX8wkEUnj08TmgpvujBMVY30sF8Dgrxs3xktQKmtx1qDqdycUI2RAQcGp ulDcLaPyqNBlZEKQ27I/fJ/cXG86rnmNSsUYbIhKrtADC3wtcrdpyN4fQj3qMzp4oq8q DvfA== X-Received: by 10.14.218.197 with SMTP id k45mr17858047eep.32.1380854304124; Thu, 03 Oct 2013 19:38:24 -0700 (PDT) Original-Received: from [192.168.10.2] (93-113-74.netrun.cytanet.com.cy. [93.109.113.74]) by mx.google.com with ESMTPSA id f49sm22416499eec.7.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 19:38:23 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:78911 Archived-At: On 03.10.2013 08:00, Stefan Monnier wrote: > You can try setting byte-compile--use-old-handlers to nil now to see if > it fixes your performance problems. Indeed, I see the same peformance improvement you wrote about: 0.60s in byte-compiled dynamic binding mode, and now 0.48s in byte-compiled lexical binding mode. Thanks! Not sure if I should close this issue now or at least wait until byte-compile--use-old-handlers is nil by default.