From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Kruse Newsgroups: gmane.emacs.devel Subject: Re: bug#2530: 23/NS: redraws according to mouse-face are slow Date: Thu, 14 Jan 2016 22:39:20 +0100 Message-ID: <87r3hjrgc7.fsf@motte.fritz.box> References: <4383E9F6-9B66-4DA4-AA3C-D602EB059B97@gmail.com> <139B721E-A1B4-4256-B202-D4472C0331FB@gmail.com> <87d4aowc1l.fsf@cyd.mit.edu> <2E6E5869-2F70-4AF5-A917-7EA863D6BD42@gmail.com> <1ACB40A8-4422-4B9A-A0F7-FE0B9C738299@gmail.com> <87ab5rvds7.fsf@cyd.mit.edu> <48600A00-7FAE-4B80-8B3D-6615230918AF@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1452807407 22662 80.91.229.3 (14 Jan 2016 21:36:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2016 21:36:47 +0000 (UTC) Cc: 2530@debbugs.gnu.org, Chong Yidong , Adrian Robert , Ian Eure , Emacs-Devel devel To: Andrew Hyatt , David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 14 22:36:37 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aJpZM-0004NN-Dj for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2016 22:36:36 +0100 Original-Received: from localhost ([::1]:44665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJpZL-0004os-03 for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2016 16:36:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJpZ7-0004ok-Nh for emacs-devel@gnu.org; Thu, 14 Jan 2016 16:36:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJpZ2-0003NW-Mp for emacs-devel@gnu.org; Thu, 14 Jan 2016 16:36:21 -0500 Original-Received: from jugulator.defunced.de ([89.238.65.41]:53833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJpZ2-0003MB-Dc for emacs-devel@gnu.org; Thu, 14 Jan 2016 16:36:16 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by jugulator.defunced.de (Postfix) with ESMTP id 23B30726E039; Thu, 14 Jan 2016 22:36:14 +0100 (CET) X-Virus-Scanned: amavisd-new at defunct.ch Original-Received: from jugulator.defunced.de ([127.0.0.1]) by localhost (painkiller.defunced.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zeFUAAteC7DS; Thu, 14 Jan 2016 22:36:13 +0100 (CET) Original-Received: from localhost (p54952D10.dip0.t-ipconnect.de [84.149.45.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by jugulator.defunced.de (Postfix) with ESMTPSA id 99E8F726E034; Thu, 14 Jan 2016 22:36:12 +0100 (CET) In-Reply-To: User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.238.65.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198160 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Andrew Hyatt writes: > There's a bunch of discussion before, in 2009, but as of now, for Emacs > 25, I don't notice any particular slowness on El Capitan. Can anyone > still reproduce a problem here? Compared to Linux (the Linux hardware is slower, a Notebook from 2011 and the OS X notebook is a Macbook Pro Retina from 2014), the OS X version is *pretty* slow. While everything I do with Emacs is nearly instant when using Linux there is a notably delay when using Emacs with OS X. The worst example is Magit, which I already profiled because it is *so* slow: when using Linux `magit-status` shows up instantly. It takes about 1.5 seconds when using OS X (hold it, I am aware that this is not the place to discuss Magit performance, it is just an example :-) Every buffer with lots of lines (e.g. a notmuch buffer with 26k mails, my archive of the pg-hackers list) is lightning fast when using Linux, but takes round about 30 seconds when using OS X. Although I=E2=80=99m not sure that it is only the rendering engine (of cour= se it could also be the elisp interpreter being slower) it occurs to me that it plays its part: especially redraw actions seem to be very slow. For example mu4e is unbearable slow when displaying maildirs with a lot of mails (e.g. the 26k mails maildir I mentioned above) but works fine for small mailboxes; and while the content of the maildir is loading, the buffer is flickering all the time as if it gets redrawn all the time. Best regards, =2D-=20 Christian Kruse https://wwwtech.de/about --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJWmBWIAAoJELjg80Kpmp1z6yEP/iUAkcI+VWOGmOZobhUJ7jKK BSW0BfO6oAt9ewjGXnTu13EITW4+hCNLeLIjPWy56z/wMPhYCXphuSFGIKUDKLj9 3tiPdaoQxMVvHiaV45ZcJEpgOwOLyFgSGgmbHqeLX3IikiM/fwaP49+2VaQ4bBPF OCB6anjxSKH7SIEIX/JWonkjSgRqq+ZfXGYarH4anXrLv4F1GtbGLdl6JxkM3WFi 8y8J0TabiaC4QwU2UyTxBLnMQM6LZ6SkB6Q1OCUumGw2dvYkMngBA1VP278kGHik ji58Xoog87dEdF+EN/JI9vh7Rli1fMexB4Wo8KoYONUJSQ/Ihm/TRGI4FgGQOlYa uDrXau/GBpk3XtRW4dqMkYx9KKw9xfAhjxq8V/4VO5IeAKxYUCjxcv874vHT/TAt 55U4trC1anmvtM9nTk11jQpoUv93W1jA1BOGBNhrTWOozyrIj3FJpLUGtQIAswG0 utMfQlRDfaY+b3ZV9/ML003xZqvYnIN0SJkJahxo8lr35A7+Hl3nXma30Bfsdniy 4GF7grfOpglaOzDa6OC/2GVdqrjVRLI6O7bP2LIzIwHq02bnAdNtNYjSqdEMwYaM 2d3w4leBGCg+Rh+vypfPeuscHTL7TwZDIUagR/S+69vn5USMhpJeSFI/XwbIGZ8/ fNUXGHBf3FITGEpONRpu =ZZM2 -----END PGP SIGNATURE----- --=-=-=--