all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>
Cc: rt@robertthorpeconsulting.com, 44610@debbugs.gnu.org
Subject: bug#44610: 27.1; Keyboard Macro Performance Problem
Date: Sat, 14 Nov 2020 18:24:48 +0200	[thread overview]
Message-ID: <83a6vjvrcf.fsf@gnu.org> (raw)
In-Reply-To: <X6//v5qJKhJEH7ln@protected.rcdrun.com> (message from Jean Louis on Sat, 14 Nov 2020 19:03:11 +0300)

> Date: Sat, 14 Nov 2020 19:03:11 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: Robert Thorpe <rt@robertthorpeconsulting.com>,
>   44610@debbugs.gnu.org
> 
> I am not the initial reporter. I have tested it in python-mode in
> plain emacs -Q with the latest development version:
> 
> - command-execute                                          20,601,881  99%
>  - call-interactively                                      20,601,881  99%
>   - funcall-interactively                                  19,934,160  96%
>    - kmacro-end-or-call-macro                              15,337,767  74%
>     - kmacro-call-macro                                    15,337,767  74%
>      - call-last-kbd-macro                                 15,242,727  73%
>       - command-execute                                    15,102,838  73%
>        - call-interactively                                15,021,006  72%
>         - funcall-interactively                            14,985,294  72%
>          - next-line                                       13,970,433  67%
>           - line-move                                      13,968,321  67%
>            - line-move-visual                              12,842,225  62%
>             - vertical-motion                               9,925,619  48%
>              - jit-lock-function                            9,925,619  48%
>               - jit-lock-fontify-now                        9,925,619  48%
>                - jit-lock--run-functions                    7,165,300  34%
>                 - run-hook-wrapped                          7,157,012  34%
>                  - #<compiled 0x5b100c193163db5>            7,157,012  34%
>                   - font-lock-fontify-region                7,157,012  34%
>                    - font-lock-default-fontify-region       7,153,844  34%
>                     - font-lock-fontify-keywords-region     5,169,903  25%

Thanks, this seems to indicate that the mode's fontifications take the
lion's share of the time.  Which explains why Fundamental mode doesn't
suffer from this problem.





  reply	other threads:[~2020-11-14 16:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13  2:51 bug#44610: 27.1; Keyboard Macro Performance Problem Robert Thorpe
2020-11-13  8:55 ` Jean Louis
2020-11-14 14:26 ` Eli Zaretskii
2020-11-14 16:03   ` Jean Louis
2020-11-14 16:24     ` Eli Zaretskii [this message]
2020-11-14 16:50     ` Eli Zaretskii
2020-11-15 23:44   ` Robert Thorpe
2020-11-16 16:23     ` Eli Zaretskii
2020-11-16 17:50       ` Jean Louis
2020-11-18  5:22         ` Robert Thorpe

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

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

  git send-email \
    --in-reply-to=83a6vjvrcf.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=44610@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=rt@robertthorpeconsulting.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.