GNU bug report logs -
#65760
29.1; eglot performance issue
Previous Next
Full log
View this message in rfc822 format
On Tue, Sep 5, 2023 at 5:25 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> Adding João.
The troubleshooting section in the manual
https://joaotavora.github.io/eglot/#Troubleshooting-Eglot
has a heading specifically dedicated to these types of
performance problems:
"A common and easy-to-fix cause of performance problems is the length
of the Eglot events buffer because it represent additional work that Eglot
must do. After verifying Eglot is operating correctly but slowly, try
to customize the variable eglot-events-buffer-size (see Eglot
Variables) to 0. This will disable any debug logging and may speed
things up."
So, keeping a rich log and human-readable log is very useful for
debugging but can kill performance if servers send tons of JSON.
Maybe I could review the default value of eglot-events-buffer-size
or find a more fine-grained solution like some new foo-print-level
or foo-print-length variables, likely for jsonrpc.el. Suggestions
welcome. Patches doing this are even more welcome.
João
This bug report was last modified 1 year and 339 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.