[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some performance questions.

From: Ergus
Subject: Re: Some performance questions.
Date: Wed, 08 Feb 2023 21:56:31 +0100

Hi Eli:

Thanks for replying. Is the GC also improved by tree-sitter? Because it is taking a significant  part of the time, as you can see in my first mail.


On February 8, 2023 9:15:11 PM GMT+01:00, Eli Zaretskii <eliz@gnu.org> wrote:
Date: Wed, 08 Feb 2023 22:09:36 +0200
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org

71 45% Automatic GC
68 43% redisplay_internal

37 23% c-font-lock-declarations
20 12% c-font-lock-cut-off-declarators

I have not observed such lags before on GNU/Linux, so some idea what I
may be doing wrong?

I know Eli uses MS-Windows frequently, so, any hint?

Try using c-ts-mode instead (assuming this is Emacs 29 and it was
built with tree-sitter).

And if you cannot use tree-sitter, then try this:

(setq jit-lock-stealth-time 16)
(setq jit-lock-defer-contextually t)
(setq jit-lock-stealth-load 20)
Sent from my Android device with K-9 Mail. Please excuse my brevity.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]