unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Froemling <ericfroemling@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17124@debbugs.gnu.org
Subject: bug#17124: 24.3.50; Occasional Extremely Slow Redraws in OSX Emacs
Date: Fri, 28 Mar 2014 09:19:41 -0700	[thread overview]
Message-ID: <7D2257F7-2E81-44C8-9DC7-6A837BF43DAB@gmail.com> (raw)
In-Reply-To: <83a9cayekp.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]

Hi Eli,
Thanks for the info.
I’ll try to take a look at CPU load next time.
Here’s a youtube vid (unlisted) of my example in case that’s something
you can view:
https://www.youtube.com/watch?v=FSAGh4ER_AE&feature=youtu.be
I’m definitely seeing delays between characters on individual lines, but also
even things like drawing the borders around all of the frame’s windows are
taking multiple frames.  In total, refreshing the whole UI takes about
30 seconds whereas it is usually pretty instantaneous.  It looks sort of
like the slow-motion-redraw you see in X11 on a box that is completely
swapped out, (though there is definitely no swapping going on in this case)
-Eric

On Mar 28, 2014, at 12:20 AM, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Eric Froemling <ericfroemling@gmail.com>
>> Date: Thu, 27 Mar 2014 14:23:28 -0700
>> 
>> I've been using various OSX emacs builds from http://emacsformacosx.com
>> for a few years now.  I'm on a 2012 Retina Macbook Pro 15".  Every so
>> often when I am resizing the emacs frame or window I get a single
>> extremely slow redraw.  Here's a screen-capture video I was able to 
>> take of one just now as it was occurring:
>> http://www.files.froemling.net/misc/SlowEmacs.mov
> 
> I cannot see that movie on my box.  Do you see delays between
> characters on the same screen lines, or is the delay between screen
> lines?
> 
>> I have not found a way to reliably reproduce these, though they happen
>> somewhat regularly when I am working.  Please let me know if there's
>> any other info I can provide or anything I can do on my end to help
>> get to the bottom of this.
> 
> Try to look at the CPU load when this happens, in particular if more
> than a single CPU core is busy (assuming you have a multi-core CPU).
> If more than one core us busy, it probably means that more than one
> thread is using the CPU (Emacs redisplay engine is single-threaded).


[-- Attachment #2: Type: text/html, Size: 2756 bytes --]

  reply	other threads:[~2014-03-28 16:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27 21:23 bug#17124: 24.3.50; Occasional Extremely Slow Redraws in OSX Emacs Eric Froemling
2014-03-28  7:20 ` Eli Zaretskii
2014-03-28 16:19   ` Eric Froemling [this message]
2014-03-28 17:43     ` Eli Zaretskii
2014-04-01  5:23       ` Eric Froemling
2014-04-01 15:03         ` Eli Zaretskii
2014-04-01 16:57           ` Eric Froemling
2014-06-27 10:44             ` Jan Djärv
2014-06-27 13:37               ` Eli Zaretskii
2014-06-27 17:13                 ` Jan Djärv
2014-06-27 17:30                   ` Eric Froemling
2014-06-27 19:58                     ` Eli Zaretskii
2014-06-27 19:57                   ` Eli Zaretskii
2014-06-30 12:55                     ` Jan Djärv
2014-06-30 14:45                       ` Eli Zaretskii
2014-03-29 12:20 ` Jan Djärv
2015-01-27 20:09 ` Bill Sacks
2016-02-10 19:25   ` bulldozer
2016-02-10 23:29     ` Alan Third
2016-02-11  0:26       ` bulldozer
2016-02-12  5:10       ` bulldozer
2016-02-12  7:21         ` Eli Zaretskii
2016-02-12 23:54           ` Alan Third
2020-09-09 12:30             ` bug#16594: " Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7D2257F7-2E81-44C8-9DC7-6A837BF43DAB@gmail.com \
    --to=ericfroemling@gmail.com \
    --cc=17124@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).