From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode. Date: Sun, 19 Oct 2014 21:41:51 -0400 Message-ID: References: <20141018181937.GA5924@acm.acm> <20141018202839.GB5924@acm.acm> <21571.59590.312221.336635@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413769350 4885 80.91.229.3 (20 Oct 2014 01:42:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 01:42:30 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 20 03:42:23 2014 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 1Xg1zK-0003Xh-00 for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 03:42:22 +0200 Original-Received: from localhost ([::1]:41624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg1zJ-0005t9-7d for ged-emacs-devel@m.gmane.org; Sun, 19 Oct 2014 21:42:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg1yx-0005t0-N3 for emacs-devel@gnu.org; Sun, 19 Oct 2014 21:42:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xg1yq-0000hO-7u for emacs-devel@gnu.org; Sun, 19 Oct 2014 21:41:59 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:4894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg1yq-0000hI-4K for emacs-devel@gnu.org; Sun, 19 Oct 2014 21:41:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNFpY87/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArYGAIDvNVNFpY87/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94597011" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Oct 2014 21:41:51 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3E62244C4; Sun, 19 Oct 2014 21:41:51 -0400 (EDT) In-Reply-To: <21571.59590.312221.336635@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Sun, 19 Oct 2014 18:37:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:175572 Archived-At: > I don't see such a large degradation of performance between 24.3 and > trunk here. > no-odd-xdisp.c: > 22.3: 415 scrolls, total time = 14.469409942626953s. > 23.4: 415 scrolls, total time = 14.116178750991821s. > 24.3: 415 scrolls, total time = 45.48526978492737s. > 24.4-rc1: 415 scrolls, total time = 44.03023886680603s. > 25.0.50: 415 scrolls, total time = 45.08613348007202s. > xdisp.c: > 22.3: 415 scrolls, total time = 14.692334413528442s. > 23.4: 415 scrolls, total time = 14.051368474960327s. > 24.3: 415 scrolls, total time = 50.858959674835205s. > 24.4-rc1: 415 scrolls, total time = 58.63706636428833s. > 25.0.50: 415 scrolls, total time = 59.3416690826416s. > Tests were done with emacs -Q -nw in an xterm, 80 columns times > 80 lines. Which version of cc-mode was used? The one bundled with the respective Emacs version or is it always the same version (presumably the standalone version of CC-mode)? Stefan