From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Hyatt Newsgroups: gmane.emacs.bugs Subject: bug#2530: 23/NS: redraws according to mouse-face are slow Date: Fri, 15 Jan 2016 23:15:58 -0500 Message-ID: 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> <87r3hjrgc7.fsf@motte.fritz.box> <837fjbgumi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1452917844 27313 80.91.229.3 (16 Jan 2016 04:17:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2016 04:17:24 +0000 (UTC) Cc: 2530@debbugs.gnu.org, ian@digg.com, Christian Kruse , david.reitter@gmail.com, cyd@stupidchicken.com, emacs-devel@gnu.org, adrian.b.robert@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 16 05:17:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1aKIIZ-0003Y2-CF for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jan 2016 05:17:11 +0100 Original-Received: from localhost ([::1]:49779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKIIY-0001Jl-KW for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jan 2016 23:17:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKIIU-0001Hf-OG for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2016 23:17:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKIIP-0007gI-Ue for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2016 23:17:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKIIP-0007gB-RR for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2016 23:17:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aKIIP-0000e9-JE for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2016 23:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jan 2016 04:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2530 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 2530-submit@debbugs.gnu.org id=B2530.14529177672416 (code B ref 2530); Sat, 16 Jan 2016 04:17:01 +0000 Original-Received: (at 2530) by debbugs.gnu.org; 16 Jan 2016 04:16:07 +0000 Original-Received: from localhost ([127.0.0.1]:50342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKIHX-0000ct-6L for submit@debbugs.gnu.org; Fri, 15 Jan 2016 23:16:07 -0500 Original-Received: from mail-qg0-f45.google.com ([209.85.192.45]:32994) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKIHV-0000cB-Hy for 2530@debbugs.gnu.org; Fri, 15 Jan 2016 23:16:05 -0500 Original-Received: by mail-qg0-f45.google.com with SMTP id b35so392851316qge.0 for <2530@debbugs.gnu.org>; Fri, 15 Jan 2016 20:16:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=qd6q1KnpRnn62gEDHflY/dA0RxTEnsQI8Xs5eAh5ATg=; b=HQw+hVXaxp+c7VxKWISSVVfDSeTvvGagpC6CNrz5Ef8xHt5N7V64s6vTM98MGwcQ9i SsJDqktKWtJrbqEdwF2INAK7INf6R5teW0PtrEw1AIMYrDl/342+wwe3+3wJYNPKLUon 3ZSfLJNujVOTHsZ468jJQPVEvLpCJsKC3Lo0UA8Lk1wzxj5hHXkQAKmaKRAQGKeumSVZ Ysz+ZXbB98xHjavuaXSOLnrHr7CaIpGINpygQ8KNaxwP4sBUgR4stvzm9RQuosTu7z0Z pXcBxAgBvCiquJ5hwPT4NiCougE96Aw5BhHKfV4oyI1sIyB/ULAmYm11/wommPX5aKp2 hj9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=qd6q1KnpRnn62gEDHflY/dA0RxTEnsQI8Xs5eAh5ATg=; b=mhZbNcl8636H+jDtwCcHcJ+POkEA22cMDT2YbqQHE25b5xavsDtj7NX2LsAMU7Fa1W Cw2MKJGDpioWup0Rz/5VvyGDBj7c7FhAD8cHLoaswbBaOkHg5CKUnu0FajTY/lNZj9r5 8QPAABadBJwBg/qtGzv7Urp05+MQgXyTiGWN+LSCrZk0REVuZ43pT0hQ3ay8OT3U7Lp5 usCY0GlrfX9Ddosle6nHHWR69p18idVzMRpjQUYYARict5PJGQt5Ph5AUmb62ScSJiwT 7qgdcKxHDs1UHOp64tJuunFLaxCT53vnUsQh/Qg6v7PWZiPcQjtd7rSJ4uph9MjQw5Qo Oydg== X-Gm-Message-State: ALoCoQl1TOjpTMNlEN/DCB4sH1q80pxGIzeL3vFNwH5arB3mPjxUdTvn+hBe98pVmZfMX+T0QLGw9SYz0Eeo8cd0MJUhqH3CSA== X-Received: by 10.140.216.20 with SMTP id m20mr18764236qhb.90.1452917760256; Fri, 15 Jan 2016 20:16:00 -0800 (PST) Original-Received: from Andrews-MacBook-Pro.local.ahyatt-laptop (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199]) by smtp.gmail.com with ESMTPSA id j23sm5796888qge.23.2016.01.15.20.15.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 20:15:59 -0800 (PST) In-Reply-To: <837fjbgumi.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 Jan 2016 09:38:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111662 Archived-At: It seems there is some agreement that there isn't a serious problem anymore. I'll close these bugs as doneunreproducible. Flickerings or slowness in elisp should probably be considered a different, separate bug. Eli Zaretskii writes: >> From: Christian Kruse >> Date: Thu, 14 Jan 2016 22:39:20 +0100 >> Cc: 2530@debbugs.gnu.org, Chong Yidong , >> Adrian Robert , >> Ian Eure , Emacs-Devel devel >>=20 >> 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. > > That's normal: GNU/Linux is significantly more efficient than other > modern OSes. Nothing related to Emacs, really. > >> 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. > > Sounds like you describe a situation that is file I/O extensive. If > so, again, there's little wonder you see much faster operation on > GNU/Linux. If you'd say the same about comparison with MS-Windows, > say, then it would be something worth investigating. > >> Although I=E2=80=99m not sure that it is only the rendering engine (of c= ourse 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. > > The flickering you describe can only be triggered by > platform-independent parts of the display engine, so again, this isn't > OS X or NS specific, AFAIU. > > Emacs comes with a trace-redisplay command (compiled only if you > configure Emacs --enable-testing=3D'yes,glyphs'), so if someone wants to > test the hypothesis that such flickering is specific to NS, they could > run the same scenario on OS X and on another system, after invoking > trace-redisplay, and compare the outputs. I'd expect them to be > identical (except for the addresses it prints).