From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Low redisplay performance (23 regression) Date: Wed, 29 Apr 2009 19:40:24 +0200 Message-ID: <87r5zb4auv.fsf@thinkpad.tsdh.de> References: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> <878wlj228q.fsf@freebits.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241026949 6435 80.91.229.12 (29 Apr 2009 17:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 17:42:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 29 19:42:20 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LzDnX-0005I6-Nc for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2009 19:42:20 +0200 Original-Received: from localhost ([127.0.0.1]:44782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzDnX-0004YU-4I for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2009 13:42:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzDlr-00042j-W9 for emacs-devel@gnu.org; Wed, 29 Apr 2009 13:40:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzDlm-00040O-P0 for emacs-devel@gnu.org; Wed, 29 Apr 2009 13:40:35 -0400 Original-Received: from [199.232.76.173] (port=50238 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzDlm-00040I-IW for emacs-devel@gnu.org; Wed, 29 Apr 2009 13:40:30 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:55513) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LzDlm-0001fJ-8D for emacs-devel@gnu.org; Wed, 29 Apr 2009 13:40:30 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id B944F334F61 for ; Wed, 29 Apr 2009 13:40:29 -0400 (EDT) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 29 Apr 2009 13:40:29 -0400 X-Sasl-enc: al/7hZKo+MVfNF/y/n+WJMAcXVe4VLO2eGZVkalyaxD1 1241026829 Original-Received: from thinkpad.tsdh.de (p54AF2946.dip0.t-ipconnect.de [84.175.41.70]) by mail.messagingengine.com (Postfix) with ESMTPA id C5B072480C for ; Wed, 29 Apr 2009 13:40:28 -0400 (EDT) Mail-Copies-To: never Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <878wlj228q.fsf@freebits.de> (Tobias C. Rittweiler's message of "Wed, 29 Apr 2009 12:17:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110550 Archived-At: "Tobias C. Rittweiler" writes: > David Reitter writes: > >> [Emacs 23.x performance regression] > > On a related note, I notice a big slowdown for `end-of-defun'. And on yet another related note, today I've found out that after changing the font scale for the current buffer using `C-x C-+' or `C-x C--' line-by-line scrolling slows down considerably. The performance regression can be seen very good when using the smooth scrolling package from [1], but it's also perceptible with the emacs defaults. The performance hit seems to be harder on long and font-locked lines (as others already noticed). If I scroll my .emacs (~2000 loc) and come across the custom-set-faces which have some lines with about 200 columns, with the smooth-scrolling package, the screen hangs for a second and then I'm scrolled for some pages at once. After setting the text scale back to default using `C-x C-0', scolling works smooth again. Oh, yet another observation: While writing this mail I enlarged the text scale with `C-x C-+' and if I press and hold the up or down key, point hangs for very short periods of time at some positions and then jumps over some lines without visible redisplay, even though no scrolling at all is done. Resetting the font scale with `C-x C-0' and doing the same, I can see that point crosses each and every line without jumps. Bye, Tassilo __________ [1] http://www.adamspiers.org/elisp/smooth-scrolling.el