From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode. Date: Mon, 20 Oct 2014 14:22:33 +0200 Message-ID: <87bnp7gcc6.fsf@wanadoo.es> References: <20141018181937.GA5924@acm.acm> <20141018202839.GB5924@acm.acm> <5444B9EF.4050506@gmx.at> <20141020114727.GB2947@acm.acm> <5444FA6D.4030403@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413807788 6505 80.91.229.3 (20 Oct 2014 12:23:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 12:23:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 20 14:23:01 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 1XgBzJ-0003gn-Kp for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 14:23:01 +0200 Original-Received: from localhost ([::1]:44432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgBzJ-0003Ww-7K for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 08:23:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgBzA-0003Vq-IF for emacs-devel@gnu.org; Mon, 20 Oct 2014 08:22:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgBz4-0001OE-Ew for emacs-devel@gnu.org; Mon, 20 Oct 2014 08:22:52 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgBz4-0001O1-8t for emacs-devel@gnu.org; Mon, 20 Oct 2014 08:22:46 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XgBz2-0003XU-Ut for emacs-devel@gnu.org; Mon, 20 Oct 2014 14:22:44 +0200 Original-Received: from 198.red-79-158-173.staticip.rima-tde.net ([79.158.173.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Oct 2014 14:22:44 +0200 Original-Received: from ofv by 198.red-79-158-173.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Oct 2014 14:22:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 10 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 198.red-79-158-173.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:N5jwNMZIbmWlg3GeNdNcUmChpUk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.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:175589 Archived-At: martin rudalics writes: > All my builds are configured the same way. So this doesn't explain why > 24.4 (which IIUC binds `open-paren-in-column-0-is-defun-start' to nil > too) is four times faster. Testing performance with optimizations turned off is pointless when you want to evaluate user's experience. The differences you see can be caused by new asserts and other code constructs that cause zero overhead with optimizations enabled but are very costly otherwise.