[Top][All Lists]

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

bug#65760: 29.1; eglot performance issue

From: Ivan Sokolov
Subject: bug#65760: 29.1; eglot performance issue
Date: Tue, 05 Sep 2023 18:55:23 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

Глеб Смирнов <glebsmirnov0708@gmail.com> writes:

> The problem is that running eglot with rust-analyzer on my project
> causes major input lag. Profiling shows that the problem is in
> synchronous and slow function jsonrpc--log-event that is called on each
> server request or response. Disabling this function with (advice-add
> 'jsonrpc--log-event :override #'ignore) solves the problem.

To be more precise the problem is that jsonrpc--log-event is pretty
printing every reply from the server and they can be quite large and
nested.  I am attaching Gleb's profiler report, as a screenshot, but
this should be enough to give a better understanding of the problem.

Attachment: jsonrpc--log-event-profiler.jpg
Description: profiler report

reply via email to

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