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: Tue, 21 Apr 2009 18:15:01 -0400 Message-ID: <1568B67B-103E-4CB8-A3B8-A54A6FB0373F@gmail.com> References: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> <873ac3arbf.fsf@cyd.mit.edu> <83r5zmhf2q.fsf@gnu.org> <83mya9hm0i.fsf@gnu.org> <87k55daftv.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/signed; boundary=Apple-Mail-37-51896335; micalg=sha1; protocol="application/pkcs7-signature" X-Trace: ger.gmane.org 1240352128 11096 80.91.229.12 (21 Apr 2009 22:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2009 22:15:28 +0000 (UTC) Cc: Juanma Barranquero , Eli Zaretskii , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 22 00:16: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 1LwOGk-0003Zz-SS for ged-emacs-devel@m.gmane.org; Wed, 22 Apr 2009 00:16:47 +0200 Original-Received: from localhost ([127.0.0.1]:45226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwOFL-0004Ss-3S for ged-emacs-devel@m.gmane.org; Tue, 21 Apr 2009 18:15:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwOFH-0004Sm-2J for emacs-devel@gnu.org; Tue, 21 Apr 2009 18:15:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwOFC-0004SZ-Cg for emacs-devel@gnu.org; Tue, 21 Apr 2009 18:15:14 -0400 Original-Received: from [199.232.76.173] (port=40818 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwOFC-0004SW-8m for emacs-devel@gnu.org; Tue, 21 Apr 2009 18:15:10 -0400 Original-Received: from mail-bw0-f209.google.com ([209.85.218.209]:56188) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwOFA-0001Xz-52; Tue, 21 Apr 2009 18:15:08 -0400 Original-Received: by bwz5 with SMTP id 5so1654519bwz.42 for ; Tue, 21 Apr 2009 15:15:06 -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:mime-version:subject:date:references :x-mailer; bh=gwUXAuvSTKrSbg+sSGoxkgT7Ko1YXetciIKm4xXMtN4=; b=MdTgs+AaNnw0RGFAN+d23nyWrb6voBnGCzgiK8VnDwJueUo9K7VJvt9nZEjQcqbn17 BB7ndQsHEaAK1oezW4eWMDBfxjaZsiHHZnaXj+bAvmDOJavQq01PBGQTXqDYbtQGHvwb DLNfg0j8FkuX8LyAGfh/KQujxQ2JpoI3qL1wc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=E7cSyLsyV4LmZoDMvqgZqypu3tpqnyhl0MFhI/QAnc4vAF/BEbeB9+YyroPBib3t1a bEHgSZSXl7M28rrUcZG1y9M7LoUZPCD8DynsfGksiRqueLfH3QQC0lZLxf2QDjhCRkXq xUALdxQ7qGC/DIMcYTQU9PPwvUOuanv0iLTfk= Original-Received: by 10.103.241.15 with SMTP id t15mr4101774mur.85.1240352106429; Tue, 21 Apr 2009 15:15:06 -0700 (PDT) Original-Received: from ?192.168.1.42? (pool-72-65-195-138.pitbpa.east.verizon.net [72.65.195.138]) by mx.google.com with ESMTPS id e10sm18448125muf.41.2009.04.21.15.15.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Apr 2009 15:15:05 -0700 (PDT) In-Reply-To: <87k55daftv.fsf@cyd.mit.edu> 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:110404 Archived-At: --Apple-Mail-37-51896335 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Apr 21, 2009, at 4:53 PM, Chong Yidong wrote: > David Reitter writes: > >> Without face-remapping and header line, I estimate the slowdown is >> about 20% for me, a noticeable difference. > > Try something for me: > > M-: (setq mode-line-format "") RET > > This removes everything from the mode-line. Does it make any > difference? I tried (setq mode-line-format) and it doesn't make a noticeable difference. I also tried (setq header-line-format "Hello"), which was reasonably fast. Removing various face properties set for parts of the header line seems to make it go faster. To recap, removing the more diverse face settings in face-remapping- alist helps, too. Also, removing font-locking helps. Given the evidence, I wonder 1. Is the header line is drawn more often than it should? (scrolling shouldn't redraw it). 2. Does changing / setting / finding faces now incur more of a penalty now compared to 22.3? --Apple-Mail-37-51896335 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFxDCCAn0w ggHmoAMCAQICED6shx13jEDrq0eL8FRq5ykwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV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