* cc-mode: recent performance issues?
@ 2021-11-09 16:42 Yuri D'Elia
2021-11-09 17:16 ` Eli Zaretskii
2021-11-09 18:12 ` Alan Mackenzie
0 siblings, 2 replies; 4+ messages in thread
From: Yuri D'Elia @ 2021-11-09 16:42 UTC (permalink / raw)
To: emacs-devel
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cc-mode: recent performance issues?
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
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2021-11-09 17:16 UTC (permalink / raw)
To: Yuri D'Elia; +Cc: emacs-devel
> From: Yuri D'Elia <wavexx@thregr.org>
> Date: Tue, 09 Nov 2021 17:42:48 +0100
>
> I noticed a relatively recent performance issue in cc-mode.
See bug#51692.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cc-mode: recent performance issues?
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
2021-11-09 19:07 ` Yuri D'Elia
1 sibling, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2021-11-09 18:12 UTC (permalink / raw)
To: Yuri D'Elia; +Cc: emacs-devel
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).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cc-mode: recent performance issues?
2021-11-09 18:12 ` Alan Mackenzie
@ 2021-11-09 19:07 ` Yuri D'Elia
0 siblings, 0 replies; 4+ messages in thread
From: Yuri D'Elia @ 2021-11-09 19:07 UTC (permalink / raw)
To: emacs-devel
On Tue, Nov 09 2021, Alan Mackenzie wrote:
>> 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)
Doesn't seem to make any difference with the file I attached earlier.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-09 19:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2021-11-09 19:07 ` Yuri D'Elia
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).