From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Permission requested to merge branch comment-cache into master. Date: Sun, 13 Mar 2016 20:03:20 +0200 Message-ID: <83shzudzmf.fsf@gnu.org> References: <20160312002837.GJ2888@acm.fritz.box> <83mvq4gni4.fsf@gnu.org> <20160312100843.GA2572@acm.fritz.box> <83a8m4gd7p.fsf@gnu.org> <20160312115021.GB2572@acm.fritz.box> <837fh7ho78.fsf@gnu.org> <20160312231713.GD10781@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457892255 15695 80.91.229.3 (13 Mar 2016 18:04:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2016 18:04:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 13 19:04:11 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 1afAN8-0006PZ-Pj for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2016 19:04:10 +0100 Original-Received: from localhost ([::1]:37038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afAN7-0006p5-SN for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2016 14:04:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afAMs-0006ov-17 for emacs-devel@gnu.org; Sun, 13 Mar 2016 14:03:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afAMo-0006nt-Qd for emacs-devel@gnu.org; Sun, 13 Mar 2016 14:03:53 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afAMo-0006np-NV; Sun, 13 Mar 2016 14:03:50 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4648 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1afAMn-0005iR-S4; Sun, 13 Mar 2016 14:03:50 -0400 In-reply-to: <20160312231713.GD10781@acm.fritz.box> (message from Alan Mackenzie on Sat, 12 Mar 2016 23:17:13 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:201624 Archived-At: > Date: Sat, 12 Mar 2016 23:17:13 +0000 > From: Alan Mackenzie > > You mentioned in another post that you were concerned about the speed of > CC Mode. Well, I have prepared an emacs-25 build and a comment-cache > build, strictly comparable, and timed Martin Rudalics's two functions > `foo' and `bar' on xdisp.c. `foo' repeatedly calls `end-of-defun', > `bar' repeatedly calls `beginning-of-defun'. Here are the timings: > > emacs-25 comment-cache increase in speed > foo 2.590 1.662 56% > bar 2.981 1.628 83% My measurements (which I posted a few minutes ago) indicate that Emacs 25 is about twice slower than Emacs 23.3. So the above means the comment-cache branch brings the performance almost back to its Emacs 23 level. Which is a Good Thing, I think. > Where, then, do we go from here? Just how important is CC Mode's lack > of performance? To me, it's very important, because I bump into the slow situations way too much.