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: Re: Low redisplay performance (23 regression) Date: Wed, 22 Apr 2009 11:50:52 -0400 Message-ID: <0D2D1B0B-A80D-4618-A6D7-34A897A54EE6@gmail.com> References: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> <873ac3arbf.fsf@cyd.mit.edu> <83r5zmhf2q.fsf@gnu.org> <83mya9hm0i.fsf@gnu.org> <873ac0aeoy.fsf@CPU107.opentrends.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240415548 22354 80.91.229.12 (22 Apr 2009 15:52:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Apr 2009 15:52:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Clemente Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 22 17:53:47 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 1LwelX-0003uZ-Gw for ged-emacs-devel@m.gmane.org; Wed, 22 Apr 2009 17:53:40 +0200 Original-Received: from localhost ([127.0.0.1]:44125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lwek8-00009j-HA for ged-emacs-devel@m.gmane.org; Wed, 22 Apr 2009 11:52:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lwej5-0007v2-A2 for emacs-devel@gnu.org; Wed, 22 Apr 2009 11:51:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lweiw-0007oe-Qc for emacs-devel@gnu.org; Wed, 22 Apr 2009 11:51:03 -0400 Original-Received: from [199.232.76.173] (port=35335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lweiv-0007oV-AZ for emacs-devel@gnu.org; Wed, 22 Apr 2009 11:50:57 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.157]:56555) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lweiu-0005Hk-Qw for emacs-devel@gnu.org; Wed, 22 Apr 2009 11:50:57 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 3so21042yxi.66 for ; Wed, 22 Apr 2009 08:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=HjGGAikQ3KQDTarDJvmg2sDHzwYoLnEWprOzQZbuhTc=; b=MaWW7ew5Aol+xpdL8nJcdbTYr1onnk/u4NzF1sJyIqMywSliAIY7I76UUSQL3O/kwg TGWMyKGLUBfoQmJUJW/24e1f0PzkXytVgcy1zgs79QceIYz1xnL1HQkvREd52cALndkB aY4opdIZXutpZDEzN2/xEmL7C8TPyWedcj57I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=J0O4wqYSXGO3fgLcorf7LwTuv0V5lnuwC2tqPSxscPan1XuJbmcnCf8helzOYsiaVo TlZUqcAG9Kps1dH1ivTYTf4RJlr8RvZItZGNws6N+nljTnLHLYYXPidt9nL+pMJgjcYc n+kfCjUjLqj7H9FsocJA+Xud+1tA+L269Wops= Original-Received: by 10.90.88.16 with SMTP id l16mr10446509agb.112.1240415455942; Wed, 22 Apr 2009 08:50:55 -0700 (PDT) Original-Received: from SCARLETT.PSY.CMU.EDU (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id 39sm13656agb.71.2009.04.22.08.50.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Apr 2009 08:50:54 -0700 (PDT) In-Reply-To: <873ac0aeoy.fsf@CPU107.opentrends.net> X-Mailer: Apple Mail (2.930.3) 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:110410 Archived-At: On Apr 22, 2009, at 11:30 AM, Daniel Clemente wrote: > I haven't compared Emacs 22 and 23, but from a subjective point of =20= > view I have noticed that latest Emacs 23 feels slow and updates too =20= > much for a modern computer. Some particular problems I noticed =20 > randomly: > > - if I hold C-n, I don't see the cursor while it is moving down; I =20 > only see it jump when I have released the key. C-p works faster. =20 > This happened when I had lots of CEDET buffers open (not even parsing) > > - just switching to an Emacs frame (from another window in the =20 > window manager) paints the screen progressively; this happens in =20 > tenths of second but so slowly that you can track the updated zone =20 > while it moves from top to bottom. This can be due to the video =20 > driver, X, window manager, =85 > > - sometimes, the buffer is updated noticeably two times in =20 > succession; this happened with org-mode files (latest org-mode from =20= > Git). This could also be from Org. I can corroborate these observations (subjectively FWIW) with =20 different modes such as SLIME and on NS (on OS X). So I don't think =20 it's anything system-related (drivers, X, etc). > Note that tabbar lowers the performance by a large factor. It seems =20= > the function tabbar-buffer-update-groups is run after each keypress =20= > which involves a movement on the buffer, a buffer change or a message. > Try to disable it temporarily. The problem of the visually lost C-n =20= > went away when I turned it off. > To test how much it is called, something like this can be useful: Thanks, but I don't use tabbar in this way (my branch is found here: =20 [1]), so this function doesn't get called. Note that if I run tabbar, but just set header-line-format to =20 something simpler (without all those faces), then I get a substantial =20= speedup. However, the point here is that these slowdowns with tabbar, SLIME, =20 org-mode and whatever did not occur in Emacs 22. This is going to be =20= bad for any user. [1] git://github.com/davidswelt/aquamacs-emacs.git=