From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Low redisplay performance (23 regression) Date: Wed, 29 Apr 2009 11:38:42 -0700 (PDT) Message-ID: <200904291838.n3TIcgXd007775@godzilla.ics.uci.edu> References: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241030451 18344 80.91.229.12 (29 Apr 2009 18:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 18:40:51 +0000 (UTC) Cc: Emacs-Devel devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 29 20:40:42 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 1LzEhu-0002OS-QX for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2009 20:40:35 +0200 Original-Received: from localhost ([127.0.0.1]:58852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzEhu-0004Eg-1b for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2009 14:40:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzEho-0004Ak-BL for emacs-devel@gnu.org; Wed, 29 Apr 2009 14:40:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzEhj-0003zs-Lv for emacs-devel@gnu.org; Wed, 29 Apr 2009 14:40:28 -0400 Original-Received: from [199.232.76.173] (port=44823 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzEhj-0003zi-G9 for emacs-devel@gnu.org; Wed, 29 Apr 2009 14:40:23 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:32886) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LzEhi-00061V-Uc for emacs-devel@gnu.org; Wed, 29 Apr 2009 14:40:23 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n3TIcg7p015632; Wed, 29 Apr 2009 11:38:42 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n3TIcgXd007775; Wed, 29 Apr 2009 11:38:42 -0700 (PDT) In-Reply-To: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> (David Reitter's message of "Mon, 20 Apr 2009 17:58:53 -0400") Original-Lines: 21 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n3TIcg7p015632 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:110555 Archived-At: David Reitter writes: > I've been noticing a substantial slowdown in redisplay performance. > Scrolling down emacs.c in fundamental-mode takes about 2 seconds in > Emacs 22 (Carbon port), and 3 seconds in Emacs 23 (NS port). > > With font-lock-mode (in c-mode) enabled, the difference is even larger: > > About 2.5 seconds in Emacs 22, and more than 7 seconds in 23/NS. > > The effect interacts with the display of overlays etc. in the header > line. When turning that off, I get about 2.5 seconds in Emacs 22, and > still more than 4 seconds in 23/NS. (All values estimated manually > from several tries.) > > I'm wondering if others get the same on other platforms comparing 22 > and 23, or if this is a problem specifically in the NS port (for > example, with setting drawing color or the like). I have not measured anything, but I do not see any visible difference on GNU/Linux.