From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "John Wiegley" Newsgroups: gmane.emacs.devel Subject: Re: lexical-binding causes a lot more GC, why? Date: Fri, 30 Oct 2015 12:07:12 -0700 Organization: New Artisans LLC Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1446232072 18640 80.91.229.3 (30 Oct 2015 19:07:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Oct 2015 19:07:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Le Wang Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 30 20:07:43 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZsF1M-0002rT-8M for ged-emacs-devel@m.gmane.org; Fri, 30 Oct 2015 20:07:28 +0100 Original-Received: from localhost ([::1]:52569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsF1L-0001ue-MP for ged-emacs-devel@m.gmane.org; Fri, 30 Oct 2015 15:07:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsF1H-0001uM-TS for emacs-devel@gnu.org; Fri, 30 Oct 2015 15:07:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsF1C-00041E-Rm for emacs-devel@gnu.org; Fri, 30 Oct 2015 15:07:23 -0400 Original-Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:35499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsF1C-000418-Lx for emacs-devel@gnu.org; Fri, 30 Oct 2015 15:07:18 -0400 Original-Received: by pasz6 with SMTP id z6so82117871pas.2 for ; Fri, 30 Oct 2015 12:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:date:organization:message-id :references:user-agent:mail-followup-to:mime-version:content-type; bh=WvgsSSHNL3f/zoosQZBF8oze8utWQWZVw9Y25Oxfcr0=; b=lI7Ms+z12CnRhEHSU7zKH/2sAJL4O05RSDBT8pLA+BgrqAU2aCozZi8ayK3LTRm+S3 fXlwc99FlezXYg/Fm6Sk57pxObKjwMIBAL+uPVveXMahp4fcZX2w60Hwva0jawNe/MIN UttZ6BB4xk24gtumUHdGV90u4le/0Ujd5JxTFtFodv0VPCpvO7qeW9feLa0v6GeZHe6M Oxda7TLobaGFICRgzKDPY0C1dJIVAHutpAooFbua/1a7JDIqtO9vXoD/id8tNu1gr3uw b/lGBXyDkR7CPv38ebnJaM8Qq8Hw3QoZSBm1bjgWxK3ssWQbLR075TFjJ9zUlXxzgusC 9Ujg== X-Received: by 10.68.131.106 with SMTP id ol10mr10563478pbb.14.1446232037827; Fri, 30 Oct 2015 12:07:17 -0700 (PDT) Original-Received: from Vulcan.attlocal.net (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id ey17sm9590207pac.26.2015.10.30.12.07.17 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 30 Oct 2015 12:07:17 -0700 (PDT) Original-Received: by Vulcan.attlocal.net (Postfix, from userid 501) id 35703100ECC5F; Fri, 30 Oct 2015 12:07:16 -0700 (PDT) In-Reply-To: (Le Wang's message of "Wed, 28 Oct 2015 11:12:14 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Mail-Followup-To: Le Wang , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192984 Archived-At: >>>>> Le Wang writes: > I thought lexical-binding should always result in perf gains, does anyone > know why this could be happening? Hi Le, would it be possible to create a test that takes the memory-use-counts before some activity, then after, with and without lexical-binding enabled, so that we could fail if lexical-binding has bad behavior? I think that should be more efficient, so I'd love to pin this down in an isolated case. John