unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Yuri D'Elia <wavexx@thregr.org>
Cc: emacs-devel@gnu.org
Subject: Re: cc-mode: recent performance issues?
Date: Tue, 9 Nov 2021 18:12:08 +0000	[thread overview]
Message-ID: <YYq5+HFKi1j38uP1@ACM> (raw)
In-Reply-To: <87mtmd1drr.fsf@wavexx.thregr.org>

Hello, Yuri.

On Tue, Nov 09, 2021 at 17:42:48 +0100, Yuri D'Elia wrote:
> I noticed a relatively recent performance issue in cc-mode.

> Try opening the following attached file, which is a random c++ piece of
> code containing some template-heavy function repeated multiple times.

> In emacs -q -nw, try to scroll down a bit, then up. Emacs gets busy in a
> display loop.

> Under x11/lucid (emacs/lucid with NATIVE_FULL_AOT=1), it's a bit more
> responsive at first, but still gets stuck in the display loop to the
> point of being unusable after a few seconds.

I'm still diagnosing this.  As a temporary workaround, please try

    (setq c-type-finder-time-slot nil)

..

-- 
Alan Mackenzie (Nuremberg, Germany).



  parent reply	other threads:[~2021-11-09 18:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09 16:42 cc-mode: recent performance issues? Yuri D'Elia
2021-11-09 17:16 ` Eli Zaretskii
2021-11-09 18:12 ` Alan Mackenzie [this message]
2021-11-09 19:07   ` Yuri D'Elia

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=YYq5+HFKi1j38uP1@ACM \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=wavexx@thregr.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).