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: 78% speed up in CC Mode scrolling. Date: Sun, 03 Jul 2016 22:27:54 +0300 Message-ID: <8337nqr079.fsf@gnu.org> References: <20160703182957.GA4923@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467574122 21163 80.91.229.3 (3 Jul 2016 19:28:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2016 19:28:42 +0000 (UTC) Cc: rudalics@gmx.at, johnw@gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 03 21:28:41 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 1bJn4H-0006El-KM for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2016 21:28:37 +0200 Original-Received: from localhost ([::1]:43851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJn4G-0003sd-TK for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2016 15:28:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJn4B-0003sL-6b for emacs-devel@gnu.org; Sun, 03 Jul 2016 15:28:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJn49-0006wl-8U for emacs-devel@gnu.org; Sun, 03 Jul 2016 15:28:30 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJn43-0006v6-3S; Sun, 03 Jul 2016 15:28:23 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4933 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bJn3w-0006ai-UH; Sun, 03 Jul 2016 15:28:19 -0400 In-reply-to: <20160703182957.GA4923@acm.fritz.box> (message from Alan Mackenzie on Sun, 3 Jul 2016 18:29:57 +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.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:205117 Archived-At: > Date: Sun, 3 Jul 2016 18:29:57 +0000 > From: Alan Mackenzie > > Scrolling through emacs-25's xdisp.c, I get the following timings: > emacs-25 branch: 45.529s > master branch: 25.529s > > This is a speedup of around 78%. Please show your benchmark code, and please tell which compiler options were used to build Emacs. Otherwise, I don't know how to reproduce this. > If you frequently hold down C-v or M-v, you are recommended to set > `fast-but-imprecise-scrolling' to non-nil. What does this recommendation have to do with the speedup? Thanks.