From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Display performance degradation Date: Fri, 18 Dec 2009 14:46:14 +0900 Message-ID: References: <4B2A5F92.9090008@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=euc-jp Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1261115841 27969 80.91.229.12 (18 Dec 2009 05:57:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2009 05:57:21 +0000 (UTC) Cc: mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org To: Jan =?euc-jp?Q?Dj=8F=AB=A3rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 18 06:57:14 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 1NLVpx-0006Uz-2r for ged-emacs-devel@m.gmane.org; Fri, 18 Dec 2009 06:57:13 +0100 Original-Received: from localhost ([127.0.0.1]:48180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLVpw-0001R6-La for ged-emacs-devel@m.gmane.org; Fri, 18 Dec 2009 00:57:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLVpq-0001Qg-N1 for emacs-devel@gnu.org; Fri, 18 Dec 2009 00:57:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLVpl-0001Q1-4B for emacs-devel@gnu.org; Fri, 18 Dec 2009 00:57:05 -0500 Original-Received: from [199.232.76.173] (port=38094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLVpk-0001Py-UL for emacs-devel@gnu.org; Fri, 18 Dec 2009 00:57:00 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:55061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLVpk-0004fP-8M for emacs-devel@gnu.org; Fri, 18 Dec 2009 00:57:00 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id nBI5tXPW025157; Fri, 18 Dec 2009 14:56:57 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id nBI5kFUQ004297; Fri, 18 Dec 2009 14:46:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id nBI5kE3f003188; Fri, 18 Dec 2009 14:46:14 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1NLVfK-0002HQ-7w; Fri, 18 Dec 2009 14:46:14 +0900 In-Reply-To: <4B2A5F92.9090008@swipnet.se> (message from =?us-ascii?Q?=3D?= =?us-ascii?Q?=3FISO-8859-1=3FQ=3FJan=5FDj=3DE4rv=3F=3D?= on Thu, 17 Dec 2009 17:42:58 +0100) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:118706 Archived-At: In article <4B2A5F92.9090008@swipnet.se>, Jan Dj=8F=AB=A3rv writes: > How much is extremely, do you have figures? I haven't noticed any change= ,=20 > maybe it only manifests itself for certain locales. Actually, "extremely" was a too strong word. The following test: (save-window-excursion (delete-other-windows) (switch-to-buffer "TUTORIAL.ja") (goto-char (point-min)) (benchmark-run 1 (sit-for 0) (while (condition-case nil (progn (scroll-up) (sit-for 0)) (error nil))))) shows that the latest Emacs is about 1.45 times slower (I turned off all of tool-bar-mode, menu-bar-mode, scrool-bar-mode, line-number-mode). But, the perceived difference is much more. With the previous code, when I type C-v in TUTORIAL.ja buffer, the upper and middle part of the window (40 lines) is updated almost instantly, and I notice the redrawing process only at the bottom few lines. So, I feel no frustration. But, with the current code, with C-v, I see that the middle part is still under construction. It's a big difference in human's perception. --- Kenichi Handa handa@m17n.org