unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexis <flexibeast@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Mark Hindley <mark@hindley.org.uk>,
	mbork@mbork.pl, 20611@debbugs.gnu.org
Subject: bug#20611: 24.4; mutt slow in ansi-term
Date: Mon, 11 Apr 2016 08:22:09 +1000	[thread overview]
Message-ID: <87fuut2jfy.fsf@gmail.com> (raw)
In-Reply-To: <83d1pxgzy6.fsf@gnu.org>


Eli Zaretskii <eliz@gnu.org> writes:
 
>> I have just tried alsamixer within ansi-term, and redraws in 
>> response to Ctrl-L take well over a second.
>
> Strange.  Does anyone else see this?

Context: Debian Jessie x86_64 / i5-2410M.

i also observe noticeable lag in the above situation, on both on 
24.5 and on master as at d6ea6453. The lag is worse on the latter 
than the former.

> Can you show a profile ("M-x profiler-start RET") of the slow 
> redraws?  Preferably with the latest pretest of Emacs 25.1, if 
> you can.

Running the profiler on master:

#+BEGIN
- term-emulate-terminal 
  4233  91% 
 - term-handle-ansi-escape 
 4065  87% 
  - term-goto 
  3965  85% 
   - term-down 
   970  20% 
    - vertical-motion 
    4   0% 
       jit-lock-function 
       4   0% 
   - vertical-motion 
   4   0% 
    - jit-lock-function 
    4   0% 
     - jit-lock-fontify-now 
     4   0% 
      - jit-lock--run-functions 
      4   0% 
       - run-hook-wrapped 
       4   0% 
        - #<compiled 0xa9010f> 
        4   0% 
         - font-lock-fontify-region 
         4   0% 
            font-lock-default-fontify-region 
            4   0% 
    term-insert-spaces 
    100   2% 
   redisplay 
   40   0% jit-lock-after-change 
   4   0% 
+ command-execute 
352   7% + ... 
29   0% 
  and 
  8   0% 
+ redisplay_internal (C function) 
4   0% + timer-event-handler 
2   0% #+END

Hth.


Alexis.





  reply	other threads:[~2016-04-10 22:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19  7:58 bug#20611: 24.4; mutt slow in ansi-term Mark Hindley
2016-04-08 18:10 ` Marcin Borkowski
2016-04-09  7:39   ` Mark Hindley
2016-04-09  9:38     ` Eli Zaretskii
2016-04-10  9:15       ` Mark Hindley
2016-04-10 17:01         ` Eli Zaretskii
2016-04-10 22:22           ` Alexis [this message]
2016-04-11 16:01             ` Eli Zaretskii
2016-04-12  7:59               ` Alexis
2016-04-12 15:27                 ` Eli Zaretskii
2016-04-13  0:22                   ` Alexis
2016-04-13  1:41                     ` Mark Hindley
2016-04-13  2:41                     ` Eli Zaretskii
2016-04-13  7:37                       ` Mark Hindley
2016-04-13  7:52                         ` Alexis
2016-04-13 14:56                           ` Eli Zaretskii
2016-04-15  8:13                             ` Alexis
2016-04-16 10:11                               ` Eli Zaretskii
2016-06-17 11:04 ` Phil Sainty
2016-06-17 13:27   ` Eli Zaretskii
2016-06-18  1:08     ` Phil Sainty
2016-06-18  8:10       ` Eli Zaretskii
2016-06-19 11:19         ` Phil Sainty
2016-06-26  0:50         ` Phil Sainty
2016-06-26 16:46           ` Eli Zaretskii

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=87fuut2jfy.fsf@gmail.com \
    --to=flexibeast@gmail.com \
    --cc=20611@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=mark@hindley.org.uk \
    --cc=mbork@mbork.pl \
    /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).