GNU bug report logs - #25706
26.0.50; Slow C file fontification

Previous Next

Packages: emacs, cc-mode;

Reported by: Sujith <m.sujith <at> gmail.com>

Date: Mon, 13 Feb 2017 18:41:01 UTC

Severity: normal

Tags: moreinfo

Found in version 26.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #131 received at 25706 <at> debbugs.gnu.org (full text, mbox):

From: Ravine Var <ravine.var <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: Mattias EngdegÄrd <mattiase <at> acm.org>,
 Lars Ingebrigtsen <larsi <at> gnus.org>, 25706 <at> debbugs.gnu.org
Subject: Re: bug#25706: 26.0.50; Slow C file fontification
Date: Fri, 11 Dec 2020 16:25:20 +0530
Alan Mackenzie <acm <at> muc.de> writes:
> To fix this, can I ask you, please, to try adding the following patch to
> your already patched software, and let me know if it helps at all.  If
> it does, that's great, if not, could I ask you to do another profile for
> me on the less powerful machine, say by opening the buffer, starting the
> profiler, then moving to the middle of the buffer with C-u 5 M->.  This
> may take some time to profile.  Thanks!

Doing C-u 5 M-> just jumps to the middle immediately. The problem
happens when the file is opened and I start scrolling with C-v.
With the new patch, things are still bad - emacs freezes almost
instantly.

I tested with 3 patches applied from messages 35, 95 and 128.

Here's the profile with emacs -Q :

https://gist.github.com/ravine-var/48b3e1469ac5a7f3c3df8d6d9313661a




This bug report was last modified 4 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.