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: 33% speed up in CC Mode scrolling. Date: Mon, 27 Jun 2016 22:31:26 +0300 Message-ID: <83furyxwc1.fsf@gnu.org> References: <20160615222015.GA4813@acm.fritz.box> <5770C84E.30208@gmx.at> <83h9cey4t3.fsf@gnu.org> <57715AE5.3030109@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1467056895 25374 80.91.229.3 (27 Jun 2016 19:48:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2016 19:48:15 +0000 (UTC) Cc: acm@muc.de, johnw@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 27 21:48:04 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 1bHcVn-00012g-Ne for ged-emacs-devel@m.gmane.org; Mon, 27 Jun 2016 21:48:03 +0200 Original-Received: from localhost ([::1]:60775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHcVm-0006xJ-Uz for ged-emacs-devel@m.gmane.org; Mon, 27 Jun 2016 15:48:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHcGV-0000pf-Nx for emacs-devel@gnu.org; Mon, 27 Jun 2016 15:32:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHcGU-0006pD-OG for emacs-devel@gnu.org; Mon, 27 Jun 2016 15:32:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHcGQ-0006lu-7j; Mon, 27 Jun 2016 15:32:10 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3583 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bHcGL-00070h-KX; Mon, 27 Jun 2016 15:32:08 -0400 In-reply-to: <57715AE5.3030109@gmx.at> (message from martin rudalics on Mon, 27 Jun 2016 18:57:09 +0200) 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.21 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" Xref: news.gmane.org gmane.emacs.devel:204831 Archived-At: > Date: Mon, 27 Jun 2016 18:57:09 +0200 > From: martin rudalics > CC: acm@muc.de, johnw@gnu.org, emacs-devel@gnu.org > > >> This change has hardly any effect here. Scrolling xdisp.c with a '-O0 > >> -g2 -gdwarf-2' build run via emacs -Q is still virtually impossible. > > > > What exactly does "scrolling xdisp.c [...] is still virtually > > impossible" mean? How do you scroll? > > By leaning on the key which runs ‘scroll-up-command’. Then don't lean. Once you get past the initial large comment, the scrolling becomes more responsive. And I definitely do see a visible speedup when I set font-lock-maximum-decoration to 2. An unoptimized 32-build with wide-ints here.