From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Low redisplay performance (23 regression) Date: Mon, 20 Apr 2009 17:58:53 -0400 Message-ID: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240264780 17308 80.91.229.12 (20 Apr 2009 21:59:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2009 21:59:40 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 21 00:00:59 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 1Lw1Xr-00056Y-GB for ged-emacs-devel@m.gmane.org; Tue, 21 Apr 2009 00:00:55 +0200 Original-Received: from localhost ([127.0.0.1]:60900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lw1WS-0005r1-Jh for ged-emacs-devel@m.gmane.org; Mon, 20 Apr 2009 17:59:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lw1W3-0005gp-FV for emacs-devel@gnu.org; Mon, 20 Apr 2009 17:59:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lw1Vy-0005eP-U6 for emacs-devel@gnu.org; Mon, 20 Apr 2009 17:59:03 -0400 Original-Received: from [199.232.76.173] (port=44363 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lw1Vy-0005eL-Lb for emacs-devel@gnu.org; Mon, 20 Apr 2009 17:58:58 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.250]:5510) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lw1Vx-0004xj-Ld for emacs-devel@gnu.org; Mon, 20 Apr 2009 17:58:58 -0400 Original-Received: by an-out-0708.google.com with SMTP id b38so611088ana.21 for ; Mon, 20 Apr 2009 14:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=Qu0zmszd4j6RcRHZDWyuX6C5YH5re4XlgQl6/AfSKhE=; b=IJ1IUYF720YZX1K09WrcynRQEaioo9t/LOeCWATL8anO/xKQi5oabA0SX/bpzszT1Z c2iPMvEl5q/bi5uQGTDe4ZtdnqzNSKbcxmaWxxe/Y66OOCzXP8btbupys79cZvyZuyuu S2HrTJ9W2e99sLd5Ai1x37oMpg54s2vsLJebo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=FCFCc+ltLtZWWX1jFJP5SbDdX7/N8g4z4NjwagdN/mdDkBE8Amu2/2rxDiFbh9B+5e URJzbjC8rW57JxD+UNfrNvwgzYp6olNQZQcJeRQSmamTYjWiwwFqR4WAWoBUnCUqrRlf KW2pIWR6dTGJxmq6/ygxm4zkhkKezCibovqlU= Original-Received: by 10.100.241.13 with SMTP id o13mr8601541anh.3.1240264736943; Mon, 20 Apr 2009 14:58:56 -0700 (PDT) Original-Received: from SCARLETT.PSY.CMU.EDU (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id b7sm697958ana.33.2009.04.20.14.58.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Apr 2009 14:58:56 -0700 (PDT) X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:110377 Archived-At: 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).