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: Sun, 13 Mar 2016 11:52:39 +0000 Message-ID: <20160313115239.GB1871@acm.fritz.box> References: <20160308183010.GB6269@acm.fritz.box> <20160309174816.GE3948@acm.fritz.box> <56E0805F.3050804@gmx.at> <20160312170839.GE2572@acm.fritz.box> <56E45B90.3090905@gmx.at> <56E45E72.2010801@cs.ucla.edu> <56E4640F.1000808@gmx.at> <20160312193626.GA10781@acm.fritz.box> <56E53232.80209@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1457869818 13402 80.91.229.3 (13 Mar 2016 11:50:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2016 11:50:18 +0000 (UTC) Cc: Paul Eggert , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 13 12:50:09 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 1af4XA-0000Yz-Us for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2016 12:50:09 +0100 Original-Received: from localhost ([::1]:35637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af4X9-0005F1-Jf for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2016 07:50:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af4X5-0005Do-N7 for emacs-devel@gnu.org; Sun, 13 Mar 2016 07:50:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1af4X2-0005Gg-GS for emacs-devel@gnu.org; Sun, 13 Mar 2016 07:50:03 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:38753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af4X2-0005Ga-7M for emacs-devel@gnu.org; Sun, 13 Mar 2016 07:50:00 -0400 Original-Received: (qmail 35628 invoked by uid 3782); 13 Mar 2016 11:49:58 -0000 Original-Received: from acm.muc.de (p5B146B5E.dip0.t-ipconnect.de [91.20.107.94]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 13 Mar 2016 12:49:57 +0100 Original-Received: (qmail 17881 invoked by uid 1000); 13 Mar 2016 11:52:39 -0000 Content-Disposition: inline In-Reply-To: <56E53232.80209@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:201587 Archived-At: Hello, Martin. On Sun, Mar 13, 2016 at 10:26:10AM +0100, martin rudalics wrote: > I compared the emacs-25 branch with current _master_ because here the > latter is slower by a factor of 20. And my measurements are for > builds without optimization only. > As long as this riddle is not resolved it doesn't make much sense for me > to test minor optimizations. Please clarify this issue. OK. I've just updated both emacs-25 and master, and built them normally (i.e. with default optimisation and no debugging info). The timings I see (in seconds) are: emacs-25 master foo 2.62 2.78 bar 13.64 13.93 I honestly don't know why you're seeing a factor of 20 difference. I doubt it's got anything to do with CC Mode. Perhaps you could tell me what flags (e.g. CFLAGS) you're using in your non-optimised builds, and I can rebuild and try again. I also think that under 3 seconds is an acceptable running time for `foo' and `bar'. (Yesterday's patch brings `bar''s running time down to that of `foo') > martin -- Alan Mackenzie (Nuremberg, Germany).