From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: A proposal for the future of open-paren-in-column-0-is-defun-start. Date: Tue, 07 Apr 2020 09:47:39 -0400 Message-ID: References: <20200405134735.GD5049@ACM> <831rp0siqn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="7431"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: acm@muc.de, Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 07 15:48:37 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jLoaj-0001se-Bw for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Apr 2020 15:48:37 +0200 Original-Received: from localhost ([::1]:47682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLoad-00014d-LY for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Apr 2020 09:48:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47844) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLoZy-0000U7-9h for emacs-devel@gnu.org; Tue, 07 Apr 2020 09:47:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLoZx-0001nJ-3A for emacs-devel@gnu.org; Tue, 07 Apr 2020 09:47:49 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:61482) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLoZs-0001lz-90; Tue, 07 Apr 2020 09:47:44 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5DA0D10088C; Tue, 7 Apr 2020 09:47:43 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D02D010048E; Tue, 7 Apr 2020 09:47:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1586267261; bh=exoxfYV5OZwrMXd/3GT87/IuzxEZYmFRzbc2fDXka10=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=UCScBh5T4NLptwah4U0QN3uwzA6vU9NF3USQvJn+aBLBdYrjBCpUu9LVm+M5TvdHf 6QcDyuvLw8twd3FxGqPgThvCOq2TEp4ppWjuDPTwuUFlDqhsoF3tL5h6cug4aZgcV4 C+/feTW1OO/KNsn/wO7Yl7bsOfAHYOIMZ4u8Cz8YuX6DWyUK5t+3TX68CjTHvNmbNw ZO4y17aN47FoA16bsqc6q3xO1pANwwhI1K/AbMT/zOpjs0epDp6E58gkKUhle43htW yv8wGXFxX6ZU9HX1utQbE3TUInNNfskXyaeT4gARI+EAbkN9BLNqzzTrxbaiSd0a1r akyE9qVaFRXDg== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7C8791203C7; Tue, 7 Apr 2020 09:47:41 -0400 (EDT) In-Reply-To: (martin rudalics's message of "Tue, 7 Apr 2020 10:33:58 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246597 Archived-At: >> Actually, we had a few detailed profiles posted which show many levels >> below "somewhere in jit-lock", at least for CC Mode. > When comparing -O0 with -O3 builds I noticed one additional difference > with simple repetitions of 'scroll-up' in xdisp.c. The optimized build > spent 25% of the CPU time consumed collecting garbage, the debug build > 42%. Does an -O0 build produce more garbage or is it collecting slower? I'd guess that it's just the fact that the GC spends almost all its time manipulating Lisp_Object values, so it is more affected by inlining of those low-level functions that extract the tag and things like that. Stefan