From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] comment-cache 223d16f 2/3: Apply `comment-depth' text properties when calling `back_comment'. Date: Mon, 14 Mar 2016 11:22:41 +0000 Message-ID: <20160314112241.GA1894@acm.fritz.box> References: <56E4640F.1000808@gmx.at> <20160312193626.GA10781@acm.fritz.box> <56E53232.80209@gmx.at> <20160313115239.GB1871@acm.fritz.box> <56E55838.2090000@gmx.at> <20160313124958.GC1871@acm.fritz.box> <56E56BF5.907@gmx.at> <83vb4qdzt2.fsf@gnu.org> <56E610BA.6000204@cs.ucla.edu> <56E66B76.7070504@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1457954435 3387 80.91.229.3 (14 Mar 2016 11:20:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2016 11:20:35 +0000 (UTC) Cc: Eli Zaretskii , Paul Eggert , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 12:20:27 2016 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 1afQXy-0002kh-9T for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2016 12:20:26 +0100 Original-Received: from localhost ([::1]:40164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afQXx-0008E9-NX for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2016 07:20:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afQXf-00089e-1K for emacs-devel@gnu.org; Mon, 14 Mar 2016 07:20:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afQXb-0002Kc-SJ for emacs-devel@gnu.org; Mon, 14 Mar 2016 07:20:06 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:29637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afQXb-0002KG-KX for emacs-devel@gnu.org; Mon, 14 Mar 2016 07:20:03 -0400 Original-Received: (qmail 51936 invoked by uid 3782); 14 Mar 2016 11:20:02 -0000 Original-Received: from acm.muc.de (p579E8DE5.dip0.t-ipconnect.de [87.158.141.229]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 14 Mar 2016 12:19:59 +0100 Original-Received: (qmail 1917 invoked by uid 1000); 14 Mar 2016 11:22:41 -0000 Content-Disposition: inline In-Reply-To: <56E66B76.7070504@gmx.at> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.3 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:201681 Archived-At: Hello, Martin. On Mon, Mar 14, 2016 at 08:42:46AM +0100, martin rudalics wrote: > > 24.2 is 8% faster with -O2, 25% faster with -Og, and 3x faster with -O0. > ... > > I suppose we could spend some time trying to make these go > > faster when compiling with -O0, but I think our time is better spent > > asking developers to use -Og, or to use -O0 more selectively. > I'd really appreciate some guidelines on this. My restrictions are two: > (1) Rebuilding Emacs for the sake of debugging a particular problem is > in general _not_ an option because it takes almost 1/2 an hour here (and > another 1/2 hour to go back to the previous version). Ouch! It takes me around 3 - 4 minutes, including running ./configure. I run "make clean" only in the src directory, not over the whole of Emacs. What are you doing that takes half an hour? [ .... ] > martin -- Alan Mackenzie (Nuremberg, Germany).