unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 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

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).