From: Yuri D'Elia <wavexx@thregr.org>
To: emacs-devel@gnu.org
Subject: cc-mode: recent performance issues?
Date: Tue, 09 Nov 2021 17:42:48 +0100 [thread overview]
Message-ID: <87mtmd1drr.fsf@wavexx.thregr.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
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.
[-- Attachment #2: test.hpp.gz --]
[-- Type: application/gzip, Size: 217 bytes --]
next reply other threads:[~2021-11-09 16:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-09 16:42 Yuri D'Elia [this message]
2021-11-09 17:16 ` cc-mode: recent performance issues? Eli Zaretskii
2021-11-09 18:12 ` Alan Mackenzie
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=87mtmd1drr.fsf@wavexx.thregr.org \
--to=wavexx@thregr.org \
--cc=emacs-devel@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).